This commit is contained in:
Vanilla I. Shu 2014-06-09 13:06:35 +00:00
parent 7835ef9fdc
commit 21c42756ea
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357145
2 changed files with 12 additions and 5 deletions

View file

@ -14,11 +14,7 @@ PLIST_FILES= bin/bounix
WRKSRC= ${WRKDIR}/bo
GNU_CONFIGURE= yes
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/Makefile.in
post-install:
${STRIP_CMD} ${PREFIX}/bin/bounix
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/bounix
.include <bsd.port.mk>

View file

@ -0,0 +1,11 @@
--- Makefile.in.orig 2014-06-09 18:03:32.820418765 +0800
+++ Makefile.in 2014-06-09 18:03:44.724423559 +0800
@@ -6,7 +6,7 @@ all: bounix
clean:
rm *.o bounix
install:
- $(INSTALL) bounix /usr/local/bin/bounix
+ $(INSTALL) bounix $(DESTDIR)${PREFIX}/bin/bounix
distclean:
rm *.o bounix config.status config.cache config.log config.h Makefile
.o: