summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbsam <bsam@FreeBSD.org>2013-08-28 12:47:11 +0000
committerbsam <bsam@FreeBSD.org>2013-08-28 12:47:11 +0000
commit05f0d12a95dde459be5f856e76976aa745119402 (patch)
tree13cae206af43f2ee16df2214ccbe954cb18795c9
parentbd121b1f1812793455e7726046fcb2c661e1a831 (diff)
downloadFreeBSD-ports-05f0d12a95dde459be5f856e76976aa745119402.zip
FreeBSD-ports-05f0d12a95dde459be5f856e76976aa745119402.tar.gz
. fix build with clang (error: character too large for enclosing character literal type);
. add LICENSE (BSD), bump PORTREVISION; . remove unneeded WRKSRC creation; . use new LIB_DEPENDS syntax. PR: ports/181611 Submitted by: bsam (me) Approved by: Alex Samorukov <samm@os2.kiev.ua> (maintainer)
-rw-r--r--graphics/cuneiform/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/graphics/cuneiform/Makefile b/graphics/cuneiform/Makefile
index 8e887f3..6229a41 100644
--- a/graphics/cuneiform/Makefile
+++ b/graphics/cuneiform/Makefile
@@ -3,7 +3,7 @@
PORTNAME= cuneiform
PORTVERSION= 1.1.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= graphics
MASTER_SITES= http://launchpadlibrarian.net/69906918/
DISTNAME= ${PORTNAME}-linux-${PORTVERSION}
@@ -11,6 +11,9 @@ DISTNAME= ${PORTNAME}-linux-${PORTVERSION}
MAINTAINER= samm@os2.kiev.ua
COMMENT= OCR system developed and open sourced by Cognitive technologies
+LICENSE= BSD
+LICENSE_FILE= ${WRKSRC}/cuneiform_src/Kern/license.txt
+
ONLY_FOR_ARCHS= i386 amd64
USE_BZIP2= yes
@@ -25,15 +28,14 @@ OPTIONS_DEFINE= IMAGEMAGICK
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MIMAGEMAGICK}
-LIB_DEPENDS+= MagickWand:${PORTSDIR}/graphics/ImageMagick
+LIB_DEPENDS+= libMagickWand.so:${PORTSDIR}/graphics/ImageMagick
.endif
-post-extract:
- ${MKDIR} ${WRKSRC}
-
post-patch:
${MV} ${WRKSRC}/cuneiform_src/Kern/hhh/tigerh/h/strings.h \
${WRKSRC}/cuneiform_src/Kern/hhh/tigerh/h/cf_strings.h
+ @${REINPLACE_CMD} -e 's:\[(uchar):\[(uchar)L:' \
+ ${WRKSRC}/cuneiform_src/Kern/leo/src/leo_dll.c
.if ! ${PORT_OPTIONS:MIMAGEMAGICK}
@${REINPLACE_CMD} -e '/pkg_check_modules.*ImageMagick/ d' \
${WRKSRC}/cuneiform_src/Kern/CMakeLists.txt
OpenPOWER on IntegriCloud