svn commit: r319836 - head/graphics/kdc2tiff
Martin Wilke
miwi at FreeBSD.org
Tue Jun 4 08:45:43 UTC 2013
Author: miwi
Date: Tue Jun 4 08:45:42 2013
New Revision: 319836
URL: http://svnweb.freebsd.org/changeset/ports/319836
Log:
- Fix build with clang
- Add LICENSE
- Add MAKE_JOBS_SAFE
PR: 179218
Submitted by: ports fury
Modified:
head/graphics/kdc2tiff/Makefile (contents, props changed)
Modified: head/graphics/kdc2tiff/Makefile
==============================================================================
--- head/graphics/kdc2tiff/Makefile Tue Jun 4 08:26:46 2013 (r319835)
+++ head/graphics/kdc2tiff/Makefile Tue Jun 4 08:45:42 2013 (r319836)
@@ -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 at 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>
More information about the svn-ports-all
mailing list