1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Use USES=shebangfix

- Use USES=tar:tgz
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2014-03-14 08:48:37 +00:00
parent 49d0b84b43
commit 48c8ef73c4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348179

View File

@ -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/