Lines 3-9
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= cuneiform |
4 |
PORTNAME= cuneiform |
5 |
PORTVERSION= 1.1.0 |
5 |
PORTVERSION= 1.1.0 |
6 |
PORTREVISION= 4 |
6 |
PORTREVISION= 5 |
7 |
CATEGORIES= graphics |
7 |
CATEGORIES= graphics |
8 |
MASTER_SITES= http://launchpadlibrarian.net/69906918/ |
8 |
MASTER_SITES= http://launchpadlibrarian.net/69906918/ |
9 |
DISTNAME= ${PORTNAME}-linux-${PORTVERSION} |
9 |
DISTNAME= ${PORTNAME}-linux-${PORTVERSION} |
Lines 16-43
Link Here
|
16 |
|
16 |
|
17 |
ONLY_FOR_ARCHS= i386 amd64 |
17 |
ONLY_FOR_ARCHS= i386 amd64 |
18 |
|
18 |
|
|
|
19 |
USE_GCC= 4.8+ |
19 |
USES= cmake:outsource tar:bzip2 |
20 |
USES= cmake:outsource tar:bzip2 |
20 |
USE_LDCONFIG= yes |
21 |
USE_LDCONFIG= yes |
21 |
|
22 |
|
|
|
23 |
LIB_DEPENDS+= libMagickWand-6.so:graphics/ImageMagick |
24 |
|
22 |
CPPFLAGS+= -I${LOCALBASE}/include |
25 |
CPPFLAGS+= -I${LOCALBASE}/include |
23 |
CFLAGS+= -I${LOCALBASE}/include |
26 |
CFLAGS+= -I${LOCALBASE}/include |
24 |
|
27 |
|
25 |
OPTIONS_DEFINE= IMAGEMAGICK |
|
|
26 |
|
27 |
.include <bsd.port.options.mk> |
28 |
|
29 |
.if ${PORT_OPTIONS:MIMAGEMAGICK} |
30 |
LIB_DEPENDS+= libMagickWand-6.so:${PORTSDIR}/graphics/ImageMagick |
31 |
.endif |
32 |
|
33 |
post-patch: |
28 |
post-patch: |
34 |
${MV} ${WRKSRC}/cuneiform_src/Kern/hhh/tigerh/h/strings.h \ |
29 |
${MV} ${WRKSRC}/cuneiform_src/Kern/hhh/tigerh/h/strings.h \ |
35 |
${WRKSRC}/cuneiform_src/Kern/hhh/tigerh/h/cf_strings.h |
30 |
${WRKSRC}/cuneiform_src/Kern/hhh/tigerh/h/cf_strings.h |
36 |
@${REINPLACE_CMD} -e 's:\[(uchar):\[(uchar)L:' \ |
31 |
@${REINPLACE_CMD} -e 's:\[(uchar):\[(uchar)L:' \ |
37 |
${WRKSRC}/cuneiform_src/Kern/leo/src/leo_dll.c |
32 |
${WRKSRC}/cuneiform_src/Kern/leo/src/leo_dll.c |
38 |
.if ! ${PORT_OPTIONS:MIMAGEMAGICK} |
|
|
39 |
@${REINPLACE_CMD} -e '/pkg_check_modules.*ImageMagick/ d' \ |
40 |
${WRKSRC}/cuneiform_src/Kern/CMakeLists.txt |
41 |
.endif |
42 |
|
33 |
|
43 |
.include <bsd.port.mk> |
34 |
.include <bsd.port.mk> |