Convert to options target helper
- Add missing OPTIONS_DEFINE=DOCS Approved by: portmgr (blanket)
This commit is contained in:
parent
be01faba48
commit
6419342b27
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=442887
1 changed files with 4 additions and 0 deletions
|
@ -14,6 +14,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyasn1>=0.1.8:devel/py-pyasn1
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
NO_ARCH= yes
|
||||
USES= python shebangfix
|
||||
SHEBANG_FILES= tools/*.py
|
||||
|
@ -27,6 +29,8 @@ TOOLS= cmcdump.py cmpdump.py crldump.py crmfdump.py ocspclient.py \
|
|||
|
||||
post-install:
|
||||
${INSTALL_SCRIPT} ${TOOLS:S|^|${WRKSRC}/tools/|} ${STAGEDIR}${PREFIX}/bin
|
||||
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
|
|
Loading…
Reference in a new issue