Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Feb 2014 09:25:13 +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: r345947 - head/print/dvips2ascii
Message-ID:  <201402250925.s1P9PDQU021726@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Tue Feb 25 09:25:13 2014
New Revision: 345947
URL: http://svnweb.freebsd.org/changeset/ports/345947
QAT: https://qat.redports.org/buildarchive/r345947/

Log:
  - Support staging
  - Use shebangfix

Modified:
  head/print/dvips2ascii/Makefile

Modified: head/print/dvips2ascii/Makefile
==============================================================================
--- head/print/dvips2ascii/Makefile	Tue Feb 25 09:08:14 2014	(r345946)
+++ head/print/dvips2ascii/Makefile	Tue Feb 25 09:25:13 2014	(r345947)
@@ -9,15 +9,13 @@ MASTER_SITES=	SF/srezic/${PORTNAME}/${PO
 MAINTAINER=	slaven@rezic.de
 COMMENT=	PostScript (created by dvips) to ASCII converter
 
-PLIST_FILES=	bin/dvips2ascii
+USES=		shebangfix
+NO_BUILD=	yes
 
-NO_STAGE=	yes
-do-build:
-	${MV} ${WRKSRC}/dvips2ascii ${WRKSRC}/dvips2ascii.orig
-	${SED} -e 's;#!.*perl;#!${PERL};' \
-	    < ${WRKSRC}/dvips2ascii.orig > ${WRKSRC}/dvips2ascii
+PLIST_FILES=	bin/dvips2ascii
+SHEBANG_FILES=	dvips2ascii
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/dvips2ascii ${PREFIX}/bin
+	${INSTALL_SCRIPT} ${WRKSRC}/dvips2ascii ${STAGEDIR}${PREFIX}/bin
 
 .include <bsd.port.mk>



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