mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Use USES=python
This commit is contained in:
parent
0e5b5610f2
commit
9d63dafa2e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364906
@ -18,8 +18,7 @@ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/spf.py:${PORTSDIR}/mail/py-spf
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
NO_BUILD= yes
|
||||
USE_PYTHON= yes
|
||||
USES= shebangfix
|
||||
USES= python shebangfix
|
||||
|
||||
PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
|
||||
PKGINSTALL= ${WRKDIR}/pkg-install
|
||||
@ -61,11 +60,10 @@ post-patch:
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/
|
||||
cd ${WRKSRC}/ && \
|
||||
${INSTALL_SCRIPT} tumgreyspf tumgreyspf-clean tumgreyspf-configtest tumgreyspf-stat ${STAGEDIR}${PREFIX}/bin/ && \
|
||||
${INSTALL_SCRIPT} gentest ${STAGEDIR}${PREFIX}/bin/tumgreyspf-gentest && \
|
||||
${INSTALL_SCRIPT} tumgreyspfsupp.py ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/ && \
|
||||
${INSTALL_DATA} tumgreyspf.conf ${STAGEDIR}${PREFIX}/etc/tumgreyspf.conf.default
|
||||
cd ${WRKSRC}/ && ${INSTALL_SCRIPT} tumgreyspf tumgreyspf-clean tumgreyspf-configtest tumgreyspf-stat ${STAGEDIR}${PREFIX}/bin/
|
||||
cd ${WRKSRC}/ && ${INSTALL_SCRIPT} gentest ${STAGEDIR}${PREFIX}/bin/tumgreyspf-gentest
|
||||
cd ${WRKSRC}/ && ${INSTALL_SCRIPT} tumgreyspfsupp.py ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/
|
||||
cd ${WRKSRC}/ && ${INSTALL_DATA} tumgreyspf.conf ${STAGEDIR}${PREFIX}/etc/tumgreyspf.conf.default
|
||||
.if !exists(${PREFIX}/etc/tumgreyspf.conf)
|
||||
${INSTALL_DATA} ${WRKSRC}/tumgreyspf.conf ${STAGEDIR}${PREFIX}/etc/
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user