ports/189506: [PATCH] dns/p5-DNS-Zone: Aded LICENSE & OPTIONSNG, take maintainership

Muhammad Moinur Rahman 5u623l20 at gmail.com
Fri May 9 13:00:01 UTC 2014


>Number:         189506
>Category:       ports
>Synopsis:       [PATCH] dns/p5-DNS-Zone: Aded LICENSE & OPTIONSNG, take maintainership
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 09 13:00:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Muhammad Moinur Rahman
>Release:        FreeBSD 11.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD bofh.1asiacom.net 11.0-CURRENT FreeBSD 11.0-CURRENT #1 r263870: Fri Mar 28 16:37:49 BDT
>Description:
- Added LICENSE
- Converted to OPTIONSNG
- Take maintainership

Generated with FreeBSD Port Tools 1.02 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:

--- p5-DNS-Zone-0.85.patch begins here ---
diff -ruN /usr/ports//dns/p5-DNS-Zone/Makefile ./Makefile
--- /usr/ports//dns/p5-DNS-Zone/Makefile	2013-11-03 13:46:27.000000000 +0600
+++ ./Makefile	2014-05-09 18:57:06.239255391 +0600
@@ -3,24 +3,30 @@
 
 PORTNAME=	DNS-Zone
 PORTVERSION=	0.85
-PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	dns perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
 
-MAINTAINER=	ports at FreeBSD.org
+MAINTAINER=	5u623l20 at gmail.com
 COMMENT=	DNS::Zone is set of perl modules for name service zone files
 
+LICENSE=	ART10 GPLv1
+LICENSE_COMB=	dual
+
+OPTIONS_DEFINE=	DOCS
+
 USES=		perl5
 USE_PERL5=	configure patch
 
+.include <bsd.port.options.mk>
 post-patch:
 	${FIND} ${WRKSRC} -name '*.pm' -o -name '*.t' -o -name '*.PL' | \
 	${XARGS} ${PERL} -pi -e '$$_="" if /^use 5/;' \
 			     -e '$$_="" if /(use|no) warnings/;'
 
 post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 .endif
--- p5-DNS-Zone-0.85.patch ends here ---

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


More information about the freebsd-ports-bugs mailing list