Bugfix update to mapserver 5.6.5, see for changes:

http://lists.osgeo.org/pipermail/mapserver-users/2010-July/066134.html

- enable agg support (because it's _really_ nicer than gd output)
- switch to newer lib_depends
- tweak do-install to use ${INSTALL_SCRIPT} for mapserver-config
This commit is contained in:
landry 2010-07-27 08:57:38 +00:00
parent 6f2004c52a
commit 5c3d586790
3 changed files with 26 additions and 20 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.5 2010/04/02 09:45:04 landry Exp $
# $OpenBSD: Makefile,v 1.6 2010/07/27 08:57:38 landry Exp $
MULTI_PACKAGES= -utils -main -php -perl
SHARED_ONLY= Yes
@ -8,7 +8,7 @@ COMMENT-utils= mapserver utilities
COMMENT-php= PHP Mapscript extension
COMMENT-perl= Perl Mapscript binding
V = 5.6.3
V = 5.6.5
DISTNAME= mapserver-${V}
PKGNAME-main= ${DISTNAME}
PKGNAME-utils= mapserver-utils-${V}
@ -24,30 +24,35 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MAINTAINER= Landry Breuil <gaston@gcu.info>
MAINTAINER= Landry Breuil <landry@openbsd.org>
MASTER_SITES= http://download.osgeo.org/mapserver/
BUILD_DEPENDS= :php5-core-*:www/php5/core
BUILD_DEPENDS= :php5-core-*:www/php5/core \
::graphics/agg
LIB_DEPENDS= proj::devel/proj \
gdal::geo/gdal \
geos_c::geo/geos \
geotiff::devel/geotiff \
gd::graphics/gd
LIB_DEPENDS= ::devel/proj \
::geo/gdal \
::geo/geos \
::devel/geotiff \
::graphics/gd
RUN_DEPENDS-php= :php5-core-*:www/php5/core
WANTLIB= crypto curl expat freetype gif iconv idn jasper jpeg \
com_err readline termcap m png pq ssl tiff xml2 z
com_err readline termcap m png pq ssl tiff xml2 z \
proj gdal geos_c geotiff gd
WANTLIB-main= ${WANTLIB} c stdc++
WANTLIB-utils= ${WANTLIB} c stdc++
WANTLIB-php= ${WANTLIB} stdc++
WANTLIB-perl= ${WANTLIB} stdc++
USE_GMAKE= yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --with-proj=${LOCALBASE} \
--with-png=${LOCALBASE} \
--with-agg=${LOCALBASE} \
--without-pdf \
--with-tiff=${LOCALBASE} \
--with-freetype=${X11BASE}/bin \
@ -70,7 +75,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
MAKE_ENV= CFLAGS+=-fPIC
UTILS= shp2img shp2pdf legend shptree shptreevis shptreetst scalebar \
sortshp tile4ms msencrypt mapserver-config
sortshp tile4ms msencrypt
PREFIX-main= /var/www
PREFIX-php= /var/www
@ -95,6 +100,7 @@ do-install:
.for i in ${UTILS}
${INSTALL_PROGRAM} ${WRKSRC}/${i} ${PREFIX}/bin/
.endfor
${INSTALL_SCRIPT} ${WRKSRC}/mapserver-config ${PREFIX}/bin/
${INSTALL_DATA} ${WRKSRC}/mapscript/php3/examples/* \
${PREFIX}/share/examples/mapserver/php
${INSTALL_DATA} ${WRKSRC}/mapscript/perl/examples/* \

View File

@ -1,5 +1,5 @@
MD5 (mapserver-5.6.3.tar.gz) = XXcGxJrUy9XgasHOsJ4LQA==
RMD160 (mapserver-5.6.3.tar.gz) = qE+xqSmWmG/dR0AQ2XhzmepFgCg=
SHA1 (mapserver-5.6.3.tar.gz) = rTSf/Tm1FWVhOhvc2yOLRIwp0qU=
SHA256 (mapserver-5.6.3.tar.gz) = dzWfydJnGtUZ/3BFE/4XvEA58zG53Jc8kvY+vTkNdlY=
SIZE (mapserver-5.6.3.tar.gz) = 2310302
MD5 (mapserver-5.6.5.tar.gz) = M6u/J/qOO/LFMlfCGIpnsw==
RMD160 (mapserver-5.6.5.tar.gz) = D+83rfqk9xzsBrrkG7xJSQR4YXQ=
SHA1 (mapserver-5.6.5.tar.gz) = yz23CTzu+exa9kucKmY4LQlCmXI=
SHA256 (mapserver-5.6.5.tar.gz) = rKyv5hArHxhQlO/8RbWwpdO6ayGk2+IJyoSks9hXmMU=
SIZE (mapserver-5.6.5.tar.gz) = 2314003

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-configure,v 1.1 2009/12/24 21:59:19 landry Exp $
--- configure.orig Fri Nov 27 22:16:01 2009
+++ configure Wed Dec 23 17:37:23 2009
@@ -9784,7 +9784,7 @@ fi
$OpenBSD: patch-configure,v 1.2 2010/07/27 08:57:38 landry Exp $
--- configure.orig Thu Jul 8 22:07:15 2010
+++ configure Tue Jul 27 10:40:55 2010
@@ -9790,7 +9790,7 @@ fi
RGBA_PNG_ENABLED=$RGBA_PNG_ENABLED