aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2013-06-04 08:45:42 +0000
committerMartin Wilke <miwi@FreeBSD.org>2013-06-04 08:45:42 +0000
commit8c759ee845219ef315672f49f1218fce24e003aa (patch)
tree47af6ac172021e4696cf9eeeefb6b9af2f305930
parentee00973678b95324d58dc0572802e7169c1345de (diff)
downloadports-8c759ee845219ef315672f49f1218fce24e003aa.tar.gz
ports-8c759ee845219ef315672f49f1218fce24e003aa.zip
Notes
-rw-r--r--graphics/kdc2tiff/Makefile18
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>