mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
Add an explicit dependency on pkgconf
While here remove the post-patch target in favour of using shebangfix
This commit is contained in:
parent
2d91087887
commit
02b7b4859a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=319302
@ -1,7 +1,4 @@
|
|||||||
# New ports collection makefile for: pfscalibration
|
# Created by: Iouri V. Ivliev
|
||||||
# Date created: Fri Jun 1 15:44:40 UTC 2007
|
|
||||||
# Whom: argv[0] (Iouri V. Ivliev)
|
|
||||||
#
|
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= pfscalibration
|
PORTNAME= pfscalibration
|
||||||
@ -16,6 +13,7 @@ COMMENT= Photometric calibration of cameras and recovery HDR images from the set
|
|||||||
PFS_CPPFLAGS= -I${LOCALBASE}/include
|
PFS_CPPFLAGS= -I${LOCALBASE}/include
|
||||||
PFS_LDFLAGS= -L${LOCALBASE}/lib
|
PFS_LDFLAGS= -L${LOCALBASE}/lib
|
||||||
|
|
||||||
|
USES= pkgconfig shebangfix
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
CPPFLAGS+= ${PFS_CPPFLAGS}
|
CPPFLAGS+= ${PFS_CPPFLAGS}
|
||||||
LDFLAGS+= ${PFS_LDFLAGS}
|
LDFLAGS+= ${PFS_LDFLAGS}
|
||||||
@ -29,11 +27,7 @@ MAN1= jpeg2hdrgen.1 \
|
|||||||
pfsinhdrgen.1 \
|
pfsinhdrgen.1 \
|
||||||
pfshdrcalibrate.1
|
pfshdrcalibrate.1
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
SHEBANG_FILES= src/dcraw2hdrgen src/jpeg2hdrgen
|
||||||
|
bash_CMD= ${SH}
|
||||||
|
|
||||||
post-patch:
|
.include <bsd.port.mk>
|
||||||
@${REINPLACE_CMD} -e "s,#!/bin/bash,#!/bin/sh," \
|
|
||||||
${WRKSRC}/src/dcraw2hdrgen \
|
|
||||||
${WRKSRC}/src/jpeg2hdrgen
|
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
|
||||||
|
Loading…
Reference in New Issue
Block a user