aboutsummaryrefslogtreecommitdiff
path: root/textproc/idnits
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-03-14 08:48:37 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-03-14 08:48:37 +0000
commit48c8ef73c4e706f419ffe22f4029272fe864de48 (patch)
tree73f53e8cd277804b4b42686efe635bf3912775e2 /textproc/idnits
parent49d0b84b430fe9e743512ac15866da4d28077367 (diff)
downloadports-48c8ef73c4e706f419ffe22f4029272fe864de48.tar.gz
ports-48c8ef73c4e706f419ffe22f4029272fe864de48.zip
- Use USES=shebangfix
- Use USES=tar:tgz
Notes
Notes: svn path=/head/; revision=348179
Diffstat (limited to 'textproc/idnits')
-rw-r--r--textproc/idnits/Makefile5
1 files changed, 2 insertions, 3 deletions
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/