diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2011-04-17 04:44:14 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2011-04-17 04:44:14 +0800 |
commit | a5ee620d670afa9b8c58cb7633b34f92be385725 (patch) | |
tree | ea7ed6be13099dea968c30014697fd2963000037 /dns/sshfp/Makefile | |
parent | be57837870c607380fb84cc87fdfacf3476f4b09 (diff) | |
download | freebsd-ports-gnome-a5ee620d670afa9b8c58cb7633b34f92be385725.tar.gz freebsd-ports-gnome-a5ee620d670afa9b8c58cb7633b34f92be385725.tar.zst freebsd-ports-gnome-a5ee620d670afa9b8c58cb7633b34f92be385725.zip |
Update to 1.2.0
Diffstat (limited to 'dns/sshfp/Makefile')
-rw-r--r-- | dns/sshfp/Makefile | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/dns/sshfp/Makefile b/dns/sshfp/Makefile index 7dbb27f2906b..901f9ac7e0f6 100644 --- a/dns/sshfp/Makefile +++ b/dns/sshfp/Makefile @@ -6,8 +6,7 @@ # PORTNAME= sshfp -PORTVERSION= 1.1.6 -PORTREVISION= 1 +PORTVERSION= 1.2.0 CATEGORIES= dns security MASTER_SITES= ftp://ftp.xelerance.com/sshfp/ \ CRITICAL @@ -15,21 +14,29 @@ MASTER_SITES= ftp://ftp.xelerance.com/sshfp/ \ MAINTAINER= ehaupt@FreeBSD.org COMMENT= Generate SSHFP DNS records from knownhosts files or ssh-keyscan -RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/dns/__init__.py:${PORTSDIR}/dns/py-dnspython +RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/dns/__init__.py:${PORTSDIR}/dns/py-dnspython \ + ${PYTHON_PKGNAMEPREFIX}argparse>=0.8.0:${PORTSDIR}/devel/py-argparse +LIB_DEPENDS+= ldns:${PORTSDIR}/dns/ldns NO_BUILD= yes USE_PYTHON= 2.5+ LICENSE= GPLv2 -MAN1= sshfp.1 -PLIST_FILES= bin/sshfp +MAN1= sshfp.1 dane.1 +PLIST_FILES= bin/sshfp bin/dane + +PY_FILES= sshfp dane post-patch: - @${REINPLACE_CMD} -e '1s|.*|#!${PYTHON_CMD}|' ${WRKSRC}/${PORTNAME} +.for f in ${PY_FILES} + @${REINPLACE_CMD} -e '1s|.*|#!${PYTHON_CMD}|' ${WRKSRC}/${f} +.endfor do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1 +.for f in ${PY_FILES} + ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${f}.1 ${MANPREFIX}/man/man1 +.endfor .include <bsd.port.mk> |