diff --git a/graphics/pfscalibration/Makefile b/graphics/pfscalibration/Makefile index 574a82eaab5f..dc2011fc9dfc 100644 --- a/graphics/pfscalibration/Makefile +++ b/graphics/pfscalibration/Makefile @@ -1,33 +1,41 @@ # New ports collection makefile for: pfscalibration # Date created: Fri Jun 1 15:44:40 UTC 2007 # Whom: argv[0] (Iouri V. Ivliev) # # $FreeBSD$ PORTNAME= pfscalibration PORTVERSION= 1.3 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= SF MASTER_SITE_SUBDIR= pfstools MAINTAINER= ii@any.com.ru COMMENT= Photometric calibration of cameras and recovery HDR images from the set of LDR exposures PFS_CPPFLAGS= -I${LOCALBASE}/include PFS_LDFLAGS= -L${LOCALBASE}/lib GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_ENV= CPPFLAGS="${PFS_CPPFLAGS}" \ LDFLAGS="${PFS_LDFLAGS}" USE_GMAKE= yes USE_PERL5= yes LIB_DEPENDS= pfs-1.2:${PORTSDIR}/graphics/pfstools MAN1= jpeg2hdrgen.1 \ dcraw2hdrgen.1 \ pfsinhdrgen.1 \ pfshdrcalibrate.1 -.include +.include + +post-patch: + @${REINPLACE_CMD} -e "s,#!/bin/bash,#!/bin/sh," \ + ${WRKSRC}/src/dcraw2hdrgen \ + ${WRKSRC}/src/jpeg2hdrgen + +.include