diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2014-02-18 20:04:14 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2014-02-18 20:04:14 +0800 |
commit | c036fe0b0fbb0a22f7b8297400c3fa429b7e4ff6 (patch) | |
tree | b70e151742652f1ee7365783edb7521de42a7c36 /irc | |
parent | a7e323ce2418d0ffd22c4f793d22798c75896d79 (diff) | |
download | freebsd-ports-gnome-c036fe0b0fbb0a22f7b8297400c3fa429b7e4ff6.tar.gz freebsd-ports-gnome-c036fe0b0fbb0a22f7b8297400c3fa429b7e4ff6.tar.zst freebsd-ports-gnome-c036fe0b0fbb0a22f7b8297400c3fa429b7e4ff6.zip |
Support staging
Diffstat (limited to 'irc')
-rw-r--r-- | irc/bnc/Makefile | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/irc/bnc/Makefile b/irc/bnc/Makefile index bf1f33100f2a..64fb8577b0ff 100644 --- a/irc/bnc/Makefile +++ b/irc/bnc/Makefile @@ -12,25 +12,22 @@ DISTNAME= ${PORTNAME}${PORTVERSION} MAINTAINER= douglas@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,@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 - -.include <bsd.port.post.mk> + ${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.mk> |