1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Remove superfluous bsd.port.options.mk include

- Reduce the number of commands to run for installation
This commit is contained in:
Johan van Selst 2014-02-13 18:11:11 +00:00
parent 57faecc491
commit 291519dc66
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344134

View File

@ -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>