diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-02-06 23:20:00 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-02-06 23:20:00 +0000 |
commit | a889fcdcd5b3ef304a28173404970e8c84e8b5ee (patch) | |
tree | 5fc2978d2336e53cdbd57ed1c152cdd2f450eb59 /graphics/pstoepsi | |
parent | 793cf21b21a17abc4267f7d71b1d8517e17ce7dc (diff) | |
download | ports-a889fcdcd5b3ef304a28173404970e8c84e8b5ee.tar.gz ports-a889fcdcd5b3ef304a28173404970e8c84e8b5ee.zip |
Notes
Diffstat (limited to 'graphics/pstoepsi')
-rw-r--r-- | graphics/pstoepsi/Makefile | 9 | ||||
-rw-r--r-- | graphics/pstoepsi/pkg-plist | 2 |
2 files changed, 8 insertions, 3 deletions
diff --git a/graphics/pstoepsi/Makefile b/graphics/pstoepsi/Makefile index 179dc2e3ec44..341f4eb8962f 100644 --- a/graphics/pstoepsi/Makefile +++ b/graphics/pstoepsi/Makefile @@ -17,10 +17,13 @@ RUN_DEPENDS= pbmtoepsi:${PORTSDIR}/graphics/netpbm 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} diff --git a/graphics/pstoepsi/pkg-plist b/graphics/pstoepsi/pkg-plist index 521df0b2da75..943abdb6acd1 100644 --- a/graphics/pstoepsi/pkg-plist +++ b/graphics/pstoepsi/pkg-plist @@ -1,2 +1,2 @@ bin/pstoepsi -share/doc/pstoepsi/README.this-site.gz +%%PORTDOCS%%%%DOCSDIR%%/README.this-site.gz |