View | Details | Raw Unified | Return to bug 175960
Collapse All | Expand All

(-)Makefile (-17 / +23 lines)
Lines 1-24 Link Here
1
# New ports collection makefile for:	leptonlib
1
# Created by: Hiroto Kagotani <hiroto.kagotani@gmail.com>
2
# Date created:		2009-05-20
3
# Whom:			Hiroto Kagotani <hiroto.kagotani@gmail.com>
4
#
5
# $FreeBSD$
2
# $FreeBSD$
6
#
7
3
8
PORTNAME=	leptonica
4
PORTNAME=	leptonica
9
PORTVERSION=	1.68
5
PORTVERSION=	1.69
10
PORTREVISION=	1
11
CATEGORIES=	graphics
6
CATEGORIES=	graphics
12
MASTER_SITES=	GOOGLE_CODE
7
MASTER_SITES=	GOOGLE_CODE
13
8
14
MAINTAINER=	hiroto.kagotani@gmail.com
9
MAINTAINER=	hiroto.kagotani@gmail.com
15
COMMENT=	C library for efficient image processing and image analysis operations
10
COMMENT=	C library for efficient image processing and image analysis operations
16
11
17
LIB_DEPENDS=	gif.5:${PORTSDIR}/graphics/giflib \
12
LIB_DEPENDS=	gif:${PORTSDIR}/graphics/giflib \
18
		jpeg.11:${PORTSDIR}/graphics/jpeg \
13
		jpeg:${PORTSDIR}/graphics/jpeg \
19
		png15:${PORTSDIR}/graphics/png \
14
		png15:${PORTSDIR}/graphics/png \
20
		tiff.4:${PORTSDIR}/graphics/tiff \
15
		tiff:${PORTSDIR}/graphics/tiff \
21
		webp.2:${PORTSDIR}/graphics/webp
16
		webp:${PORTSDIR}/graphics/webp
22
17
23
CONFLICTS=	leptonlib-[0-9]*
18
CONFLICTS=	leptonlib-[0-9]*
24
19
Lines 28-42 Link Here
28
CPPFLAGS+=	-I${LOCALBASE}/include
23
CPPFLAGS+=	-I${LOCALBASE}/include
29
LDFLAGS+=	-L${LOCALBASE}/lib
24
LDFLAGS+=	-L${LOCALBASE}/lib
30
25
26
.include <bsd.port.pre.mk>
27
28
TESTS?=	generate compare
29
.if defined(MAINTAINER_MODE) || defined(PACKAGE_BUILDING)
30
BUILD_DEPENDS+=	${LOCALBASE}/bin/gnuplot:${PORTSDIR}/math/gnuplot
31
.endif
32
#the display portion of the regression tests is interactive,
33
#and requires the use of xv, xli or xzgv as an image viewer
31
.if defined(MAINTAINER_MODE) && !defined(BATCH)
34
.if defined(MAINTAINER_MODE) && !defined(BATCH)
35
TESTS+=	display
36
.endif
37
32
check regression-test test: build
38
check regression-test test: build
33
#"display" requires the installation of graphics/xzgv
39
.for c in ${TESTS}
34
.for c in generate compare display
40
	@cd ${WRKSRC}/prog; ${SETENV} \
35
	@${SETENV} \
36
	LD_LIBRARY_PATH="${WRKSRC}/src/.libs:${LOCALBASE}/lib" \
41
	LD_LIBRARY_PATH="${WRKSRC}/src/.libs:${LOCALBASE}/lib" \
37
	PATH="${PATH}:${WRKSRC}/prog" \
38
	${WRKSRC}/prog/alltests_reg ${c}
42
	${WRKSRC}/prog/alltests_reg ${c}
39
.endfor
43
.endfor
40
44
41
.endif
45
post-install:
42
.include <bsd.port.mk>
46
	${CAT} ${PKGMESSAGE}
