- Add NO_ARCH
- Switch to options helpers - Unsilence install
This commit is contained in:
parent
c8aaf2209d
commit
944625b063
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=401381
@ -14,6 +14,7 @@ COMMENT= Python module to parse or write delimeter-separated (e.g. CSV) files
|
||||
USES= python:2
|
||||
USE_PYTHON= distutils autoplist
|
||||
DSV_BASEDIR= ${PYTHONPREFIX_SITELIBDIR}/DSV
|
||||
NO_ARCH= yes
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
@ -21,7 +22,9 @@ post-install:
|
||||
@${PRINTF} '#!/bin/sh\n${PYTHON_CMD} ${DSV_BASEDIR}/DSV.py "$$@"\n' \
|
||||
>${WRKDIR}/DSV.sh
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/DSV.sh ${STAGEDIR}${PREFIX}/bin/DSV
|
||||
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user