aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2016-01-03 22:35:01 +0800
committermiwi <miwi@FreeBSD.org>2016-01-03 22:35:01 +0800
commit80f8c34247cd6ef2e8e7f759691111dcf828b3e9 (patch)
tree6e4f9313e3d9c527ff3ad1b2cece80e79fedd5cf /devel
parent420452207ce5b5c7fa367d082dabcd0a5be5a952 (diff)
downloadfreebsd-ports-gnome-80f8c34247cd6ef2e8e7f759691111dcf828b3e9.tar.gz
freebsd-ports-gnome-80f8c34247cd6ef2e8e7f759691111dcf828b3e9.tar.zst
freebsd-ports-gnome-80f8c34247cd6ef2e8e7f759691111dcf828b3e9.zip
- Convert to options helper
Diffstat (limited to 'devel')
-rw-r--r--devel/py-grouch/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/devel/py-grouch/Makefile b/devel/py-grouch/Makefile
index a596fcd186a1..78cb6551bb7b 100644
--- a/devel/py-grouch/Makefile
+++ b/devel/py-grouch/Makefile
@@ -12,18 +12,21 @@ DISTNAME= Grouch-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= System for describing and enforcing a Python object schema
+OPTIONS_DEFINE= DOCS EXAMPLES
+
USES= python:2
USE_PYTHON= distutils autoplist
PORTDOCS= *
PORTEXAMPLES= *
-post-install:
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for docfile in CHANGES README
${INSTALL_DATA} ${WRKSRC}/${docfile}.txt ${STAGEDIR}${DOCSDIR}
.endfor
${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}
+post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}