From 3f485d6729eb2b206c6e380dbb9ffb4e12999c48 Mon Sep 17 00:00:00 2001 From: miwi Date: Tue, 4 Jun 2013 08:45:42 +0000 Subject: - Fix build with clang - Add LICENSE - Add MAKE_JOBS_SAFE PR: 179218 Submitted by: ports fury --- graphics/kdc2tiff/Makefile | 18 +++++++++++------- 1 file 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 -- cgit