1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00

- Convert to options helper

This commit is contained in:
Martin Wilke 2016-01-03 14:35:01 +00:00
parent 4bcaa15022
commit f7ab352dc8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=405156

View File

@ -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}