mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Convert to options helper
This commit is contained in:
parent
0218853c23
commit
26450734cf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=405145
1 changed files with 3 additions and 1 deletions
|
@ -12,13 +12,15 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
COMMENT= Better INI parser for Python
|
COMMENT= Better INI parser for Python
|
||||||
|
|
||||||
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
USES= python
|
USES= python
|
||||||
USE_PYTHON= distutils autoplist
|
USE_PYTHON= distutils autoplist
|
||||||
|
|
||||||
PORTDOCS= Changelog README
|
PORTDOCS= Changelog README
|
||||||
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
|
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
|
||||||
|
|
||||||
post-install:
|
post-install-DOCS-on:
|
||||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue