Lines 3-9
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= zbar |
4 |
PORTNAME= zbar |
5 |
PORTVERSION= 0.10 |
5 |
PORTVERSION= 0.10 |
6 |
PORTREVISION= 16 |
6 |
PORTREVISION= 17 |
7 |
CATEGORIES= graphics |
7 |
CATEGORIES= graphics |
8 |
MASTER_SITES= SF |
8 |
MASTER_SITES= SF |
9 |
|
9 |
|
Lines 12-26
Link Here
|
12 |
|
12 |
|
13 |
LICENSE= LGPL21 |
13 |
LICENSE= LGPL21 |
14 |
|
14 |
|
|
|
15 |
USES= iconv jpeg libtool gmake pathfix pkgconfig |
16 |
USE_LDCONFIG= yes |
17 |
|
15 |
GNU_CONFIGURE= yes |
18 |
GNU_CONFIGURE= yes |
16 |
USE_LDCONFIG= yes |
|
|
17 |
USES= iconv jpeg libtool gmake pathfix pkgconfig |
18 |
INSTALL_TARGET= install-strip |
19 |
INSTALL_TARGET= install-strip |
19 |
|
|
|
20 |
CONFIGURE_ARGS= --with-jpeg=yes |
20 |
CONFIGURE_ARGS= --with-jpeg=yes |
21 |
|
21 |
|
22 |
OPTIONS_DEFINE= X11 IMAGEMAGICK V4L PYTHON GTK2 QT4 DOCS |
22 |
OPTIONS_DEFINE= X11 V4L PYTHON GTK2 QT4 DOCS |
23 |
OPTIONS_DEFAULT=X11 IMAGEMAGICK |
23 |
OPTIONS_DEFAULT=X11 V7 |
|
|
24 |
OPTIONS_RADIO= IMAGEMAGICK |
25 |
OPTIONS_RADIO_IMAGEMAGICK= V6 V7 |
24 |
OPTIONS_SUB= yes |
26 |
OPTIONS_SUB= yes |
25 |
V4L_DESC= Build zbarcam video scanner |
27 |
V4L_DESC= Build zbarcam video scanner |
26 |
|
28 |
|
Lines 28-37
Link Here
|
28 |
X11_CONFIGURE_ON= --with-x=yes |
30 |
X11_CONFIGURE_ON= --with-x=yes |
29 |
X11_CONFIGURE_OFF= --with-x=no --without-xshm --without-xv |
31 |
X11_CONFIGURE_OFF= --with-x=no --without-xshm --without-xv |
30 |
|
32 |
|
31 |
IMAGEMAGICK_LIB_DEPENDS= libMagick++-7.so:graphics/ImageMagick7 |
33 |
V6_DESC= With ImageMagick6 |
32 |
IMAGEMAGICK_CONFIGURE_ON= --with-imagemagick=yes |
34 |
V6_LIB_DEPENDS= libMagick++-6.so:graphics/ImageMagick6 |
33 |
IMAGEMAGICK_CONFIGURE_OFF= --with-imagemagick=no |
35 |
V6_CONFIGURE_ON= --with-imagemagick=yes |
34 |
|
36 |
|
|
|
37 |
V7_DESC= With ImageMagick7 |
38 |
V7_LIB_DEPENDS= libMagick++-7.so:graphics/ImageMagick7 |
39 |
V7_CONFIGURE_ON= --with-imagemagick=yes |
40 |
|
41 |
.if empty(VARIABLE:MV6) && empty(VARIABLE:MV7) |
42 |
CONFIGURE_ARGS+= --with-imagemagick=no |
43 |
.endif |
44 |
|
35 |
# To avoid patching configure even more: |
45 |
# To avoid patching configure even more: |
36 |
CONFIGURE_ENV+= ac_cv_header_wand_MagickWand_h=yes |
46 |
CONFIGURE_ENV+= ac_cv_header_wand_MagickWand_h=yes |
37 |
|
47 |
|