aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/crw/Makefile
diff options
context:
space:
mode:
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>