aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-POE-Component-Daemon/Makefile49
-rw-r--r--devel/p5-POE-Component-Daemon/distinfo3
-rw-r--r--devel/p5-POE-Component-Daemon/pkg-descr5
-rw-r--r--devel/p5-POE-Component-Daemon/pkg-plist13
4 files changed, 70 insertions, 0 deletions
diff --git a/devel/p5-POE-Component-Daemon/Makefile b/devel/p5-POE-Component-Daemon/Makefile
new file mode 100644
index 000000000000..ffb2eb28727d
--- /dev/null
+++ b/devel/p5-POE-Component-Daemon/Makefile
@@ -0,0 +1,49 @@
+# New ports collection makefile for: devel/p5-POE-Component-Daemon
+# Date created: 24 February 2006
+# Whom: Zach Thompson <hideo@lastamericanempire.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= POE-Component-Daemon
+PORTVERSION= 0.10
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= POE
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= hideo@lastamericanempire.com
+COMMENT= Handles all the housework for a daemon in POE
+
+BUILD_DEPENDS= ${SITE_PERL}/POE/API/Peek.pm:${PORTSDIR}/devel/p5-POE-API-Peek \
+ ${SITE_PERL}/POE.pm:${PORTSDIR}/devel/p5-POE
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= POE::Component::Daemon.3
+
+.include <bsd.port.pre.mk>
+
+PORTDOCS= *
+
+.if ${PERL_LEVEL} < 500601
+IGNORE= perl 5.6.1 or newer required. Install lang/perl5 or lang/perl5.8 and try again
+.endif
+
+post-install:
+ @${MKDIR} ${EXAMPLESDIR}
+ @for i in ${WRKSRC}/*forking; do \
+ ${PERL} -pi -e '$$_ = undef if m{use FindBin}o;' \
+ -e 's{.FindBin::Dir(.+)$$}{/tmp$$1\nwarn "Logging to \$$logfile\\n";}o' $${i}; \
+ ${INSTALL_SCRIPT} $${i} ${EXAMPLESDIR}; \
+ done
+
+.ifndef(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ @for i in ${WRKSRC}/*.png; do \
+ ${INSTALL_DATA} $${i} ${DOCSDIR}; \
+ done
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-POE-Component-Daemon/distinfo b/devel/p5-POE-Component-Daemon/distinfo
new file mode 100644
index 000000000000..2c3c8f082761
--- /dev/null
+++ b/devel/p5-POE-Component-Daemon/distinfo
@@ -0,0 +1,3 @@
+MD5 (POE-Component-Daemon-0.10.tar.gz) = 1405dddb8a7b7cd6d269cfdfb45939ee
+SHA256 (POE-Component-Daemon-0.10.tar.gz) = ad545279ba401143ca335bce9415b5527666f58ebcda0a4bf31931cf0347733e
+SIZE (POE-Component-Daemon-0.10.tar.gz) = 61064
diff --git a/devel/p5-POE-Component-Daemon/pkg-descr b/devel/p5-POE-Component-Daemon/pkg-descr
new file mode 100644
index 000000000000..808923ffe573
--- /dev/null
+++ b/devel/p5-POE-Component-Daemon/pkg-descr
@@ -0,0 +1,5 @@
+Dealing with all the little details of a forking daemon can be annoying and
+hard. POE::Component::Daemon encapsulates all the details into one place
+and (hopefully) gets them right.
+
+WWW: http://search.cpan.org/dist/POE-Component-Daemon/
diff --git a/devel/p5-POE-Component-Daemon/pkg-plist b/devel/p5-POE-Component-Daemon/pkg-plist
new file mode 100644
index 000000000000..860a5448a93a
--- /dev/null
+++ b/devel/p5-POE-Component-Daemon/pkg-plist
@@ -0,0 +1,13 @@
+%%SITE_PERL%%/POE/Component/Daemon.pm
+%%SITE_PERL%%/POE/Component/Daemon/Scoreboard.pm
+%%SITE_PERL%%/POE/Component/Daemon/ScoreboardSemaphore.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/Daemon/.packlist
+%%EXAMPLESDIR%%/forking
+%%EXAMPLESDIR%%/preforking
+@dirrm %%EXAMPLESDIR%%
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/Daemon
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE
+@dirrmtry %%SITE_PERL%%/POE/Component/Daemon
+@dirrmtry %%SITE_PERL%%/POE/Component
+@dirrmtry %%SITE_PERL%%/POE