aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/idnits
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2014-03-14 16:48:37 +0800
committersunpoet <sunpoet@FreeBSD.org>2014-03-14 16:48:37 +0800
commitd9b18ec4017279de8b044a1ec5507ac176cde8ea (patch)
tree73f53e8cd277804b4b42686efe635bf3912775e2 /textproc/idnits
parent4ee0802251044edc7bc4fe19507a038705ebdc75 (diff)
downloadfreebsd-ports-gnome-d9b18ec4017279de8b044a1ec5507ac176cde8ea.tar.gz
freebsd-ports-gnome-d9b18ec4017279de8b044a1ec5507ac176cde8ea.tar.zst
freebsd-ports-gnome-d9b18ec4017279de8b044a1ec5507ac176cde8ea.zip
- Use USES=shebangfix
- Use USES=tar:tgz
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/