Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Jul 2014 18:50:02 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r360967 - head/devel/p5-BS-Event
Message-ID:  <201407061850.s66Io2G5054416@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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
-@dirrmtry %%SITE_PERL%%/BS
-@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/BS/Event
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/BS/Event
 @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/BS
-@dirrmtry %%EXAMPLESDIR%%
+@dirrmtry %%SITE_PERL%%/BS



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