svn commit: r346244 - head/print/tgif2tex

Emanuel Haupt ehaupt at FreeBSD.org
Thu Feb 27 07:52:53 UTC 2014


Author: ehaupt
Date: Thu Feb 27 07:52:53 2014
New Revision: 346244
URL: http://svnweb.freebsd.org/changeset/ports/346244
QAT: https://qat.redports.org/buildarchive/r346244/

Log:
  - Use shebangfix

Modified:
  head/print/tgif2tex/Makefile

Modified: head/print/tgif2tex/Makefile
==============================================================================
--- head/print/tgif2tex/Makefile	Thu Feb 27 07:50:03 2014	(r346243)
+++ head/print/tgif2tex/Makefile	Thu Feb 27 07:52:53 2014	(r346244)
@@ -25,15 +25,14 @@ PORTDOCS=	how-to-use.dvi how-to-use.ps h
 
 OPTIONS_DEFINE=	DOCS
 
-USES=		perl5
+USES=		perl5 shebangfix
 USE_PERL5=	run
 NO_BUILD=	yes
 
+SHEBANG_FILES=	tgif2tex
+
 post-patch:
-	${REINPLACE_CMD} \
-		-e "s,%%LOCALBASE%%,${LOCALBASE}," \
-		-e "s,^#!/usr/bin/perl,#!${PERL}," \
-		${WRKSRC}/tgif2tex
+	${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE}," ${WRKSRC}/tgif2tex
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/tgif2tex ${STAGEDIR}${PREFIX}/bin


More information about the svn-ports-all mailing list