|
Lines 6-27
Link Here
|
| 6 |
# |
6 |
# |
| 7 |
|
7 |
|
| 8 |
PORTNAME= iulib |
8 |
PORTNAME= iulib |
| 9 |
PORTVERSION= 0.3 |
9 |
PORTVERSION= 0.4 |
| 10 |
CATEGORIES= graphics |
10 |
CATEGORIES= graphics |
| 11 |
MASTER_SITES= GOOGLE_CODE |
11 |
MASTER_SITES= GOOGLE_CODE |
|
|
12 |
EXTRACT_SUFX= .tgz |
| 12 |
|
13 |
|
| 13 |
MAINTAINER= hiroto.kagotani@gmail.com |
14 |
MAINTAINER= hiroto.kagotani@gmail.com |
| 14 |
COMMENT= A library of image understanding-related algorithms |
15 |
COMMENT= A library of image understanding-related algorithms |
| 15 |
|
16 |
|
| 16 |
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \ |
17 |
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \ |
| 17 |
jpeg.9:${PORTSDIR}/graphics/jpeg |
18 |
jpeg.9:${PORTSDIR}/graphics/jpeg \ |
|
|
19 |
tiff.4:${PORTSDIR}/graphics/tiff |
| 18 |
|
20 |
|
| 19 |
WRKSRC= ${WRKDIR}/iulib |
21 |
OPTIONS= SDL "Enable SDL for graphical debugging" off \ |
| 20 |
|
|
|
| 21 |
OPTIONS= SDL "Enable SDL" off \ |
| 22 |
VIDIO "Enable Video Input/Output (using ffmpeg)" off |
22 |
VIDIO "Enable Video Input/Output (using ffmpeg)" off |
| 23 |
|
23 |
|
| 24 |
MAKE_JOBS_SAFE= yes |
24 |
MAKE_JOBS_SAFE= yes |
|
|
25 |
USE_PYTHON_BUILD= yes |
| 25 |
USE_AUTOTOOLS= libtool:15 aclocal:110 automake:110 autoconf:262 |
26 |
USE_AUTOTOOLS= libtool:15 aclocal:110 automake:110 autoconf:262 |
| 26 |
ACLOCAL_ARGS= --acdir=${ACLOCAL_DIR} -I${LOCALBASE}/share/aclocal |
27 |
ACLOCAL_ARGS= --acdir=${ACLOCAL_DIR} -I${LOCALBASE}/share/aclocal |
| 27 |
USE_LDCONFIG= yes |
28 |
USE_LDCONFIG= yes |
|
Lines 36-55
Link Here
|
| 36 |
.endif |
37 |
.endif |
| 37 |
|
38 |
|
| 38 |
.if !defined(WITH_VIDIO) |
39 |
.if !defined(WITH_VIDIO) |
| 39 |
PLIST_SUB+= VIDIO="@comment " |
|
|
| 40 |
.else |
| 41 |
LIB_DEPENDS+= avcodec.1:${PORTSDIR}/multimedia/ffmpeg |
| 42 |
PLIST_SUB+= VIDIO="" |
| 43 |
.endif |
| 44 |
|
| 45 |
post-patch: |
40 |
post-patch: |
| 46 |
@${REINPLACE_CMD} -e '/tiff/s/^/#/' ${WRKSRC}/configure.ac |
|
|
| 47 |
.if !defined(WITH_VIDIO) |
| 48 |
@${REINPLACE_CMD} -e 's/novidio, 0/novidio, 1/' ${WRKSRC}/configure.ac |
41 |
@${REINPLACE_CMD} -e 's/novidio, 0/novidio, 1/' ${WRKSRC}/configure.ac |
|
|
42 |
.else |
| 43 |
LIB_DEPENDS+= avcodec.1:${PORTSDIR}/multimedia/ffmpeg |
| 49 |
.endif |
44 |
.endif |
| 50 |
|
45 |
|
| 51 |
pre-configure: |
46 |
pre-configure: |
| 52 |
@(cd ${CONFIGURE_WRKSRC} \ |
47 |
@(cd ${CONFIGURE_WRKSRC} \ |
|
|
48 |
&& ${SETENV} ${PYTHON_CMD} genAM.py >Makefile.am \ |
| 53 |
&& ${SETENV} ${AUTOTOOLS_ENV} ${LIBTOOLIZE} --automake) |
49 |
&& ${SETENV} ${AUTOTOOLS_ENV} ${LIBTOOLIZE} --automake) |
| 54 |
|
50 |
|
| 55 |
run-autotools: run-autotools-aclocal run-autotools-automake run-autotools-autoconf |
51 |
run-autotools: run-autotools-aclocal run-autotools-automake run-autotools-autoconf |