summaryrefslogtreecommitdiff
path: root/print/pdfjam
diff options
context:
space:
mode:
authorSam Lawrance <lawrance@FreeBSD.org>2006-02-09 13:09:27 +0000
committerSam Lawrance <lawrance@FreeBSD.org>2006-02-09 13:09:27 +0000
commit86138e735fd3155a591a2a803357fe00cf7264a3 (patch)
treea595450317dc44b9e892c567e255e307fc1447e9 /print/pdfjam
parentUpdate to 0.99 (2006-01-27). (diff)
Use bash rather than /bin/sh due to some linuxisms.
PR: ports/92945 Submitted by: Paul Chvostek <paul+ports@it.ca> (maintainer)
Notes
Notes: svn path=/head/; revision=155591
Diffstat (limited to 'print/pdfjam')
-rw-r--r--print/pdfjam/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/print/pdfjam/Makefile b/print/pdfjam/Makefile
index 456efb799263..d1ca9924d346 100644
--- a/print/pdfjam/Makefile
+++ b/print/pdfjam/Makefile
@@ -7,6 +7,7 @@
PORTNAME= pdfjam
PORTVERSION= 1.20
+PORTREVISION= 1
CATEGORIES= print
MASTER_SITES= http://www2.warwick.ac.uk/fac/sci/statistics/staff/academic/firth/software/pdfjam/ \
http://www.it.ca/~paul/src/
@@ -16,7 +17,8 @@ EXTRACT_SUFX= .tgz
MAINTAINER= paul+ports@it.ca
COMMENT= Shell scripts to manipulate PDF files
-RUN_DEPENDS= pdflatex:${PORTSDIR}/print/teTeX-base
+RUN_DEPENDS= pdflatex:${PORTSDIR}/print/teTeX-base \
+ bash:${PORTSDIR}/shells/bash
WRKSRC= ${WRKDIR}/${PORTNAME}
@@ -29,7 +31,7 @@ NO_BUILD= yes
post-patch:
@${LN} -s scripts ${WRKSRC}/bin
.for FILE in ${PLIST_FILES}
- @${SED} -i '' "1s:^#! /bin/sh:#!${SH}:;s:__LOCALBASE__:${LOCALBASE}:" ${WRKSRC}/${FILE}
+ @${SED} -i '' "1s:^#! /bin/sh:#!${LOCALBASE}/bin/bash:;s:__LOCALBASE__:${LOCALBASE}:" ${WRKSRC}/${FILE}
.endfor
do-install: