aboutsummaryrefslogtreecommitdiff
path: root/graphics/pfscalibration/Makefile
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/Makefile
parent507cb4f86a3ae86aa84b6ab5f831ea29dde1ced9 (diff)
downloadports-9d72d66aa63cb52bb7e2dc862e50a9e94a9c9bb9.tar.gz
ports-9d72d66aa63cb52bb7e2dc862e50a9e94a9c9bb9.zip
Notes
Diffstat (limited to 'graphics/pfscalibration/Makefile')
-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>