Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 May 2013 09:37:58 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r319302 - head/graphics/pfscalibration
Message-ID:  <201305280937.r4S9bw7k007446@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305280937.r4S9bw7k007446>