svn commit: r306196 - head/devel/p5-File-Append-TempFile
Eitan Adler
eadler at FreeBSD.org
Sat Oct 20 15:44:03 UTC 2012
Author: eadler
Date: Sat Oct 20 15:44:02 2012
New Revision: 306196
URL: http://svn.freebsd.org/changeset/ports/306196
Log:
Convert to OptionsNG
Use TEST_DEPENDS instead of custom hack
Feature safe: yes
Modified:
head/devel/p5-File-Append-TempFile/Makefile
Modified: head/devel/p5-File-Append-TempFile/Makefile
==============================================================================
--- head/devel/p5-File-Append-TempFile/Makefile Sat Oct 20 15:40:25 2012 (r306195)
+++ head/devel/p5-File-Append-TempFile/Makefile Sat Oct 20 15:44:02 2012 (r306196)
@@ -11,9 +11,7 @@ PKGNAMEPREFIX= p5-
MAINTAINER= eadler at FreeBSD.org
COMMENT= Append data to files using a temporary copy
-.if !defined(WITHOUT_TEST_POD_COVERAGE)
-BUILD_DEPENDS= p5-Test-Pod-Coverage>=0:${PORTSDIR}/devel/p5-Test-Pod-Coverage
-.endif
+TEST_DEPENDS= p5-Test-Pod-Coverage>=0:${PORTSDIR}/devel/p5-Test-Pod-Coverage
PERL_CONFIGURE= yes
@@ -24,7 +22,9 @@ PORTDOCS= Changes README
test: build
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} test
-.if !defined(NOPORTDOCS)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
post-install:
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
More information about the svn-ports-all
mailing list