summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2013-06-04 08:45:42 +0000
committermiwi <miwi@FreeBSD.org>2013-06-04 08:45:42 +0000
commit3f485d6729eb2b206c6e380dbb9ffb4e12999c48 (patch)
tree47af6ac172021e4696cf9eeeefb6b9af2f305930
parent3e71ab37ee39141e8a49c79bf9aafe794ea0db5f (diff)
downloadFreeBSD-ports-3f485d6729eb2b206c6e380dbb9ffb4e12999c48.zip
FreeBSD-ports-3f485d6729eb2b206c6e380dbb9ffb4e12999c48.tar.gz
- Fix build with clang
- Add LICENSE - Add MAKE_JOBS_SAFE PR: 179218 Submitted by: ports fury
-rw-r--r--graphics/kdc2tiff/Makefile18
1 files changed, 11 insertions, 7 deletions
diff --git a/graphics/kdc2tiff/Makefile b/graphics/kdc2tiff/Makefile
index 54ac173..8ea4be5 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>
OpenPOWER on IntegriCloud