blob: 1e1376359fccee1a6a87f1a5abe4bfe7e4186f6e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# New ports collection makefile for: gocr
# Date created: 03 June 2002
# Whom: Kay Lehmann
#
# $FreeBSD$
#
PORTNAME= gocr
PORTVERSION= 0.46
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= SF/jocr
MAINTAINER= adox@mcx2.org
COMMENT= An OCR (Optical Character Recognition) program
LIB_DEPENDS= netpbm.1:${PORTSDIR}/graphics/netpbm
USE_GNOME= gnometarget
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-netpbm=${LOCALBASE}
MAKE_ARGS= prefix=${PREFIX} exec_prefix=${PREFIX} DESTDIR=${DESTDIR}
MAN1= gocr.1
PORTDOCS= examples.txt gocr.html unicode.txt
PLIST_FILES= bin/gocr
.if !defined(WITHOUT_X11)
USE_TK_WRAPPER= yes
PLIST_FILES+= bin/gocr.tcl
.endif
post-patch:
.if defined(WITHOUT_X11)
@${REINPLACE_CMD} -e '/gocr.tcl/d' ${WRKSRC}/src/Makefile.in
.endif
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@(cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
.endif
.include <bsd.port.mk>
|