aboutsummaryrefslogtreecommitdiffstats
path: root/irc
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
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')
-rw-r--r--irc/bitchx/Makefile10
-rw-r--r--irc/bitchx/pkg-plist1
2 files changed, 5 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)
diff --git a/irc/bitchx/pkg-plist b/irc/bitchx/pkg-plist
index 4bfa5d367745..0203ffb9f548 100644
--- a/irc/bitchx/pkg-plist
+++ b/irc/bitchx/pkg-plist
@@ -2,6 +2,7 @@
bin/BitchX
bin/BitchX-%%DISTVERSION%%
bin/scr-bx
+man/man1/BitchX.1.gz
%%DATADIR%%/BitchX.help
%%DATADIR%%/BitchX.ircnames
%%DATADIR%%/BitchX.quit