svn commit: r408326 - head/graphics/pstoepsi

Dmitry Marakasov amdmi3 at FreeBSD.org
Sat Feb 6 23:20:02 UTC 2016


Author: amdmi3
Date: Sat Feb  6 23:20:00 2016
New Revision: 408326
URL: https://svnweb.freebsd.org/changeset/ports/408326

Log:
  - Add NO_ARCH
  - Silence patching
  - Switch to options helpers

Modified:
  head/graphics/pstoepsi/Makefile
  head/graphics/pstoepsi/pkg-plist

Modified: head/graphics/pstoepsi/Makefile
==============================================================================
--- head/graphics/pstoepsi/Makefile	Sat Feb  6 23:19:50 2016	(r408325)
+++ head/graphics/pstoepsi/Makefile	Sat Feb  6 23:20:00 2016	(r408326)
@@ -17,10 +17,13 @@ RUN_DEPENDS=	pbmtoepsi:${PORTSDIR}/graph
 
 USES=		ghostscript:run
 NO_WRKSUBDIR=	yes
+NO_ARCH=	yes
+
+OPTIONS_DEFINE=	DOCS
 
 pre-patch:
-	${CP} ${DISTDIR}/${DIST_SUBDIR}/pstoepsi ${WRKSRC}/pstoepsi.prefix
-	${CP} ${DISTDIR}/${DIST_SUBDIR}/README.this-site ${WRKSRC}
+	@${CP} ${DISTDIR}/${DIST_SUBDIR}/pstoepsi ${WRKSRC}/pstoepsi.prefix
+	@${CP} ${DISTDIR}/${DIST_SUBDIR}/README.this-site ${WRKSRC}
 
 do-build:
 	${SED} -e "s+%%PREFIX%%+${PREFIX}+g" ${WRKSRC}/pstoepsi.prefix > \
@@ -29,6 +32,8 @@ do-build:
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/pstoepsi ${STAGEDIR}${PREFIX}/bin
+
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README.this-site.gz ${STAGEDIR}${DOCSDIR}
 

Modified: head/graphics/pstoepsi/pkg-plist
==============================================================================
--- head/graphics/pstoepsi/pkg-plist	Sat Feb  6 23:19:50 2016	(r408325)
+++ head/graphics/pstoepsi/pkg-plist	Sat Feb  6 23:20:00 2016	(r408326)
@@ -1,2 +1,2 @@
 bin/pstoepsi
-share/doc/pstoepsi/README.this-site.gz
+%%PORTDOCS%%%%DOCSDIR%%/README.this-site.gz


More information about the svn-ports-all mailing list