Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Mar 2013 03:26:45 +0000 (UTC)
From:      Wen Heping <wen@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r314800 - head/graphics/mapserver
Message-ID:  <201303210326.r2L3Qjbx002324@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wen
Date: Thu Mar 21 03:26:44 2013
New Revision: 314800
URL: http://svnweb.freebsd.org/changeset/ports/314800

Log:
  - Add missing plist files
  - Add option CAIRO and CAIRO_SVG
  
  Submitted by:	Igor Zabelin <igorz@yandex.ru> (via Email)

Modified:
  head/graphics/mapserver/Makefile
  head/graphics/mapserver/pkg-plist

Modified: head/graphics/mapserver/Makefile
==============================================================================
--- head/graphics/mapserver/Makefile	Thu Mar 21 02:55:32 2013	(r314799)
+++ head/graphics/mapserver/Makefile	Thu Mar 21 03:26:44 2013	(r314800)
@@ -3,6 +3,7 @@
 
 PORTNAME=		mapserver
 PORTVERSION=		6.2.0
+PORTREVISION=		1
 CATEGORIES=		graphics www geography
 MASTER_SITES=		http://download.osgeo.org/mapserver/
 
@@ -27,9 +28,10 @@ CONFIGURE_ARGS=		--with-proj=${LOCALBASE
 MAKE_JOBS_UNSAFE=	yes
 
 OPTIONS_DEFINE=		AGG TIFF PDF GDAL GEOS KML MING MYGIS POSTGIS PHP PERL PYTHON \
-			WMS WFS MAPSERV FASTCGI DEBUG
+			WMS WFS MAPSERV FASTCGI DEBUG CAIRO CAIRO_SVG
 OPTIONS_DEFAULT=	AGG GDAL GEOS MAPSERV
 AGG_DESC=		AGG image rendering support
+CAIRO_SVG_DESC=		Cairo SVG parser support
 GDAL_DESC=		GDAL library support
 KML_DESC=		KML support
 MING_DESC=		Macromedia Flash output support
@@ -60,7 +62,23 @@ PLIST_SUB+=		PYTHON="@comment "
 
 .if ${PORT_OPTIONS:MAGG}
 LIB_DEPENDS+=		agg:${PORTSDIR}/graphics/agg
-#CONFIGURE_ARGS+=	--with-agg=${LOCALBASE} --with-freetype=${LOCALBASE}
+.endif
+
+.if ${PORT_OPTIONS:MCAIRO}
+LIB_DEPENDS+=		cairo:${PORTSDIR}/graphics/cairo \
+			expat:${PORTSDIR}/textproc/expat2
+CONFIGURE_ARGS+=	--with-cairo=yes --with-expat=${LOCALBASE}
+USE_PKGCONFIG=		yes
+.endif
+
+.if ${PORT_OPTIONS:MCAIRO_SVG}
+LIB_DEPENDS+=		cairo:${PORTSDIR}/graphics/cairo \
+			svg-cairo:${PORTSDIR}/graphics/libsvg-cairo \
+			expat:${PORTSDIR}/textproc/expat2
+CONFIGURE_ARGS+=	--with-cairo=yes \
+			--with-libsvg-cairo \
+			--with-expat=${LOCALBASE}
+USE_PKGCONFIG=		yes
 .endif
 
 .if ${PORT_OPTIONS:MKML}
@@ -151,7 +169,8 @@ CONFIGURE_ARGS+=	--with-fastcgi=${LOCALB
 CONFIGURE_ARGS+=	--enable-debug
 .endif
 
-PROG_FILES=		legend scalebar shp2img shptree shptreetst shptreevis sortshp
+PROG_FILES=		legend scalebar shp2img shptree shptreetst shptreevis \
+			sortshp msencrypt tile4ms
 
 post-patch:
 .if ${PORT_OPTIONS:MMING}
@@ -168,6 +187,8 @@ do-install:
 .for f in ${PROG_FILES}
 	${INSTALL_SCRIPT} ${WRKSRC}/${f} ${PREFIX}/bin
 .endfor
+	${INSTALL_PROGRAM} ${WRKSRC}/.libs/libmapserver-6.2.0.so ${PREFIX}/lib
+
 .if ${PORT_OPTIONS:MMAPSERV}
 	${MKDIR} ${LOCALBASE}/www/apache${APACHE_VERSION}/cgi-bin/
 	${INSTALL_SCRIPT} ${WRKSRC}/mapserv ${LOCALBASE}/www/apache${APACHE_VERSION}/cgi-bin/mapserv

Modified: head/graphics/mapserver/pkg-plist
==============================================================================
--- head/graphics/mapserver/pkg-plist	Thu Mar 21 02:55:32 2013	(r314799)
+++ head/graphics/mapserver/pkg-plist	Thu Mar 21 03:26:44 2013	(r314800)
@@ -1,10 +1,13 @@
 bin/legend
+bin/msencrypt
 bin/scalebar
 bin/shp2img
 bin/shptree
 bin/shptreetst
 bin/shptreevis
 bin/sortshp
+bin/tile4ms
+lib/libmapserver-6.2.0.so
 %%MAPSERV%%www/apache%%APA_VER%%/cgi-bin/mapserv
 %%PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/mapscript/mapscript.so
 %%PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/mapscript/mapscript.bs



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303210326.r2L3Qjbx002324>