From adca18a930ac2e29a3187e0d23bc49de0bb9262f Mon Sep 17 00:00:00 2001 From: Johan van Selst Date: Sat, 11 Jan 2014 09:52:39 +0000 Subject: [PATCH] Enable stage support --- print/pdfjam/Makefile | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/print/pdfjam/Makefile b/print/pdfjam/Makefile index ae0f15e17454..43ea186fba9c 100644 --- a/print/pdfjam/Makefile +++ b/print/pdfjam/Makefile @@ -17,25 +17,24 @@ WRKSRC= ${WRKDIR}/${PORTNAME} PROGS= pdf90 pdf180 pdf270 pdfbook pdfflip pdfjam \ pdfjam-pocketmod pdfjam-slides3up pdfjam-slides6up \ pdfjoin pdfnup pdfpun -MAN1= ${PROGS:S/$/.1/} -PLIST_FILES= ${PROGS:S/^/bin\//} etc/pdfjam.conf.dist +PLIST_FILES= ${PROGS:S/^/bin\//} etc/pdfjam.conf.dist \ + ${PROGS:S|^|man/man1/|:S/$/.1.gz/} PORTDOCS= PDFjam-README.html pdfdroplets.png NO_BUILD= yes -NO_STAGE= yes +.include + do-install: .for FILE in ${PROGS} - ${INSTALL_SCRIPT} ${WRKSRC}/bin/${FILE} ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/bin/${FILE} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/man1/${FILE}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 .endfor -.for FILE in ${MAN1} - ${INSTALL_MAN} ${WRKSRC}/man1/${FILE} ${MAN1PREFIX}/man/man1 -.endfor - ${INSTALL_DATA} ${WRKSRC}/pdfjam.conf ${PREFIX}/etc/pdfjam.conf.dist + ${INSTALL_DATA} ${WRKSRC}/pdfjam.conf ${STAGEDIR}${PREFIX}/etc/pdfjam.conf.dist .ifndef NOPORTDOCS - ${MKDIR} ${DOCSDIR} + ${MKDIR} ${STAGEDIR}${DOCSDIR} .for FILE in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR} .endfor .endif