aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Set-Infinite
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-02-05 18:34:50 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-02-05 18:34:50 +0000
commitea1ab350f874e9297a81ceb27938bafd4573491b (patch)
tree9a3eac2c5479276b06d4d9b589f96de8f91e6d46 /devel/p5-Set-Infinite
parent67125b84a45518c980415dbccb087bfc09639891 (diff)
Notes
Diffstat (limited to 'devel/p5-Set-Infinite')
-rw-r--r--devel/p5-Set-Infinite/Makefile17
1 files changed, 8 insertions, 9 deletions
diff --git a/devel/p5-Set-Infinite/Makefile b/devel/p5-Set-Infinite/Makefile
index 8f1507afde2a..ad5bf894b1da 100644
--- a/devel/p5-Set-Infinite/Makefile
+++ b/devel/p5-Set-Infinite/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: p5-Set-Infinite
-# Date created: 26 june 2003
-# Whom: Mathieu Arnold <m@absolight.net>
-#
+# Created by: Mathieu Arnold <m@absolight.net>
# $FreeBSD$
-#
PORTNAME= Set-Infinite
PORTVERSION= 0.65
@@ -14,16 +10,19 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Set::Infinite - Sets of intervals
+OPTIONS_DEFINE= DOCS
+
PERL_CONFIGURE= yes
MAN3= Set::Infinite.3 Set::Infinite::Arithmetic.3 Set::Infinite::Basic.3
-
-.if !defined(NOPORTDOCS)
PORTDOCS= Changes README TODO
+.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