freebsd-ports/graphics/kdc2tiff/Makefile

32 lines
562 B
Makefile
Raw Normal View History

# Created by: will
# $FreeBSD$
PORTNAME= kdc2tiff
PORTVERSION= 0.35
2010-02-05 12:46:55 +01:00
PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
2003-02-20 19:08:19 +01:00
COMMENT= Converts Kodak .kdc to TIFF or JPEG formats
LICENSE= GPLv2
LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \
tiff:${PORTSDIR}/graphics/tiff
USE_GMAKE= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PLIST_FILES= bin/kdc2jpeg bin/kdc2tiff
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e \
's|^main|int main|' ${WRKSRC}/kdc2tiff.cpp
.include <bsd.port.mk>