aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2012-06-16 00:34:18 +0800
committersunpoet <sunpoet@FreeBSD.org>2012-06-16 00:34:18 +0800
commit9f3470c2a3135fd6f93058bc861ffc310f195aaf (patch)
treeef16f5aa5be98928a318b4aaabe6835576a2fe73
parent30a0685e3cd27a2bcda307b314d50161acae85df (diff)
downloadfreebsd-ports-gnome-9f3470c2a3135fd6f93058bc861ffc310f195aaf.tar.gz
freebsd-ports-gnome-9f3470c2a3135fd6f93058bc861ffc310f195aaf.tar.zst
freebsd-ports-gnome-9f3470c2a3135fd6f93058bc861ffc310f195aaf.zip
- Update to 0.26
- Convert to new options framework - Sort MAN3 Changes: http://search.cpan.org/dist/Path-Class/Changes
-rw-r--r--devel/p5-Path-Class/Makefile17
-rw-r--r--devel/p5-Path-Class/distinfo4
2 files changed, 12 insertions, 9 deletions
diff --git a/devel/p5-Path-Class/Makefile b/devel/p5-Path-Class/Makefile
index 7f8551a1e2c8..96624e439815 100644
--- a/devel/p5-Path-Class/Makefile
+++ b/devel/p5-Path-Class/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Path-Class
-PORTVERSION= 0.25
+PORTVERSION= 0.26
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:KWILLIAMS
@@ -18,19 +18,22 @@ COMMENT= Cross-platform path specification manipulation
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
+OPTIONS_DEFINE= DOCS
+
PERL_MODBUILD= yes
MAN3= Path::Class.3 \
- Path::Class::File.3 \
+ Path::Class::Dir.3 \
Path::Class::Entity.3 \
- Path::Class::Dir.3
-
-.if !defined(NOPORTDOCS)
+ Path::Class::File.3
PORTDOCS= Changes README
+.include <bsd.port.options.mk>
+
post-install:
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+.if ${PORT_OPTIONS:MDOCS}
+ ${MKDIR} ${DOCSDIR}/
+ cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif
diff --git a/devel/p5-Path-Class/distinfo b/devel/p5-Path-Class/distinfo
index fc90341aae30..51938522a9ee 100644
--- a/devel/p5-Path-Class/distinfo
+++ b/devel/p5-Path-Class/distinfo
@@ -1,2 +1,2 @@
-SHA256 (Path-Class-0.25.tar.gz) = 9978fd9e58d64f852a3e6159b69c5bf4373069b062aed28c6e5216ba5898dff7
-SIZE (Path-Class-0.25.tar.gz) = 28657
+SHA256 (Path-Class-0.26.tar.gz) = 681a89f6d65ec21448e1aa9e16d42bda196045d17e4bc73752d5a71e40973272
+SIZE (Path-Class-0.26.tar.gz) = 29917