From 26450734cf173f619e45ae451fee189383866b14 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Sun, 3 Jan 2016 13:47:27 +0000 Subject: [PATCH] - Convert to options helper --- devel/py-iniparse/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/devel/py-iniparse/Makefile b/devel/py-iniparse/Makefile index a9cd47a55f5e..40dde08fead6 100644 --- a/devel/py-iniparse/Makefile +++ b/devel/py-iniparse/Makefile @@ -12,13 +12,15 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ports@FreeBSD.org COMMENT= Better INI parser for Python +OPTIONS_DEFINE= DOCS + USES= python USE_PYTHON= distutils autoplist PORTDOCS= Changelog README DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} -post-install: +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}