diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2008-01-21 20:39:52 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2008-01-21 20:39:52 +0000 |
commit | 5d002ad52868d9519e2cc5632002f3801934a39e (patch) | |
tree | d3fd954e4a43cf93c965ba3ea924500ba1d57b2d /irc/bnc | |
parent | 812ca5b14d04be0abda460fccb1212a638088f44 (diff) | |
download | ports-5d002ad52868d9519e2cc5632002f3801934a39e.tar.gz ports-5d002ad52868d9519e2cc5632002f3801934a39e.zip |
- Update MASTER_SITES
- Respect NOPORTDOCS
- Pass maintainership to submitter
PR: 119117
Submitted by: Douglas Menezes <douglas@t2web.com.br>
Notes
Notes:
svn path=/head/; revision=205994
Diffstat (limited to 'irc/bnc')
-rw-r--r-- | irc/bnc/Makefile | 29 | ||||
-rw-r--r-- | irc/bnc/pkg-plist | 5 |
2 files changed, 24 insertions, 10 deletions
diff --git a/irc/bnc/Makefile b/irc/bnc/Makefile index 24715426c5c1..e287f0289cbf 100644 --- a/irc/bnc/Makefile +++ b/irc/bnc/Makefile @@ -8,23 +8,32 @@ PORTNAME= bnc PORTVERSION= 2.9.4 CATEGORIES= irc -MASTER_SITES= http://www.gotbnc.com/files/ +MASTER_SITES= http://home.risingnet.net/download/ \ + http://bnc.acmeshells.com/ \ + http://www.sourcefiles.org/System/Servers/ DISTNAME= ${PORTNAME}${PORTVERSION} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= douglas@t2web.com.br COMMENT= A simple IRC relay proxy with support for virtual hosting GNU_CONFIGURE= YES +DOCS= COPYING Changelog README example.conf +BINS= bnc mkpasswd +SCRIPTS= bncchk bncsetup + +.include <bsd.port.pre.mk> + post-patch: - ${SED} 's,@PREFIX@,${PREFIX},g' ${WRKSRC}/bncsetup > ${WRKSRC}/bncsetup.new - ${MV} ${WRKSRC}/bncsetup.new ${WRKSRC}/bncsetup + ${SED} -e 's,@PREFIX@,${PREFIX},g' ${WRKSRC}/bncsetup do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/bnc ${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/bncchk ${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/bncsetup ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/mkpasswd ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/example.conf ${PREFIX}/etc/bnc.conf.sample + @${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}/ + @${INSTALL_DATA} ${WRKSRC}/example.conf ${PREFIX}/etc/bnc.conf.sample +.endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/irc/bnc/pkg-plist b/irc/bnc/pkg-plist index 89bf639d9aa4..7d84f91073f7 100644 --- a/irc/bnc/pkg-plist +++ b/irc/bnc/pkg-plist @@ -3,3 +3,8 @@ bin/bncchk bin/bncsetup bin/mkpasswd etc/bnc.conf.sample +%%PORTDOCS%%%%DOCSDIR%%/example.conf +%%PORTDOCS%%%%DOCSDIR%%/COPYING +%%PORTDOCS%%%%DOCSDIR%%/Changelog +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%@dirrm %%DOCSDIR%% |