Lines 2-23
Link Here
|
2 |
# $FreeBSD: head/japanese/nhocr/Makefile 327737 2013-09-20 18:47:54Z bapt $ |
2 |
# $FreeBSD: head/japanese/nhocr/Makefile 327737 2013-09-20 18:47:54Z bapt $ |
3 |
|
3 |
|
4 |
PORTNAME= nhocr |
4 |
PORTNAME= nhocr |
5 |
PORTVERSION= 0.16 |
5 |
PORTVERSION= 0.21 |
6 |
CATEGORIES= japanese graphics |
6 |
CATEGORIES= japanese graphics |
7 |
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} |
7 |
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} |
8 |
|
8 |
|
9 |
MAINTAINER= hiroto.kagotani@gmail.com |
9 |
MAINTAINER= hiroto.kagotani@gmail.com |
10 |
COMMENT= OCR engine for Japanese language |
10 |
COMMENT= OCR engine for Japanese language |
11 |
|
11 |
|
|
|
12 |
LICENSE= APACHE20 |
13 |
|
12 |
BUILD_DEPENDS= ${LOCALBASE}/lib/libsip.a:${PORTSDIR}/graphics/O2-tools |
14 |
BUILD_DEPENDS= ${LOCALBASE}/lib/libsip.a:${PORTSDIR}/graphics/O2-tools |
|
|
15 |
LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 |
13 |
|
16 |
|
14 |
GNU_CONFIGURE= yes |
17 |
GNU_CONFIGURE= yes |
15 |
CONFIGURE_ARGS= --with-O2tools=${LOCALBASE} --datadir=${DATADIR} |
18 |
CONFIGURE_ARGS= --with-O2tools=${LOCALBASE} --datadir=${DATADIR} |
16 |
|
19 |
|
17 |
NO_STAGE= yes |
|
|
18 |
post-install: |
20 |
post-install: |
19 |
${MKDIR} ${PREFIX}/share/ocropus/scripts |
21 |
${MKDIR} ${STAGEDIR}${PREFIX}/share/ocropus/scripts |
20 |
${INSTALL_DATA} ${WRKSRC}/ocropus/rec-nhocr-0.3.lua ${PREFIX}/share/ocropus/scripts/rec-nhocr.lua |
22 |
${INSTALL_DATA} ${WRKSRC}/ocropus/rec-nhocr-0.3.lua ${STAGEDIR}${PREFIX}/share/ocropus/scripts/rec-nhocr.lua |
21 |
@${CAT} ${PKGMESSAGE} |
23 |
@${CAT} ${PKGMESSAGE} |
22 |
|
24 |
|
23 |
.include <bsd.port.mk> |
25 |
.include <bsd.port.mk> |