svn commit: r311686 - head/devel/p5-DateTime-Format-Builder
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Tue Feb 5 09:48:37 UTC 2013
Author: sunpoet
Date: Tue Feb 5 09:48:36 2013
New Revision: 311686
URL: http://svnweb.freebsd.org/changeset/ports/311686
Log:
- Convert to new options framework
- Cleanup Makefile header
Modified:
head/devel/p5-DateTime-Format-Builder/Makefile (contents, props changed)
Modified: head/devel/p5-DateTime-Format-Builder/Makefile
==============================================================================
--- head/devel/p5-DateTime-Format-Builder/Makefile Tue Feb 5 09:42:31 2013 (r311685)
+++ head/devel/p5-DateTime-Format-Builder/Makefile Tue Feb 5 09:48:36 2013 (r311686)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: p5-DateTime-Format-Builder
-# Date created: 2 july 2003
-# Whom: Mathieu Arnold <m at absolight.net>
-#
+# Created by: Mathieu Arnold <m at absolight.net>
# $FreeBSD$
-#
PORTNAME= DateTime-Format-Builder
PORTVERSION= 0.80
@@ -20,7 +16,6 @@ BUILD_DEPENDS= p5-Class-Factory-Util>=1.
p5-Params-Validate>=0.72:${PORTSDIR}/devel/p5-Params-Validate \
p5-Task-Weaken>=0:${PORTSDIR}/devel/p5-Task-Weaken
RUN_DEPENDS:= ${BUILD_DEPENDS}
-
TEST_DEPENDS= p5-Devel-Cycle>=1.07:${PORTSDIR}/devel/p5-Devel-Cycle \
p5-Test-Memory-Cycle>=0:${PORTSDIR}/devel/p5-Test-Memory-Cycle
@@ -37,16 +32,18 @@ MAN3= DateTime::Format::Builder.3 DateT
PORTDOCS= CREDITS Changes README
PORTEXAMPLES= Apache.pm Fall.pm ICal.pm MySQL.pm Simple.pm Tivoli.pm W3CDTF.pm
+.include <bsd.port.options.mk>
+
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
- ${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
+ @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif
-.if !defined(NOPORTEXAMPLES)
+.if ${PORT_OPTIONS:MEXAMPLES}
${MKDIR} ${EXAMPLESDIR}/
cd ${WRKSRC}/examples/ && ${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR}/
- ${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}."
+ @${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}."
.endif
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list