47
48
.include <bsd.port.post.mk>
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (leptonica-1.68.tar.gz) = acefb6c50db2913f117afdbb19a549f7409cf8fa5d9a435692cb10ff89a81f8f
1
SHA256 (leptonica-1.69.tar.gz) = 178021f2bff504cc0e30bd91a0347a82bf726eca2778b68db4b44aaee3020b11
2
SIZE (leptonica-1.68.tar.gz) = 6695020
2
SIZE (leptonica-1.69.tar.gz) = 7618131
(-)pkg-message (+2 lines)
Line 0 Link Here
1
To use the optional gplot programmatic interface to gnuplot,
2
the math/gnuplot port must be installed.
(-)pkg-plist (-5 / +9 lines)
Lines 2-8 Link Here
2
bin/adaptnorm_reg
2
bin/adaptnorm_reg
3
bin/affine_reg
3
bin/affine_reg
4
bin/alltests_reg
4
bin/alltests_reg
5
bin/alphaclean_reg
5
bin/alphaops_reg
6
bin/alphaxform_reg
6
bin/alphaxform_reg
7
bin/arithtest
7
bin/arithtest
8
bin/barcodetest
8
bin/barcodetest
Lines 26-37 Link Here
26
bin/ccthin1_reg
26
bin/ccthin1_reg
27
bin/ccthin2_reg
27
bin/ccthin2_reg
28
bin/cmapquant_reg
28
bin/cmapquant_reg
29
bin/coloring_reg
29
bin/colormask_reg
30
bin/colormask_reg
30
bin/colormorphtest
31
bin/colormorphtest
31
bin/colorquant_reg
32
bin/colorquant_reg
32
bin/colorseg_reg
33
bin/colorseg_reg
33
bin/colorsegtest
34
bin/colorsegtest
34
bin/colorspacetest
35
bin/colorspacetest
36
bin/compare_reg
35
bin/comparepages
37
bin/comparepages
36
bin/comparetest
38
bin/comparetest
37
bin/compfilter_reg
39
bin/compfilter_reg
Lines 50-59 Link Here
50
bin/cornertest
52
bin/cornertest
51
bin/croptext
53
bin/croptext
52
bin/dewarp_reg
54
bin/dewarp_reg
53
bin/dewarptest
55
bin/dewarptest1
56
bin/dewarptest2
57
bin/dewarptest3
54
bin/digitprep1
58
bin/digitprep1
55
bin/distance_reg
59
bin/distance_reg
56
bin/dithertest
60
bin/dithertest
61
bin/dna_reg
57
bin/dwalineargen
62
bin/dwalineargen
58
bin/dwamorph1_reg
63
bin/dwamorph1_reg
59
bin/dwamorph2_reg
64
bin/dwamorph2_reg
Lines 76-81 Link Here
76
bin/fmorphauto_reg
81
bin/fmorphauto_reg
77
bin/fmorphautogen
82
bin/fmorphautogen
78
bin/fpix_reg
83
bin/fpix_reg
84
bin/fpixcontours
79
bin/gammatest
85
bin/gammatest
80
bin/genfonts
86
bin/genfonts
81
bin/gifio_reg
87
bin/gifio_reg
Lines 163-169 Link Here
163
bin/rotateorth_reg
169
bin/rotateorth_reg
164
bin/rotateorthtest1
170
bin/rotateorthtest1
165
bin/rotatetest1
171
bin/rotatetest1
166
bin/rotatetest2
167
bin/runlengthtest
172
bin/runlengthtest
168
bin/scale_reg
173
bin/scale_reg
169
bin/scaleandtile
174
bin/scaleandtile
Lines 218-224 Link Here
218
include/leptonica/heap.h
223
include/leptonica/heap.h
219
include/leptonica/imageio.h
224
include/leptonica/imageio.h
220
include/leptonica/jbclass.h
225
include/leptonica/jbclass.h
221
include/leptonica/leptprotos.h
222
include/leptonica/leptwin.h
226
include/leptonica/leptwin.h
223
include/leptonica/list.h
227
include/leptonica/list.h
224
include/leptonica/morph.h
228
include/leptonica/morph.h
Lines 233-237 Link Here
233
lib/liblept.a
237
lib/liblept.a
234
lib/liblept.la
238
lib/liblept.la
235
lib/liblept.so
239
lib/liblept.so
236
lib/liblept.so.2
240
lib/liblept.so.3
237
@dirrm include/leptonica
241
@dirrm include/leptonica

Return to bug 175960