opnsense-ports/comms/smstools3/files/patch-Makefile
Franco Fichtner 90158511f9 */*: sync with upstream
Taken from: FreeBSD
2016-11-04 23:07:26 +01:00

33 lines
689 B
Text

--- Makefile.orig 2007-04-22 11:42:22 UTC
+++ Makefile
@@ -2,21 +2,21 @@
# If you change destination of executables, remember to change
# startup script (init.d/sms3) too.
-BINDIR=/usr/local/bin
+BINDIR=%%STAGEDIR%%%%PREFIX%%/bin
VERSION=$(shell grep package_version src/version.h | cut -f2)
-compile:
- cd src && $(MAKE) -$(MAKEFLAGS)
+all:
+ cd src && $(MAKE)
-install: compile
- ./install.sh $(BINDIR)
+install:
+ $(SH) ./install.sh $(BINDIR)
uninstall:
- ./uninstall.sh $(BINDIR)
+ $(SH) ./uninstall.sh $(BINDIR)
clean:
- cd src && $(MAKE) -$(MAKEFLAGS) clean
+ cd src && $(MAKE) clean
-package: compile clean
- ./package.sh
+package: clean
+ $(SH) ./package.sh