aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-07-07 02:50:01 +0800
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-07-07 02:50:01 +0800
commit28b9a01f15bc3448f1b5d5bb3ca0e8b01d425bd3 (patch)
tree7d7d0c628149ffdafdca40f441e8f1f7807e9066 /devel
parenta4de6be18bdfccced416cf0064b3855a880e46e0 (diff)
downloadfreebsd-ports-gnome-28b9a01f15bc3448f1b5d5bb3ca0e8b01d425bd3.tar.gz
freebsd-ports-gnome-28b9a01f15bc3448f1b5d5bb3ca0e8b01d425bd3.tar.zst
freebsd-ports-gnome-28b9a01f15bc3448f1b5d5bb3ca0e8b01d425bd3.zip
- Add LICENSE
- Add EXAMPLES to OPTIONS_DEFINE - Sort PLIST - Reformat pkg-descr - Use single space after WWW:
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-BS-Event/Makefile13
-rw-r--r--devel/p5-BS-Event/pkg-descr10
-rw-r--r--devel/p5-BS-Event/pkg-plist8
3 files changed, 18 insertions, 13 deletions
diff --git a/devel/p5-BS-Event/Makefile b/devel/p5-BS-Event/Makefile
index 752851aa092c..13f78d717c59 100644
--- a/devel/p5-BS-Event/Makefile
+++ b/devel/p5-BS-Event/Makefile
@@ -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>
diff --git a/devel/p5-BS-Event/pkg-descr b/devel/p5-BS-Event/pkg-descr
index 10e434936978..8c034a964f60 100644
--- a/devel/p5-BS-Event/pkg-descr
+++ b/devel/p5-BS-Event/pkg-descr
@@ -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/
diff --git a/devel/p5-BS-Event/pkg-plist b/devel/p5-BS-Event/pkg-plist
index 91c8ebc099d8..01230d3bd037 100644
--- a/devel/p5-BS-Event/pkg-plist
+++ b/devel/p5-BS-Event/pkg-plist
@@ -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