diff options
author | johans <johans@FreeBSD.org> | 2014-02-14 02:11:11 +0800 |
---|---|---|
committer | johans <johans@FreeBSD.org> | 2014-02-14 02:11:11 +0800 |
commit | f2376a741872c8996da023f60caa6975508fd932 (patch) | |
tree | 3bdc3ea52ee145a5db0f73994e36674726f9c1d9 /print | |
parent | 1bd432f2c7a03e122b808634e839ed79b07b8334 (diff) | |
download | freebsd-ports-gnome-f2376a741872c8996da023f60caa6975508fd932.tar.gz freebsd-ports-gnome-f2376a741872c8996da023f60caa6975508fd932.tar.zst freebsd-ports-gnome-f2376a741872c8996da023f60caa6975508fd932.zip |
- Remove superfluous bsd.port.options.mk include
- Reduce the number of commands to run for installation
Diffstat (limited to 'print')
-rw-r--r-- | print/pdfjam/Makefile | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/print/pdfjam/Makefile b/print/pdfjam/Makefile index 43ea186fba9c..1b9d02853f31 100644 --- a/print/pdfjam/Makefile +++ b/print/pdfjam/Makefile @@ -23,19 +23,14 @@ PORTDOCS= PDFjam-README.html pdfdroplets.png NO_BUILD= yes -.include <bsd.port.options.mk> - do-install: -.for FILE in ${PROGS} - ${INSTALL_SCRIPT} ${WRKSRC}/bin/${FILE} ${STAGEDIR}${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/man1/${FILE}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 -.endfor - ${INSTALL_DATA} ${WRKSRC}/pdfjam.conf ${STAGEDIR}${PREFIX}/etc/pdfjam.conf.dist -.ifndef NOPORTDOCS + ${INSTALL_SCRIPT} ${PROGS:S|^|${WRKSRC}/bin/|g} \ + ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${PROGS:S|^|${WRKSRC}/man1/|g:S|$|.1|g} \ + ${STAGEDIR}${MAN1PREFIX}/man/man1 + ${INSTALL_DATA} ${WRKSRC}/pdfjam.conf \ + ${STAGEDIR}${PREFIX}/etc/pdfjam.conf.dist ${MKDIR} ${STAGEDIR}${DOCSDIR} -.for FILE in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR} -.endfor -.endif + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|g} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |