1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Add stage support

PR:		ports/188076
Submitted by:	Danilo G. Baio <dbaio@bsd.com.br>
Approved by:	Dan Mashal <dan.mashal@gmail.com> (maintainer)
This commit is contained in:
Rene Ladan 2014-04-04 20:52:06 +00:00
parent a9eaceffbb
commit f94798f730
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350166
2 changed files with 5 additions and 6 deletions

View File

@ -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)

View File

@ -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