You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
diff -u -r ../ne-3.1.0/makefile ./makefile
|
|
|
|
--- ../ne-3.1.0/makefile 2017-04-29 12:22:39.000000000 +0200
|
|
|
|
+++ ./makefile 2017-05-04 23:14:54.916199058 +0200
|
|
|
|
@@ -8,7 +8,7 @@
|
|
|
|
# and installed under the $(PREFIX) hierarchy. You can even use "make install PREFIX=$HOME/<dir>"
|
|
|
|
# to install ne locally into the directory <dir>.
|
|
|
|
|
|
|
|
-PREFIX=/usr/local
|
|
|
|
+PREFIX?=/usr/local
|
|
|
|
|
|
|
|
PROGRAM = ne
|
|
|
|
|
|
|
|
@@ -20,7 +20,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
build: docs
|
|
|
|
- ( cd src; make clean; make NE_GLOBAL_DIR=$(PREFIX)/share/ne; strip ne )
|
|
|
|
+ ( cd src; make clean; make NE_GLOBAL_DIR=$(PREFIX)/share/ne; $(STRIP) ne )
|
|
|
|
|
|
|
|
docs:
|
|
|
|
( cd doc; make )
|
|
|
|
@@ -82,7 +82,7 @@
|
|
|
|
ifneq ($(OS), Darwin)
|
|
|
|
$(error This target can only be run under Mac OS X)
|
|
|
|
endif
|
|
|
|
- ( cd src; make clean; make NE_GLOBAL_DIR=/usr/share/ne; strip ne )
|
|
|
|
+ ( cd src; make clean; make NE_GLOBAL_DIR=/usr/share/ne; $(STRIP) ne )
|
|
|
|
-rm -fr /tmp/package-ne-$(VERSION)
|
|
|
|
make install DESTDIR=/tmp/package-ne-$(VERSION)
|
|
|
|
pkgbuild --root /tmp/package-ne-$(VERSION) --install-location "/" --version $(VERSION) --identifier ne-$(VERSION) ne-$(VERSION).pkg
|