diff options
author | miwi <miwi@FreeBSD.org> | 2008-01-21 20:39:52 +0000 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2008-01-21 20:39:52 +0000 |
commit | 38b03b32bb1d90ff92fbc0d9b647ed46b2c9b7dd (patch) | |
tree | 6a2f93aa59c2f1867f2b8b3a522d367105cb0929 /irc | |
parent | 58e2e530e4d901251ad33ae0f716d401d5b76e50 (diff) | |
download | FreeBSD-ports-38b03b32bb1d90ff92fbc0d9b647ed46b2c9b7dd.zip FreeBSD-ports-38b03b32bb1d90ff92fbc0d9b647ed46b2c9b7dd.tar.gz |
- Update MASTER_SITES
- Respect NOPORTDOCS
- Pass maintainership to submitter
PR: 119117
Submitted by: Douglas Menezes <douglas@t2web.com.br>
Diffstat (limited to 'irc')
-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 2471542..e287f02 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 89bf639..7d84f91 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%% |