summaryrefslogtreecommitdiff
path: root/graphics/pfscalibration
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2007-12-31 17:15:14 +0000
committerRong-En Fan <rafan@FreeBSD.org>2007-12-31 17:15:14 +0000
commit9d72d66aa63cb52bb7e2dc862e50a9e94a9c9bb9 (patch)
tree26a863b994f8465fb15674f278f56b41aaec4365 /graphics/pfscalibration
parent- Update to 1.241 (diff)
- Use /bin/sh instead of /bin/bash in scripts
PR: ports/118948 Submitted by: Iouri V. Ivliev <ii at any.com.ru> (maintainer)
Notes
Notes: svn path=/head/; revision=204766
Diffstat (limited to 'graphics/pfscalibration')
-rw-r--r--graphics/pfscalibration/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/graphics/pfscalibration/Makefile b/graphics/pfscalibration/Makefile
index 574a82eaab5f..dc2011fc9dfc 100644
--- a/graphics/pfscalibration/Makefile
+++ b/graphics/pfscalibration/Makefile
@@ -6,6 +6,7 @@
PORTNAME= pfscalibration
PORTVERSION= 1.3
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= SF
MASTER_SITE_SUBDIR= pfstools
@@ -30,4 +31,11 @@ MAN1= jpeg2hdrgen.1 \
pfsinhdrgen.1 \
pfshdrcalibrate.1
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+post-patch:
+ @${REINPLACE_CMD} -e "s,#!/bin/bash,#!/bin/sh," \
+ ${WRKSRC}/src/dcraw2hdrgen \
+ ${WRKSRC}/src/jpeg2hdrgen
+
+.include <bsd.port.post.mk>