svn commit: r360967 - head/devel/p5-BS-Event

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun Jul 6 18:50:03 UTC 2014


Author: sunpoet
Date: Sun Jul  6 18:50:01 2014
New Revision: 360967
URL: http://svnweb.freebsd.org/changeset/ports/360967
QAT: https://qat.redports.org/buildarchive/r360967/

Log:
  - Add LICENSE
  - Add EXAMPLES to OPTIONS_DEFINE
  - Sort PLIST
  - Reformat pkg-descr
  - Use single space after WWW:

Modified:
  head/devel/p5-BS-Event/Makefile
  head/devel/p5-BS-Event/pkg-descr
  head/devel/p5-BS-Event/pkg-plist

Modified: head/devel/p5-BS-Event/Makefile
==============================================================================
--- head/devel/p5-BS-Event/Makefile	Sun Jul  6 18:49:56 2014	(r360966)
+++ head/devel/p5-BS-Event/Makefile	Sun Jul  6 18:50:01 2014	(r360967)
@@ -11,11 +11,18 @@ PKGNAMEPREFIX=	p5-
 MAINTAINER=	sunpoet at FreeBSD.org
 COMMENT=	Class that provides an event callback interface
 
-USES=		perl5
+LICENSE=	ART10 GPLv1
+LICENSE_COMB=	dual
+
+OPTIONS_DEFINE=	EXAMPLES
+
 USE_PERL5=	configure
+USES=		perl5
+
+PORTEXAMPLES=	simple_example
 
 post-install:
-	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-	${INSTALL_SCRIPT} ${WRKSRC}/samples/simple_example ${STAGEDIR}${EXAMPLESDIR}
+	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
+	${INSTALL_SCRIPT} ${WRKSRC}/samples/simple_example ${STAGEDIR}${EXAMPLESDIR}/
 
 .include <bsd.port.mk>

Modified: head/devel/p5-BS-Event/pkg-descr
==============================================================================
--- head/devel/p5-BS-Event/pkg-descr	Sun Jul  6 18:49:56 2014	(r360966)
+++ head/devel/p5-BS-Event/pkg-descr	Sun Jul  6 18:50:01 2014	(r360967)
@@ -1,6 +1,6 @@
-This module was mainly written for Net::XMPP2, Net::IRC3 and BS to
-provide a consistent API for registering and emitting events. Even
-though I originally wrote it for those modules I released it separately
-in case anyone may find this module useful.
+This module was mainly written for Net::XMPP2, Net::IRC3 and BS to provide a
+consistent API for registering and emitting events. Even though I originally
+wrote it for those modules I released it separately in case anyone may find this
+module useful.
 
-WWW:	http://search.cpan.org/dist/BS-Event/
+WWW: http://search.cpan.org/dist/BS-Event/

Modified: head/devel/p5-BS-Event/pkg-plist
==============================================================================
--- head/devel/p5-BS-Event/pkg-plist	Sun Jul  6 18:49:56 2014	(r360966)
+++ head/devel/p5-BS-Event/pkg-plist	Sun Jul  6 18:50:01 2014	(r360967)
@@ -1,8 +1,6 @@
-%%EXAMPLESDIR%%/simple_example
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/BS/Event/.packlist
 %%SITE_PERL%%/BS/Event.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/BS/Event/.packlist
 %%PERL5_MAN3%%/BS::Event.3.gz
- at dirrmtry %%SITE_PERL%%/BS
- at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/BS/Event
+ at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/BS/Event
 @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/BS
- at dirrmtry %%EXAMPLESDIR%%
+ at dirrmtry %%SITE_PERL%%/BS


More information about the svn-ports-all mailing list