aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/crw/Makefile
blob: bbdcd16840c6567b9fe6faca2a6a41072c947a0c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Created by: dillon
# $FreeBSD$

PORTNAME=   crw
PORTVERSION=    1.03
PORTREVISION=   2
CATEGORIES= graphics
MASTER_SITES=   http://apollo.backplane.com/FreeBSDPorts/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Utility to process Canon camera RAW (.crw) files

LIB_DEPENDS=    libpng.so:${PORTSDIR}/graphics/png

USES=       uidfix

PLIST_FILES=    bin/crw man/man1/crw.1.gz

#CFLAGS+=   -I${LOCALBASE}/include/libpng15

post-patch:
    @${REINPLACE_CMD} -e 's,/usr/local/lib,${LOCALBASE}/lib,' \
        -e 's,CFLAGS=,CFLAGS+=,' \
        -e 's,/usr/local/include,${LOCALBASE}/include,' \
        ${WRKSRC}/Makefile

.include <bsd.port.mk>