aboutsummaryrefslogtreecommitdiff
path: root/net/boclient
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-06-09 13:06:35 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-06-09 13:06:35 +0000
commit21c42756ea09846e39e412568db325da4467467a (patch)
tree3153cd1fff1aead55d46cc1721d51bcbaf24e592 /net/boclient
parent7835ef9fdcc98dfb79a45390c850733852e4d361 (diff)
downloadports-21c42756ea09846e39e412568db325da4467467a.tar.gz
ports-21c42756ea09846e39e412568db325da4467467a.zip
Stagify.
Notes
Notes: svn path=/head/; revision=357145
Diffstat (limited to 'net/boclient')
-rw-r--r--net/boclient/Makefile6
-rw-r--r--net/boclient/files/patch-Makefile.in11
2 files changed, 12 insertions, 5 deletions
diff --git a/net/boclient/Makefile b/net/boclient/Makefile
index 4b115fd00961..703d4d5c4062 100644
--- a/net/boclient/Makefile
+++ b/net/boclient/Makefile
@@ -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>
diff --git a/net/boclient/files/patch-Makefile.in b/net/boclient/files/patch-Makefile.in
new file mode 100644
index 000000000000..1c672425732f
--- /dev/null
+++ b/net/boclient/files/patch-Makefile.in
@@ -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: