svn commit: r363653 - head/www/p5-WebService-NoPaste

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Thu Jul 31 18:54:20 UTC 2014


Author: sunpoet
Date: Thu Jul 31 18:54:19 2014
New Revision: 363653
URL: http://svnweb.freebsd.org/changeset/ports/363653
QAT: https://qat.redports.org/buildarchive/r363653/

Log:
  - Add LICENSE
  - Remove leading indefinite article from COMMENT
  - Sort *_DEPENDS
  - Convert to new options helper
  - Simplify Makefile
  - Sort PLIST
  - Remove Author line
  - Use single space after WWW:

Modified:
  head/www/p5-WebService-NoPaste/Makefile
  head/www/p5-WebService-NoPaste/pkg-descr
  head/www/p5-WebService-NoPaste/pkg-plist

Modified: head/www/p5-WebService-NoPaste/Makefile
==============================================================================
--- head/www/p5-WebService-NoPaste/Makefile	Thu Jul 31 18:54:12 2014	(r363652)
+++ head/www/p5-WebService-NoPaste/Makefile	Thu Jul 31 18:54:19 2014	(r363653)
@@ -8,31 +8,28 @@ MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
 
 MAINTAINER=	sunpoet at FreeBSD.org
-COMMENT=	A pastebin web application to upload snippets of text
+COMMENT=	Pastebin web application to upload snippets of text
+
+LICENSE=	ART10 GPLv1
+LICENSE_COMB=	dual
 
 BUILD_DEPENDS=	p5-IO-All>=0:${PORTSDIR}/devel/p5-IO-All \
-		p5-libwww>=0:${PORTSDIR}/www/p5-libwww \
-		p5-Spiffy>=0:${PORTSDIR}/devel/p5-Spiffy
+		p5-Spiffy>=0:${PORTSDIR}/devel/p5-Spiffy \
+		p5-libwww>=0:${PORTSDIR}/www/p5-libwww
 RUN_DEPENDS:=	${BUILD_DEPENDS}
 
-USES=		shebangfix perl5
-USE_PERL5=	configure
-SHEBANG_FILES=	nopaste
-
 OPTIONS_DEFINE=	X11
 X11_DESC=	X11 Clipboard support
 
-.include <bsd.port.options.mk>
+USE_PERL5=	configure
+USES=		shebangfix perl5
+
+SHEBANG_FILES=	nopaste
 
-.if ${PORT_OPTIONS:MX11}
-BUILD_DEPENDS+=	p5-Clipboard>=0:${PORTSDIR}/x11/p5-Clipboard
-.else
-EXTRA_PATCHES+=	${FILESDIR}/extrapatch-lib-WebService-NoPaste.pm
-.endif
+X11_BUILD_DEPENDS=	p5-Clipboard>=0:${PORTSDIR}/x11/p5-Clipboard
+X11_EXTRA_PATCHES_OFF=	${FILESDIR}/extrapatch-lib-WebService-NoPaste.pm
 
 post-patch:
-.if ! ${PORT_OPTIONS:MX11}
-	@${RM} ${WRKSRC}/lib/WebService/NoPaste.pm.orig
-.endif
+	-@${RM} ${WRKSRC}/lib/WebService/NoPaste.pm.orig
 
 .include <bsd.port.mk>

Modified: head/www/p5-WebService-NoPaste/pkg-descr
==============================================================================
--- head/www/p5-WebService-NoPaste/pkg-descr	Thu Jul 31 18:54:12 2014	(r363652)
+++ head/www/p5-WebService-NoPaste/pkg-descr	Thu Jul 31 18:54:19 2014	(r363653)
@@ -1,5 +1,4 @@
 A pastebin web application to upload snippets of text to a webserver. Pastebins
 are often used in IRC channels to show large amuonts of text.
 
-Author:	Ryan King <rking at panoptic.com>
-WWW:	http://search.cpan.org/dist/WebService-NoPaste/
+WWW: http://search.cpan.org/dist/WebService-NoPaste/

Modified: head/www/p5-WebService-NoPaste/pkg-plist
==============================================================================
--- head/www/p5-WebService-NoPaste/pkg-plist	Thu Jul 31 18:54:12 2014	(r363652)
+++ head/www/p5-WebService-NoPaste/pkg-plist	Thu Jul 31 18:54:19 2014	(r363653)
@@ -1,7 +1,7 @@
 bin/nopaste
-%%PERL5_MAN3%%/WebService::NoPaste.3.gz
 %%SITE_PERL%%/WebService/NoPaste.pm
- at dirrmtry %%SITE_PERL%%/WebService
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/WebService/NoPaste/.packlist
+%%PERL5_MAN3%%/WebService::NoPaste.3.gz
 @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/WebService/NoPaste
 @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/WebService
+ at dirrmtry %%SITE_PERL%%/WebService


More information about the svn-ports-all mailing list