svn commit: r344872 - head/irc/bnc
Emanuel Haupt
ehaupt at FreeBSD.org
Tue Feb 18 12:04:14 UTC 2014
Author: ehaupt
Date: Tue Feb 18 12:04:14 2014
New Revision: 344872
URL: http://svnweb.freebsd.org/changeset/ports/344872
QAT: https://qat.redports.org/buildarchive/r344872/
Log:
Support staging
Modified:
head/irc/bnc/Makefile
Modified: head/irc/bnc/Makefile
==============================================================================
--- head/irc/bnc/Makefile Tue Feb 18 12:02:00 2014 (r344871)
+++ head/irc/bnc/Makefile Tue Feb 18 12:04:14 2014 (r344872)
@@ -12,25 +12,22 @@ DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= douglas at t2web.com.br
COMMENT= A simple IRC relay proxy with support for virtual hosting
-GNU_CONFIGURE= YES
+GNU_CONFIGURE= yes
DOCS= COPYING Changelog README example.conf
BINS= bnc mkpasswd
SCRIPTS= bncchk bncsetup
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
+OPTIONS_DEFINE= DOCS
post-patch:
${SED} -e 's, at PREFIX@,${PREFIX},g' ${WRKSRC}/bncsetup
do-install:
- @${INSTALL_PROGRAM} ${BINS:S,^,${WRKSRC}/,} ${PREFIX}/bin
- @${INSTALL_SCRIPT} ${SCRIPTS:S,^,${WRKSRC}/,} ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
-.endif
- @${INSTALL_DATA} ${WRKSRC}/example.conf ${PREFIX}/etc/bnc.conf.sample
+ ${INSTALL_PROGRAM} ${BINS:S,^,${WRKSRC}/,} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${SCRIPTS:S,^,${WRKSRC}/,} ${STAGEDIR}${PREFIX}/bin
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/example.conf ${STAGEDIR}${PREFIX}/etc/bnc.conf.sample
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
More information about the svn-ports-all
mailing list