aboutsummaryrefslogtreecommitdiffstats
path: root/irc/bitchx/Makefile
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2014-04-05 04:52:06 +0800
committerrene <rene@FreeBSD.org>2014-04-05 04:52:06 +0800
commita8423bf7e93761bead02d4f33f83a3d263f15442 (patch)
treee12acb5025dd65439e96a266c9efbd50de63b07f /irc/bitchx/Makefile
parenteaeb66bc0114acecbb6eb70867efca7f3b7185ea (diff)
downloadfreebsd-ports-gnome-a8423bf7e93761bead02d4f33f83a3d263f15442.tar.gz
freebsd-ports-gnome-a8423bf7e93761bead02d4f33f83a3d263f15442.tar.zst
freebsd-ports-gnome-a8423bf7e93761bead02d4f33f83a3d263f15442.zip
Add stage support
PR: ports/188076 Submitted by: Danilo G. Baio <dbaio@bsd.com.br> Approved by: Dan Mashal <dan.mashal@gmail.com> (maintainer)
Diffstat (limited to 'irc/bitchx/Makefile')
-rw-r--r--irc/bitchx/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/irc/bitchx/Makefile b/irc/bitchx/Makefile
index 950c8b075456..24a3b0e2d4be 100644
--- a/irc/bitchx/Makefile
+++ b/irc/bitchx/Makefile
@@ -25,7 +25,6 @@ PLIST_SUB+= DISTVERSION=${DISTVERSION}
DOCSDIR= ${PREFIX}/share/bx/help
PORTDOCS= *
DATADIR= ${PREFIX}/share/bx
-MAN1= BitchX.1
OPTIONS_DEFINE= IPV6 LATIN PLUGINS SSL DOCS
@@ -34,7 +33,6 @@ PLUGINS_DESC= Build a handful of BitchX plugins
OPTIONS_DEFAULT=PLUGINS SSL
-NO_STAGE= yes
MAKE_JOBS_UNSAFE= yes
.include <bsd.port.options.mk>
@@ -68,11 +66,11 @@ post-patch:
${REINPLACE_CMD} -e 's|bzip2|true|g' ${WRKSRC}/Makefile.in
post-install:
- ${STRIP_CMD} ${PREFIX}/bin/BitchX
- ${STRIP_CMD} ${PREFIX}/bin/scr-bx
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/BitchX
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/scr-bx
.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- cd ${WRKSRC}/bitchx-docs && ${COPYTREE_SHARE} . ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC}/bitchx-docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
.endif
# Ensure that `@dirrm share/bx' will be appended last (after PORTDOCS stuff)