Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Dec 2007 20:33:27 GMT
From:      Douglas Menezes <douglas@t2web.com.br>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/119117: [UPDATE] mastersite
Message-ID:  <200712282033.lBSKXRxk028900@www.freebsd.org>
Resent-Message-ID: <200712282040.lBSKe1ro024354@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         119117
>Category:       ports
>Synopsis:       [UPDATE] mastersite
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 28 20:40:00 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Douglas Menezes
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
T2Web Consultoria
>Environment:
FreeBSD hetmofly.voesi.com.br 6.2-STABLE FreeBSD 6.2-STABLE #1: Tue Jun 12 02:43:52 BRT 2007     root@hetmofly.voesi.com.br:/usr/obj/usr/src/sys/HETMOFLY  i386
>Description:
- Changed MAINTAINER for me
- MASTER_SITES updated, please, read the NOTE below:
NOTE: The official website is temporarily offline.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/irc/bnc/Makefile,v
retrieving revision 1.15
diff -u -r1.15 Makefile
--- Makefile	18 Mar 2006 22:21:51 -0000	1.15
+++ Makefile	28 Dec 2007 20:32:07 -0000
@@ -8,23 +8,31 @@
 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
-
-.include <bsd.port.mk>
+	@${INSTALL_PROGRAM} ${BINS:S,^,${WRKSRC}/,} ${PREFIX}/bin
+	@${INSTALL_SCRIPT} ${SCRIPTS:S,^,${WRKSRC}/,} ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${DOCSDIR}
+	@${INSTALL_DATA} ${WRKSRC}/example.conf ${PREFIX}/etc/bnc.conf.sample
+	@${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
+.endif
+.include <bsd.port.post.mk>
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/irc/bnc/pkg-plist,v
retrieving revision 1.2
diff -u -r1.2 pkg-plist
--- pkg-plist	16 May 1999 23:07:32 -0000	1.2
+++ pkg-plist	28 Dec 2007 20:32:07 -0000
@@ -3,3 +3,7 @@
 bin/bncsetup
 bin/mkpasswd
 etc/bnc.conf.sample
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/Changelog
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712282033.lBSKXRxk028900>