aboutsummaryrefslogtreecommitdiff
path: root/graphics/pfscalibration
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-05-28 09:37:57 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-05-28 09:37:57 +0000
commit02b7b4859a24d4a6d1e794c611c7b578a03649f4 (patch)
treef1b46433b007e79c63bcdb2bc6b61e0833222121 /graphics/pfscalibration
parent2d91087887ce4981d8485d3f2977c0f7b0a1d21a (diff)
downloadports-02b7b4859a24d4a6d1e794c611c7b578a03649f4.tar.gz
ports-02b7b4859a24d4a6d1e794c611c7b578a03649f4.zip
Notes
Diffstat (limited to 'graphics/pfscalibration')
-rw-r--r--graphics/pfscalibration/Makefile16
1 files changed, 5 insertions, 11 deletions
diff --git a/graphics/pfscalibration/Makefile b/graphics/pfscalibration/Makefile
index 03a21ed63a48..3298cc878c01 100644
--- a/graphics/pfscalibration/Makefile
+++ b/graphics/pfscalibration/Makefile
@@ -1,7 +1,4 @@
-# New ports collection makefile for: pfscalibration
-# Date created: Fri Jun 1 15:44:40 UTC 2007
-# Whom: argv[0] (Iouri V. Ivliev)
-#
+# Created by: Iouri V. Ivliev
# $FreeBSD$
PORTNAME= pfscalibration
@@ -16,6 +13,7 @@ COMMENT= Photometric calibration of cameras and recovery HDR images from the set
PFS_CPPFLAGS= -I${LOCALBASE}/include
PFS_LDFLAGS= -L${LOCALBASE}/lib
+USES= pkgconfig shebangfix
GNU_CONFIGURE= yes
CPPFLAGS+= ${PFS_CPPFLAGS}
LDFLAGS+= ${PFS_LDFLAGS}
@@ -29,11 +27,7 @@ MAN1= jpeg2hdrgen.1 \
pfsinhdrgen.1 \
pfshdrcalibrate.1
-.include <bsd.port.pre.mk>
+SHEBANG_FILES= src/dcraw2hdrgen src/jpeg2hdrgen
+bash_CMD= ${SH}
-post-patch:
- @${REINPLACE_CMD} -e "s,#!/bin/bash,#!/bin/sh," \
- ${WRKSRC}/src/dcraw2hdrgen \
- ${WRKSRC}/src/jpeg2hdrgen
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>