aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-TheSchwartz
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2012-08-31 09:34:08 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2012-08-31 09:34:08 +0000
commitdb11a18fe2f32638929bbcb5e7bcbebe6127af1b (patch)
tree78c4b6196885dc603e6cf2c0c6afbe110e62b00b /devel/p5-TheSchwartz
parent0e58b99472a47125e27f384e26c27b7291764cba (diff)
Notes
Diffstat (limited to 'devel/p5-TheSchwartz')
-rw-r--r--devel/p5-TheSchwartz/Makefile7
-rw-r--r--devel/p5-TheSchwartz/pkg-plist6
2 files changed, 12 insertions, 1 deletions
diff --git a/devel/p5-TheSchwartz/Makefile b/devel/p5-TheSchwartz/Makefile
index 4a612700e422..c4f1d5544cdd 100644
--- a/devel/p5-TheSchwartz/Makefile
+++ b/devel/p5-TheSchwartz/Makefile
@@ -7,6 +7,7 @@
PORTNAME= TheSchwartz
PORTVERSION= 1.10
+PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:SIXAPART
@@ -15,7 +16,7 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Reliable job queue
-BUILD_DEPENDS= p5-Data-ObjectDriver>=0:${PORTSDIR}/devel/p5-Data-ObjectDriver
+BUILD_DEPENDS= p5-Data-ObjectDriver>=0.04:${PORTSDIR}/devel/p5-Data-ObjectDriver
RUN_DEPENDS:= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
@@ -26,5 +27,9 @@ MAN3= TheSchwartz.3 TheSchwartz::Job.3 TheSchwartz::Worker.3
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/extras/check_schwartz ${PREFIX}/bin/
${INSTALL_SCRIPT} ${WRKSRC}/extras/thetop ${PREFIX}/bin/
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}/
+.endif
.include <bsd.port.mk>
diff --git a/devel/p5-TheSchwartz/pkg-plist b/devel/p5-TheSchwartz/pkg-plist
index fc95eaf12720..079954ab1fec 100644
--- a/devel/p5-TheSchwartz/pkg-plist
+++ b/devel/p5-TheSchwartz/pkg-plist
@@ -1,3 +1,4 @@
+@comment $FreeBSD$
bin/check_schwartz
bin/schwartzmon
bin/thetop
@@ -9,5 +10,10 @@ bin/thetop
%%SITE_PERL%%/TheSchwartz/Job.pm
%%SITE_PERL%%/TheSchwartz/JobHandle.pm
%%SITE_PERL%%/TheSchwartz/Worker.pm
+%%PORTDOCS%%%%DOCSDIR%%/http-mappings.txt
+%%PORTDOCS%%%%DOCSDIR%%/notes.txt
+%%PORTDOCS%%%%DOCSDIR%%/schema-postgres.sql
+%%PORTDOCS%%%%DOCSDIR%%/schema.sql
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrmtry %%SITE_PERL%%/TheSchwartz
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/TheSchwartz