Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Feb 2014 07:52:53 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r346244 - head/print/tgif2tex
Message-ID:  <201402270752.s1R7qrdE001587@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402270752.s1R7qrdE001587>