1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00
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: