svn commit: r311728 - head/devel/p5-Set-Infinite
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Tue Feb 5 18:34:51 UTC 2013
Author: sunpoet
Date: Tue Feb 5 18:34:50 2013
New Revision: 311728
URL: http://svnweb.freebsd.org/changeset/ports/311728
Log:
- Convert to new options framework
- Cleanup Makefile header
Modified:
head/devel/p5-Set-Infinite/Makefile (contents, props changed)
Modified: head/devel/p5-Set-Infinite/Makefile
==============================================================================
--- head/devel/p5-Set-Infinite/Makefile Tue Feb 5 18:17:26 2013 (r311727)
+++ head/devel/p5-Set-Infinite/Makefile Tue Feb 5 18:34:50 2013 (r311728)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: p5-Set-Infinite
-# Date created: 26 june 2003
-# Whom: Mathieu Arnold <m at absolight.net>
-#
+# Created by: Mathieu Arnold <m at absolight.net>
# $FreeBSD$
-#
PORTNAME= Set-Infinite
PORTVERSION= 0.65
@@ -14,16 +10,19 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl at 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
More information about the svn-ports-all
mailing list