Hi, On Jan 25, 2008 1:08 PM, Andreas Bihlmaier <[EMAIL PROTECTED]> wrote: > tested @i386 and @sparc64, but well it is shell anyway.
These are really useful utilities. I have tidied the port up a bit and can confirm that all 3 utils work on i386 at least. - Don't use INSTALL_PROGRAM for scripts, as it will try to strip them. Use INSTALL_SCRIPT instead. - I have converted the for loop into /bin/sh format, but thats just a personal preference. I'm not sure if there is a rule for that sort of thing. ---8<--- --- /home/edd/print/pdfjam/Makefile Fri Jan 25 13:01:09 2008 +++ Makefile Mon Jan 28 09:20:54 2008 @@ -26,9 +26,9 @@ WRKDIST= ${WRKDIR}/pdfjam do-install: -.for SCRIPT in pdf90 pdfjoin pdfnup - ${INSTALL_PROGRAM} ${WRKSRC}/scripts/${SCRIPT} ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/man1/${SCRIPT}.1 /${PREFIX}/man/man1 -.endfor + for SCRIPT in pdf90 pdfjoin pdfnup; do \ + ${INSTALL_SCRIPT} ${WRKSRC}/scripts/$${SCRIPT} ${PREFIX}/bin; \ + ${INSTALL_MAN} ${WRKSRC}/man1/$${SCRIPT}.1 /${PREFIX}/man/man1; \ + done .include <bsd.port.mk> ---8<--- -- Best Regards Edd http://students.dec.bournemouth.ac.uk/ebarrett