aboutsummaryrefslogtreecommitdiff
path: root/graphics/crw/Makefile
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2012-06-01 05:26:28 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2012-06-01 05:26:28 +0000
commit2b74a89bc8342f0b9b737c37d87737caf7b0ea1e (patch)
treec04604583d8be53b3ed7f10975be828c731f87cb /graphics/crw/Makefile
parent24315159daa0089f08acea4ba1b130fb6721ad5c (diff)
Notes
Diffstat (limited to 'graphics/crw/Makefile')
-rw-r--r--graphics/crw/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/graphics/crw/Makefile b/graphics/crw/Makefile
index f1baefb50561..83e971ab5dbf 100644
--- a/graphics/crw/Makefile
+++ b/graphics/crw/Makefile
@@ -7,22 +7,25 @@
PORTNAME= crw
PORTVERSION= 1.03
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= http://apollo.backplane.com/FreeBSDPorts/
MAINTAINER= ports@FreeBSD.org
COMMENT= A utility to process Canon camera RAW (.crw) files
-LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png
+LIB_DEPENDS= png15:${PORTSDIR}/graphics/png
MAN1= crw.1
MANCOMPRESSED= yes
PLIST_FILES= bin/crw
+#CFLAGS+= -I${LOCALBASE}/include/libpng15
+
post-patch:
@${REINPLACE_CMD} -e 's,/usr/local/lib,${LOCALBASE}/lib,' \
- -e 's,/usr/local/include,${LOCALBASE}/include,' \
+ -e 's,CFLAGS=,CFLAGS+=,' \
+ -e 's,/usr/local/include,${LOCALBASE}/include,' \
${WRKSRC}/Makefile
.include <bsd.port.mk>