aboutsummaryrefslogtreecommitdiffstats
path: root/print/txtbdf2ps
diff options
context:
space:
mode:
authorak <ak@FreeBSD.org>2013-12-06 17:57:12 +0800
committerak <ak@FreeBSD.org>2013-12-06 17:57:12 +0800
commit9db3ff4f2a800e40791be7f4a13d3c5893a924bb (patch)
tree50d5a75f9034506e79cd805edf002bc84238b8ab /print/txtbdf2ps
parent8c41a6125d58e76a8deae6214be9129893122a98 (diff)
downloadfreebsd-ports-gnome-9db3ff4f2a800e40791be7f4a13d3c5893a924bb.tar.gz
freebsd-ports-gnome-9db3ff4f2a800e40791be7f4a13d3c5893a924bb.tar.zst
freebsd-ports-gnome-9db3ff4f2a800e40791be7f4a13d3c5893a924bb.zip
- Use recently implemented NO_ARCH knob in my architecture-neutral ports
- While here, use shebangfix for print/txtbdf2ps
Diffstat (limited to 'print/txtbdf2ps')
-rw-r--r--print/txtbdf2ps/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/print/txtbdf2ps/Makefile b/print/txtbdf2ps/Makefile
index 45be3a0f7822..bfe789000602 100644
--- a/print/txtbdf2ps/Makefile
+++ b/print/txtbdf2ps/Makefile
@@ -14,16 +14,15 @@ COMMENT= Translator TXT + BDF to PS
PROJECTHOST= ak-various-projects
PLIST_FILES= bin/txtbdf2ps
-USES= perl5
+USES= perl5 shebangfix
EXTRACT_CMD= ${CP}
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS= ${WRKDIR}
+SHEBANG_FILES= ${DISTNAME}.txt
NO_WRKSUBDIR= yes
+NO_ARCH= yes
NO_BUILD= yes
-post-patch:
- @${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|g' ${WRKSRC}/${DISTNAME}.txt
-
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME}.txt ${STAGEDIR}${PREFIX}/bin/txtbdf2ps