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

(-)Makefile (-17 / +18 lines)
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>
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (leptonlib-1.60.tar.gz) = 9c9b7710418a33aad35dcd7b76b6b69affdc90b2b62cce56b6c6dc93f5e7a072
1
SHA256 (leptonica-1.68.tar.gz) = acefb6c50db2913f117afdbb19a549f7409cf8fa5d9a435692cb10ff89a81f8f
2
SIZE (leptonlib-1.60.tar.gz) = 4115391
2
SIZE (leptonica-1.68.tar.gz) = 6695020
(-)pkg-plist (-23 / +234 lines)
Lines 1-26 Link Here
1
include/liblept/allheaders.h
1
bin/adaptmaptest
2
include/liblept/alltypes.h
2
bin/adaptnorm_reg
3
include/liblept/arrayaccess.h
3
bin/affine_reg
4
include/liblept/array.h
4
bin/alltests_reg
5
include/liblept/bbuffer.h
5
bin/alphaclean_reg
6
include/liblept/bmf.h
6
bin/alphaxform_reg
7
include/liblept/bmp.h
7
bin/arithtest
8
include/liblept/ccbord.h
8
bin/barcodetest
9
include/liblept/environ.h
9
bin/baselinetest
10
include/liblept/gplot.h
10
bin/bilinear_reg
11
include/liblept/imageio.h
11
bin/binarize_reg
12
include/liblept/jbclass.h
12
bin/bincompare
13
include/liblept/leptprotos.h
13
bin/binmorph1_reg
14
include/liblept/list.h
14
bin/binmorph2_reg
15
include/liblept/morph.h
15
bin/binmorph3_reg
16
include/liblept/pheap.h
16
bin/binmorph4_reg
17
include/liblept/pix.h
17
bin/binmorph5_reg
18
include/liblept/pqueue.h
18
bin/blend2_reg
19
include/liblept/readbarcode.h
19
bin/blend_reg
20
include/liblept/stack.h
20
bin/blendcmaptest
21
include/liblept/watershed.h
21
bin/blendtest1
22
bin/buffertest
23
bin/byteatest
24
bin/ccbordtest
25
bin/cctest1
26
bin/ccthin1_reg
27
bin/ccthin2_reg
28
bin/cmapquant_reg
29
bin/colormask_reg
30
bin/colormorphtest
31
bin/colorquant_reg
32
bin/colorseg_reg
33
bin/colorsegtest
34
bin/colorspacetest
35
bin/comparepages
36
bin/comparetest
37
bin/compfilter_reg
38
bin/conncomp_reg
39
bin/contrasttest
40
bin/conversion_reg
41
bin/convertfilestopdf
42
bin/convertfilestops
43
bin/convertformat
44
bin/convertsegfilestopdf
45
bin/convertsegfilestops
46
bin/converttogray
47
bin/converttops
48
bin/convolve_reg
49
bin/convolvetest
50
bin/cornertest
51
bin/croptext
52
bin/dewarp_reg
53
bin/dewarptest
54
bin/digitprep1
55
bin/distance_reg
56
bin/dithertest
57
bin/dwalineargen
58
bin/dwamorph1_reg
59
bin/dwamorph2_reg
60
bin/edgetest
61
bin/enhance_reg
62
bin/equal_reg
63
bin/expand_reg
64
bin/extrema_reg
65
bin/falsecolortest
66
bin/fcombautogen
67
bin/fhmtauto_reg
68
bin/fhmtautogen
69
bin/fileinfo
70
bin/findpattern1
71
bin/findpattern2
72
bin/findpattern3
73
bin/findpattern_reg
74
bin/flipdetect_reg
75
bin/flipselgen
76
bin/fmorphauto_reg
77
bin/fmorphautogen
78
bin/fpix_reg
79
bin/gammatest
80
bin/genfonts
81
bin/gifio_reg
82
bin/graphicstest
83
bin/grayfill_reg
84
bin/graymorph1_reg
85
bin/graymorph2_reg
86
bin/graymorphtest
87
bin/grayquant_reg
88
bin/hardlight_reg
89
bin/heap_reg
90
bin/histotest
91
bin/inserttest
92
bin/ioformats_reg
93
bin/iotest
94
bin/jbcorrelation
95
bin/jbrankhaus
96
bin/jbwords
97
bin/kernel_reg
98
bin/lineremoval
99
bin/listtest
100
bin/livre_adapt
101
bin/livre_hmt
102
bin/livre_makefigs
103
bin/livre_orient
104
bin/livre_pageseg
105
bin/livre_seedgen
106
bin/livre_tophat
107
bin/locminmax_reg
108
bin/logicops_reg
109
bin/lowaccess_reg
110
bin/maketile
111
bin/maze_reg
112
bin/misctest1
113
bin/modifyhuesat
114
bin/morphseq_reg
115
bin/morphtest1
116
bin/mtifftest
117
bin/numa_reg
118
bin/numaranktest
119
bin/otsutest1
120
bin/otsutest2
121
bin/overlap_reg
122
bin/pagesegtest1
123
bin/pagesegtest2
124
bin/paint_reg
125
bin/paintmask_reg
126
bin/partitiontest
127
bin/pdfiotest
128
bin/pdfseg_reg
129
bin/pixa1_reg
130
bin/pixa2_reg
131
bin/pixaatest
132
bin/pixadisp_reg
133
bin/pixalloc_reg
134
bin/pixcomp_reg
135
bin/pixmem_reg
136
bin/pixserial_reg
137
bin/pixtile_reg
138
bin/plottest
139
bin/pngio_reg
140
bin/printimage
141
bin/printsplitimage
142
bin/printtiff
143
bin/projection_reg
144
bin/projective_reg
145
bin/psio_reg
146
bin/psioseg_reg
147
bin/pta_reg
148
bin/ptra1_reg
149
bin/ptra2_reg
150
bin/quadtreetest
151
bin/rank_reg
152
bin/rankbin_reg
153
bin/rankhisto_reg
154
bin/ranktest
155
bin/rasterop_reg
156
bin/rasteropip_reg
157
bin/reducetest
158
bin/removecmap
159
bin/renderfonts
160
bin/rotate1_reg
161
bin/rotate2_reg
162
bin/rotatefastalt
163
bin/rotateorth_reg
164
bin/rotateorthtest1
165
bin/rotatetest1
166
bin/rotatetest2
167
bin/runlengthtest
168
bin/scale_reg
169
bin/scaleandtile
170
bin/scaletest1
171
bin/scaletest2
172
bin/seedfilltest
173
bin/seedspread_reg
174
bin/selio_reg
175
bin/sharptest
176
bin/shear2_reg
177
bin/shear_reg
178
bin/sheartest
179
bin/showedges
180
bin/skew_reg
181
bin/skewtest
182
bin/smallpix_reg
183
bin/smoothedge_reg
184
bin/snapcolortest
185
bin/sorttest
186
bin/splitcomp_reg
187
bin/splitimage2pdf
188
bin/string_reg
189
bin/subpixel_reg
190
bin/sudokutest
191
bin/textlinemask
192
bin/threshnorm_reg
193
bin/translate_reg
194
bin/trctest
195
bin/viewertest
196
bin/warper_reg
197
bin/warpertest
198
bin/watershedtest
199
bin/wordsinorder
200
bin/writemtiff
201
bin/writetext_reg
202
bin/xformbox_reg
203
bin/xtractprotos
204
bin/xvdisp
205
bin/yuvtest
206
include/leptonica/allheaders.h
207
include/leptonica/alltypes.h
208
include/leptonica/arrayaccess.h
209
include/leptonica/array.h
210
include/leptonica/bbuffer.h
211
include/leptonica/bmf.h
212
include/leptonica/bmp.h
213
include/leptonica/ccbord.h
214
include/leptonica/dewarp.h
215
include/leptonica/endianness.h
216
include/leptonica/environ.h
217
include/leptonica/gplot.h
218
include/leptonica/heap.h
219
include/leptonica/imageio.h
220
include/leptonica/jbclass.h
221
include/leptonica/leptprotos.h
222
include/leptonica/leptwin.h
223
include/leptonica/list.h
224
include/leptonica/morph.h
225
include/leptonica/pix.h
226
include/leptonica/ptra.h
227
include/leptonica/queue.h
228
include/leptonica/readbarcode.h
229
include/leptonica/regutils.h
230
include/leptonica/stack.h
231
include/leptonica/sudoku.h
232
include/leptonica/watershed.h
22
lib/liblept.a
233
lib/liblept.a
23
lib/liblept.la
234
lib/liblept.la
24
lib/liblept.so
235
lib/liblept.so
25
lib/liblept.so.0
236
lib/liblept.so.2
26
@dirrm include/liblept
237
@dirrm include/leptonica
(-)files/patch-configure.ac (-11 lines)
Removed Link Here
1
--- ./configure.ac.orig	2009-01-19 14:30:19.000000000 +0900
2
+++ ./configure.ac	2009-05-21 00:15:20.000000000 +0900
3
@@ -114,7 +114,7 @@
4
 
