diff options
Diffstat (limited to 'graphics/kdc2tiff/Makefile')
-rw-r--r-- | graphics/kdc2tiff/Makefile | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/graphics/kdc2tiff/Makefile b/graphics/kdc2tiff/Makefile index 54ac173cf81c..8ea4be5390af 100644 --- a/graphics/kdc2tiff/Makefile +++ b/graphics/kdc2tiff/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: kdc2tiff -# Date created: Tue 04 Jul 2000 -# Whom: will -# +# Created by: will # $FreeBSD$ -# PORTNAME= kdc2tiff PORTVERSION= 0.35 @@ -14,14 +10,22 @@ MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Converts Kodak .kdc to TIFF or JPEG formats -LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg \ - tiff.4:${PORTSDIR}/graphics/tiff +LICENSE= GPLv2 + +LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \ + tiff:${PORTSDIR}/graphics/tiff USE_GMAKE= yes GNU_CONFIGURE= yes +MAKE_JOBS_SAFE= yes + CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib PLIST_FILES= bin/kdc2jpeg bin/kdc2tiff +post-patch: + @${REINPLACE_CMD} -e \ + 's|^main|int main|' ${WRKSRC}/kdc2tiff.cpp + .include <bsd.port.mk> |