diff --git a/textproc/idnits/Makefile b/textproc/idnits/Makefile index a7223d36784c..8598a52b6c00 100644 --- a/textproc/idnits/Makefile +++ b/textproc/idnits/Makefile @@ -6,7 +6,6 @@ PORTVERSION= 2.13.00 CATEGORIES= textproc MASTER_SITES= http://tools.ietf.org/tools/idnits/ \ LOCAL/sunpoet -EXTRACT_SUFX= .tgz MAINTAINER= sunpoet@FreeBSD.org COMMENT= Looks for problems in internet draft formatting @@ -17,11 +16,11 @@ LICENSE_COMB= dual RUN_DEPENDS= ${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash NO_BUILD= yes +USES= shebangfix tar:tgz PLIST_FILES= bin/${PORTNAME} -post-patch: - @${REINPLACE_CMD} -e '1 s|^#!/bin/bash|#!${LOCALBASE}/bin/bash|' ${WRKSRC}/${PORTNAME} +SHEBANG_FILES= ${PORTNAME} do-install: @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/