svn commit: r319302 - head/graphics/pfscalibration
Baptiste Daroussin
bapt at FreeBSD.org
Tue May 28 09:37:58 UTC 2013
Author: bapt
Date: Tue May 28 09:37:57 2013
New Revision: 319302
URL: http://svnweb.freebsd.org/changeset/ports/319302
Log:
Add an explicit dependency on pkgconf
While here remove the post-patch target in favour of using shebangfix
Modified:
head/graphics/pfscalibration/Makefile
Modified: head/graphics/pfscalibration/Makefile
==============================================================================
--- head/graphics/pfscalibration/Makefile Tue May 28 09:33:29 2013 (r319301)
+++ head/graphics/pfscalibration/Makefile Tue May 28 09:37:57 2013 (r319302)
@@ -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 came
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>
More information about the svn-ports-head
mailing list