Lines 5-40
Link Here
|
5 |
# $FreeBSD: ports/graphics/leptonica/Makefile,v 1.11 2011/09/23 22:23:17 amdmi3 Exp $ |
5 |
# $FreeBSD: ports/graphics/leptonica/Makefile,v 1.11 2011/09/23 22:23:17 amdmi3 Exp $ |
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= leptonlib |
8 |
PORTNAME= leptonica |
9 |
PORTVERSION= 1.60 |
9 |
PORTVERSION= 1.68 |
10 |
PORTREVISION= 4 |
|
|
11 |
CATEGORIES= graphics |
10 |
CATEGORIES= graphics |
12 |
MASTER_SITES= GOOGLE_CODE |
11 |
MASTER_SITES= GOOGLE_CODE |
13 |
|
12 |
|
14 |
MAINTAINER= hiroto.kagotani@gmail.com |
13 |
MAINTAINER= hiroto.kagotani@gmail.com |
15 |
COMMENT= C library for efficient image processing and image analysis operations |
14 |
COMMENT= C library for efficient image processing and image analysis operations |
16 |
|
15 |
|
17 |
LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png \ |
16 |
LIB_DEPENDS= gif.5:${PORTSDIR}/graphics/giflib \ |
18 |
jpeg.11:${PORTSDIR}/graphics/jpeg \ |
17 |
jpeg.11:${PORTSDIR}/graphics/jpeg \ |
19 |
tiff.4:${PORTSDIR}/graphics/tiff |
18 |
png.6:${PORTSDIR}/graphics/png \ |
|
|
19 |
tiff.4:${PORTSDIR}/graphics/tiff \ |
20 |
webp.2:${PORTSDIR}/graphics/webp |
20 |
|
21 |
|
21 |
PROJECTHOST= leptonica |
22 |
CONFLICTS= leptonlib-[0-9]* |
22 |
|
23 |
|
|
|
24 |
GNU_CONFIGURE= yes |
23 |
MAKE_JOBS_SAFE= yes |
25 |
MAKE_JOBS_SAFE= yes |
24 |
USE_AUTOTOOLS= libtool aclocal automake autoconf |
|
|
25 |
ACLOCAL_ARGS= --acdir=${ACLOCAL_DIR} -I${LOCALBASE}/share/aclocal |
26 |
USE_LDCONFIG= yes |
26 |
USE_LDCONFIG= yes |
27 |
CPPFLAGS+= -I${LOCALBASE}/include |
27 |
CPPFLAGS+= -I${LOCALBASE}/include |
28 |
LDFLAGS+= -L${LOCALBASE}/lib |
28 |
LDFLAGS+= -L${LOCALBASE}/lib |
29 |
|
29 |
|
30 |
post-patch: |
30 |
.if defined(MAINTAINER_MODE) && !defined(BATCH) |
31 |
@${MV} ${WRKSRC}/src/makefile ${WRKSRC}/src/makefile.linux |
31 |
check regression-test test: build |
32 |
@${RM} ${WRKSRC}/src/jpeglib.h ${WRKSRC}/src/jmorecfg.h |
32 |
#"display" requires the installation of graphics/xzgv |
33 |
|
33 |
.for c in generate compare display |
34 |
pre-configure: |
34 |
@${SETENV} \ |
35 |
@(cd ${CONFIGURE_WRKSRC} \ |
35 |
LD_LIBRARY_PATH="${WRKSRC}/src/.libs:${LOCALBASE}/lib" \ |
36 |
&& ${SETENV} ${AUTOTOOLS_ENV} ${LIBTOOLIZE} --automake) |
36 |
PATH="${PATH}:${WRKSRC}/prog" \ |
37 |
|
37 |
${WRKSRC}/prog/alltests_reg ${c} |
38 |
run-autotools:: run-autotools-aclocal run-autotools-automake run-autotools-autoconf |
38 |
.endfor |
39 |
|
39 |
|
|
|
40 |
.endif |
40 |
.include <bsd.port.mk> |
41 |
.include <bsd.port.mk> |