- Update to 0.7.0

PR:		136623
Submitted by:	Alex Samorukov <samm@os2.kiev.ua> (maintainer)
This commit is contained in:
Dmitry Marakasov 2009-07-09 18:53:28 +00:00
parent 22819fb94d
commit 3d8f51a282
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=237533
3 changed files with 24 additions and 18 deletions

View file

@ -6,25 +6,21 @@
#
PORTNAME= cuneiform
PORTVERSION= 0.5.0
PORTREVISION= 2
PORTVERSION= 0.7.0
CATEGORIES= graphics
MASTER_SITES= https://launchpad.net/cuneiform-linux/${PORTVERSION:R}/${PORTVERSION:R}/+download/
DISTNAME= ${PORTNAME}-${PORTVERSION:R}
DISTNAME= ${PORTNAME}-linux-${PORTVERSION:R}
MAINTAINER= samm@os2.kiev.ua
COMMENT= OCR system developed and open sourced by Cognitive technologies
LIB_DEPENDS= dlmalloc.2:${PORTSDIR}/devel/libdlmalloc
ONLY_FOR_ARCHS= i386 amd64
USE_BZIP2= yes
USE_CMAKE= yes
CMAKE_ARGS= -DCMAKE_EXE_LINKER_FLAGS="-L${LOCALBASE}/lib -ldlmalloc"
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/build
WRKSRC= ${WRKDIR}/${PORTNAME}-linux-${PORTVERSION:R}/build
CMAKE_SOURCE_PATH=..
CPPFLAGS+= -I${LOCALBASE}/include
@ -34,6 +30,11 @@ OPTIONS= IMAGEMAGICK "Enable support of different graphic formats" off
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 700000
LIB_DEPENDS= dlmalloc.2:${PORTSDIR}/devel/libdlmalloc
CMAKE_ARGS= -DCMAKE_EXE_LINKER_FLAGS="-L${LOCALBASE}/lib -ldlmalloc"
.endif
.if defined(WITH_IMAGEMAGICK)
LIB_DEPENDS+= MagickWand.2:${PORTSDIR}/graphics/ImageMagick
.endif
@ -46,5 +47,10 @@ post-patch:
@${REINPLACE_CMD} -e '/pkg_check_modules.*ImageMagick/ d' \
${WRKSRC}/../cuneiform_src/Kern/CMakeLists.txt
.endif
.if ${OSVERSION} < 700000
@${REINPLACE_CMD} -e 's|malloc_np.h|dlmalloc/malloc.h|' \
${WRKSRC}/../cuneiform_src/Kern/windummy.c \
${WRKSRC}/../cuneiform_src/Kern/rbal/src/statsearchbl.cpp
.endif
.include <bsd.port.post.mk>

View file

@ -1,3 +1,3 @@
MD5 (cuneiform-0.5.tar.bz2) = 081bc59aa93880e4de2ee0117cc0a3b4
SHA256 (cuneiform-0.5.tar.bz2) = ab2f9a80d8d541cc00769fc7099846e3410607e9f3d7660b23d088ac03f4c7dd
SIZE (cuneiform-0.5.tar.bz2) = 30109795
MD5 (cuneiform-linux-0.7.tar.bz2) = a13c91a4c2f88b7573e1b3d3306436e2
SHA256 (cuneiform-linux-0.7.tar.bz2) = c2d250467e05336dcfd4ef5df5ed39ad803966b64c8b57afdc4677a410f5fcec
SIZE (cuneiform-linux-0.7.tar.bz2) = 29158105

View file

@ -5,21 +5,21 @@ lib/libcfio.so
lib/libcimage.so
lib/libcline.so
lib/libcpage.so
lib/libcpu.so
lib/libcpu32.so
lib/libcstr.so
lib/libctb32.so
lib/libdif.so
lib/libdif32.so
lib/libevn32.so
lib/libexc.so
lib/libfon.so
lib/libleo.so
lib/libfon32.so
lib/libleo32.so
lib/liblns32.so
lib/libloc.so
lib/libmmx.so
lib/libmsk.so
lib/libloc32.so
lib/libmmx32.so
lib/libmsk32.so
lib/libpass2.so
lib/libpuma.so
lib/libr35.so
lib/libr3532.so
lib/librbal.so
lib/librblock.so
lib/librcorrkegl.so