svn commit: r316112 - head/devel/p5-Event
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Fri Apr 19 17:55:53 UTC 2013
Author: sunpoet
Date: Fri Apr 19 17:23:03 2013
New Revision: 316112
URL: http://svnweb.freebsd.org/changeset/ports/316112
Log:
- Convert to new options framework
- Do not silence installation message
- Cosmetic change
Feature safe: yes
Modified:
head/devel/p5-Event/Makefile (contents, props changed)
Modified: head/devel/p5-Event/Makefile
==============================================================================
--- head/devel/p5-Event/Makefile Fri Apr 19 16:46:40 2013 (r316111)
+++ head/devel/p5-Event/Makefile Fri Apr 19 17:23:03 2013 (r316112)
@@ -10,16 +10,20 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl at FreeBSD.org
COMMENT= Generic Perl Event Loop
+OPTIONS_DEFINE= DOCS
+
PERL_CONFIGURE= yes
-PORTDOCS= ANNOUNCE ChangeLog INSTALL MANIFEST README TODO Tutorial.pdf
MAN3= Event.3 Event::MakeMaker.3 Event::generic.3
+PORTDOCS= ANNOUNCE ChangeLog INSTALL MANIFEST README TODO Tutorial.pdf
+
+.include <bsd.port.options.mk>
post-install:
-.ifndef(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${ECHO_MSG} "===> Installing documentation for ${PKGNAME}"
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
+ ${MKDIR} ${DOCSDIR}/
+ cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
.endif
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list