diff options
author | Stefan Walter <stefan@FreeBSD.org> | 2006-06-17 19:47:58 +0000 |
---|---|---|
committer | Stefan Walter <stefan@FreeBSD.org> | 2006-06-17 19:47:58 +0000 |
commit | e9285d361c0d45ec615500e39d38e4993a5c6759 (patch) | |
tree | ad27d646ec58243d0a474f2657de7b607b8a2a3b /graphics/vigra/Makefile | |
parent | 0cb2b8a64d0d6363375d2f5add9de9b77106ae93 (diff) | |
download | ports-e9285d361c0d45ec615500e39d38e4993a5c6759.tar.gz ports-e9285d361c0d45ec615500e39d38e4993a5c6759.zip |
Notes
Diffstat (limited to 'graphics/vigra/Makefile')
-rw-r--r-- | graphics/vigra/Makefile | 47 |
1 files changed, 35 insertions, 12 deletions
diff --git a/graphics/vigra/Makefile b/graphics/vigra/Makefile index bd4c2cd86cbb..24963eb52075 100644 --- a/graphics/vigra/Makefile +++ b/graphics/vigra/Makefile @@ -10,8 +10,7 @@ # The hugin port is a gui interface to interact with panorama tools. PORTNAME= vigra -PORTVERSION= 1.3.2 -PORTREVISION= 2 +PORTVERSION= 1.4.0 CATEGORIES= graphics MASTER_SITES= http://kogs-www.informatik.uni-hamburg.de/~koethe/vigra/ DISTNAME= ${PORTNAME}${PORTVERSION} @@ -19,21 +18,45 @@ DISTNAME= ${PORTNAME}${PORTVERSION} MAINTAINER= cartola@openit.com.br COMMENT= VIGRA stands for "Vision with Generic Algorithms" -LIB_DEPENDS= tiff:${PORTSDIR}/graphics/tiff \ - png:${PORTSDIR}/graphics/png \ - jpeg:${PORTSDIR}/graphics/jpeg \ - fftw3:${PORTSDIR}/math/fftw3 - HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix=${PREFIX} \ - --with-tiff \ - --with-jpeg \ - --with-png \ - --with-zlib \ - --with-fftw \ --docdir=${PREFIX}/share/doc/vigra USE_GMAKE= yes INSTALLS_SHLIB= yes +.if !defined(WITHOUT_VIGRA_TIFF) +LIB_DEPENDS+= tiff.4:${PORTSDIR}/graphics/tiff +CONFIGURE_ARGS+= --with-tiff +.else +CONFIGURE_ARGS+= --without-tiff +.endif + +.if !defined(WITHOUT_VIGRA_JPEG) +LIB_DEPENDS+= jpeg.9:${PORTSDIR}/graphics/jpeg +CONFIGURE_ARGS+= --with-jpeg +.else +CONFIGURE_ARGS+= --without-jpeg +.endif + +.if !defined(WITHOUT_VIGRA_PNG) +LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png +CONFIGURE_ARGS+= --with-png +.else +CONFIGURE_ARGS+= --without-png +.endif + +.if !defined(WITHOUT_VIGRA_ZLIB) +CONFIGURE_ARGS+= --with-zlib +.else +CONFIGURE_ARGS+= --without-zlib +.endif + +.if !defined(WITHOUT_VIGRA_FFTW) +LIB_DEPENDS+= fftw3:${PORTSDIR}/math/fftw3 +CONFIGURE_ARGS+= --with-fftw +.else +CONFIGURE_ARGS+= --without-fftw +.endif + .include <bsd.port.mk> |