summaryrefslogtreecommitdiff
path: root/irc/bnc
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-18 12:04:14 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-18 12:04:14 +0000
commit7a68a48d34a17885cec842d9bf392a47023f7f8b (patch)
treeb70e151742652f1ee7365783edb7521de42a7c36 /irc/bnc
parentSupport staging (diff)
Support staging
Notes
Notes: svn path=/head/; revision=344872
Diffstat (limited to 'irc/bnc')
-rw-r--r--irc/bnc/Makefile21
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>