- Support staging

- Define DOCS option
This commit is contained in:
Emanuel Haupt 2014-03-18 13:30:54 +00:00
parent 64fd149d81
commit a25b679c74
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348543
2 changed files with 7 additions and 8 deletions

View File

@ -12,18 +12,17 @@ COMMENT= Check given IP/Host presence in 106 RBLs
BUILD_DEPENDS= p5-Net-DNS>=0:${PORTSDIR}/dns/p5-Net-DNS \
p5-Term-ANSIColor>=0:${PORTSDIR}/devel/p5-Term-ANSIColor
NO_BUILD= yes
USES= perl5
NO_BUILD= yes
PLIST_FILES= bin/rbllookup
PORTDOCS= CHANGELOG INSTALL NOTES README TODO gpg.asc
NO_STAGE= yes
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/rbl.pl ${PREFIX}/bin/rbllookup
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
cd ${WRKDIR} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
${INSTALL_SCRIPT} ${WRKDIR}/rbl.pl ${STAGEDIR}${PREFIX}/bin/rbllookup
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKDIR} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View File

@ -9,4 +9,4 @@ Also, author looking for support from programmers for ideas, codefix, new
features, switch to c/c++, gui version?
Author: Marcin Gondek <drixter@e-utp.net>
WWW: http://rbllookup.sourceforge.net
WWW: http://rbllookup.sourceforge.net