1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

Support staging.

This commit is contained in:
Emanuel Haupt 2013-11-13 13:02:56 +00:00
parent 8ee0bc1cf8
commit a77af44921
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333681
2 changed files with 6 additions and 6 deletions

View File

@ -22,13 +22,10 @@ GH_ACCOUNT= xelerance
GH_TAGNAME= ${PORTVERSION}
GH_COMMIT= 3378f7d
MAN1= sshfp.1 dane.1
PY_FILES= sshfp dane
WRKSRC= ${WRKDIR}/${GH_ACCOUNT}-${PORTNAME}-${GH_COMMIT}
NO_STAGE= yes
post-patch:
.for f in ${PY_FILES} daneldnsx.py
@${REINPLACE_CMD} -e '1s|.*|#!${PYTHON_CMD}|' ${WRKSRC}/${f}
@ -36,9 +33,10 @@ post-patch:
do-install:
.for f in ${PY_FILES}
${INSTALL_SCRIPT} ${WRKSRC}/${f} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${f}.1 ${MANPREFIX}/man/man1
${INSTALL_SCRIPT} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${f}.1 ${STAGEDIR}${MANPREFIX}/man/man1
.endfor
${INSTALL_SCRIPT} ${WRKSRC}/daneldnsx.py ${PYTHON_SITELIBDIR}/
${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}
${INSTALL_SCRIPT} ${WRKSRC}/daneldnsx.py ${STAGEDIR}${PYTHON_SITELIBDIR}
.include <bsd.port.mk>

View File

@ -1,3 +1,5 @@
bin/dane
bin/sshfp
man/man1/dane.1.gz
man/man1/sshfp.1.gz
%%PYTHON_SITELIBDIR%%/daneldnsx.py