5
 # Check where all the following programs are and set
6
 # variables accordingly:
7
-AC_PROG_RANLIB
8
+AM_PROG_LIBTOOL
9
 # AC_PROG_LN_S
10
 # AC_PATH_PROG(MV, mv)
11
 # AC_PATH_PROG(CP, cp)
(-)files/patch-src__Makefile.am (-24 lines)
Removed Link Here
1
--- src/Makefile.am.orig	2009-01-19 08:30:19.000000000 +0300
2
+++ src/Makefile.am	2009-05-21 21:55:01.000000000 +0400
3
@@ -6,10 +6,9 @@
4
 MAKE = make -f Makefile
5
 AM_CFLAGS = -D_BSD_SOURCE -DANSI -fPIC
6
 AM_CPPFLAGS = $(ENDIANNESS)
7
-CFLAGS = -O2
8
 
9
-lib_LIBRARIES = liblept.a
10
-liblept_a_SOURCES = adaptmap.c \
11
+lib_LTLIBRARIES = liblept.la
12
+liblept_la_SOURCES = adaptmap.c \
13
  affine.c affinecompose.c \
14
  arithlow.c arrayaccess.c \
15
  bardecode.c \
16
@@ -73,7 +72,7 @@
17
 
18
 include_HEADERS = allheaders.h alltypes.h arrayaccess.h \
19
  array.h bbuffer.h bmf.h bmp.h ccbord.h environ.h \
20
- gplot.h imageio.h jbclass.h jmorecfg.h jpeglib.h leptprotos.h list.h \
21
+ gplot.h imageio.h jbclass.h leptprotos.h list.h \
22
  morph.h pheap.h pix.h pqueue.h readbarcode.h stack.h watershed.h
23
 
24
 EXTRA_DIST = Makefile.mingw arrayaccess.h.vc arrayaccess.h.vc60 \

Return to bug 163153