svn commit: r352519 - head/graphics/pstoepsi

Pawel Pekala pawel at FreeBSD.org
Mon Apr 28 16:20:24 UTC 2014


Author: pawel
Date: Mon Apr 28 16:20:23 2014
New Revision: 352519
URL: http://svnweb.freebsd.org/changeset/ports/352519
QAT: https://qat.redports.org/buildarchive/r352519/

Log:
  Add staging support

Modified:
  head/graphics/pstoepsi/Makefile

Modified: head/graphics/pstoepsi/Makefile
==============================================================================
--- head/graphics/pstoepsi/Makefile	Mon Apr 28 16:08:03 2014	(r352518)
+++ head/graphics/pstoepsi/Makefile	Mon Apr 28 16:20:23 2014	(r352519)
@@ -18,9 +18,6 @@ RUN_DEPENDS=	pbmtoepsi:${PORTSDIR}/graph
 USE_GHOSTSCRIPT_RUN=	yes
 NO_WRKSUBDIR=	yes
 
-NO_STAGE=	yes
-.SILENT:
-
 pre-patch:
 	${CP} ${DISTDIR}/${DIST_SUBDIR}/pstoepsi ${WRKDIR}/pstoepsi.prefix
 	${CP} ${DISTDIR}/${DIST_SUBDIR}/README.this-site ${WRKDIR}
@@ -31,9 +28,8 @@ do-build:
 	${GZIP_CMD} ${WRKDIR}/README.this-site
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKDIR}/pstoepsi ${PREFIX}/bin
-	${MKDIR} ${PREFIX}/share/doc/pstoepsi
-	${INSTALL_DATA} ${WRKDIR}/README.this-site.gz \
-			${PREFIX}/share/doc/pstoepsi
+	${INSTALL_SCRIPT} ${WRKDIR}/pstoepsi ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKDIR}/README.this-site.gz ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list