mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-18 08:02:48 +00:00
Upgrade graphics/vigra from 1.6.0 to 1.7.1
Suggested by: Rainer Hurling <rhurlin@gwdg.de>
This commit is contained in:
parent
a9b996034e
commit
81a2f7c7f3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=276642
@ -10,59 +10,52 @@
|
||||
# The hugin port is a gui interface to interact with panorama tools.
|
||||
|
||||
PORTNAME= vigra
|
||||
PORTVERSION= 1.6.0
|
||||
PORTREVISION= 3
|
||||
PORTVERSION= 1.7.1
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= http://hci.iwr.uni-heidelberg.de/vigra/
|
||||
DISTNAME= ${PORTNAME}${PORTVERSION}
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
||||
|
||||
MAINTAINER= vd@FreeBSD.org
|
||||
COMMENT= VIGRA stands for "Vision with Generic Algorithms"
|
||||
|
||||
USE_AUTOTOOLS= libtool
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --docdir=${DOCSDIR}
|
||||
USE_GMAKE= yes
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
|
||||
USE_CMAKE= yes
|
||||
CMAKE_ARGS= -DDEPENDENCY_SEARCH_PREFIX:PATH=${LOCALBASE} \
|
||||
-DDOCINSTALL:PATH=${DOCSDIR_REL} \
|
||||
-DWITH_HDF5=1
|
||||
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
# Vigra's CMakeLists.txt does not support disabling those so we hook them
|
||||
# as dependencies here unconditionally (without OPTIONS=) even though if
|
||||
# they are not present then Vigra/CMake will do without them (they are not
|
||||
# mandatory).
|
||||
#
|
||||
# Notice that if you define e.g. WITHOUT_VIGRA_TIFF and graphics/tiff is
|
||||
# installed on your system, then the lib will be picked up by Vigra, the
|
||||
# dependency will not be recorded by the ports system and later deletion
|
||||
# of graphics/tiff will break Vigra. Only define WITHOUT_VIGRA_TIFF if you
|
||||
# do not have graphics/tiff installed and do not want TIFF support in Vigra.
|
||||
|
||||
.if !defined(WITHOUT_VIGRA_TIFF)
|
||||
LIB_DEPENDS+= tiff.4:${PORTSDIR}/graphics/tiff
|
||||
CONFIGURE_ARGS+= --with-tiff
|
||||
.else
|
||||
CONFIGURE_ARGS+= --without-tiff
|
||||
LIB_DEPENDS+= tiff:${PORTSDIR}/graphics/tiff
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_VIGRA_JPEG)
|
||||
LIB_DEPENDS+= jpeg.11:${PORTSDIR}/graphics/jpeg
|
||||
CONFIGURE_ARGS+= --with-jpeg
|
||||
.else
|
||||
CONFIGURE_ARGS+= --without-jpeg
|
||||
LIB_DEPENDS+= jpeg:${PORTSDIR}/graphics/jpeg
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_VIGRA_PNG)
|
||||
LIB_DEPENDS+= png.6:${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
|
||||
LIB_DEPENDS+= png:${PORTSDIR}/graphics/png
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_VIGRA_FFTW)
|
||||
LIB_DEPENDS+= fftw3:${PORTSDIR}/math/fftw3
|
||||
CONFIGURE_ARGS+= --with-fftw
|
||||
.else
|
||||
CONFIGURE_ARGS+= --without-fftw
|
||||
LIB_DEPENDS+= fftw3:${PORTSDIR}/math/fftw3
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's/--mode=/-m /g' ${WRKSRC}/Makefile.in
|
||||
${REINPLACE_CMD} -e 's/png_set_gray_1_2_4_to_8/png_set_expand_gray_1_2_4_to_8/g' \
|
||||
${WRKSRC}/src/impex/png.cxx
|
||||
.if !defined(WITHOUT_VIGRA_HDF5)
|
||||
LIB_DEPENDS+= hdf5:${PORTSDIR}/science/hdf5
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,2 @@
|
||||
MD5 (vigra1.6.0.tar.gz) = d62650a6f908e85643e557a236ea989c
|
||||
SHA256 (vigra1.6.0.tar.gz) = 1f188ac03a8aa4663223eca8c82f91a55293d066d67127082e29a7dba1a98c9f
|
||||
SIZE (vigra1.6.0.tar.gz) = 16525605
|
||||
SHA256 (vigra-1.7.1-src.tar.gz) = 4fe9052085330300f8c8564021b67fc2c5d534132ef29e781d839feb5d5c0ec2
|
||||
SIZE (vigra-1.7.1-src.tar.gz) = 28481160
|
||||
|
@ -6,7 +6,4 @@ component to the needs of your application, without thereby giving up
|
||||
execution speed.
|
||||
|
||||
Author: Ullrich Koethe <koethe@informatik.uni-hamburg.de>
|
||||
WWW: http://kogs-www.informatik.uni-hamburg.de/~koethe/vigra/
|
||||
|
||||
- Ported by Cartola
|
||||
cartola@openit.com.br
|
||||
WWW: http://hci.iwr.uni-heidelberg.de/vigra/
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user