From owner-svn-ports-head@FreeBSD.ORG Thu Mar 21 03:26:45 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id EAFC3B75; Thu, 21 Mar 2013 03:26:45 +0000 (UTC) (envelope-from wen@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id CF77961F; Thu, 21 Mar 2013 03:26:45 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r2L3Qj0F002325; Thu, 21 Mar 2013 03:26:45 GMT (envelope-from wen@svn.freebsd.org) Received: (from wen@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r2L3Qjbx002324; Thu, 21 Mar 2013 03:26:45 GMT (envelope-from wen@svn.freebsd.org) Message-Id: <201303210326.r2L3Qjbx002324@svn.freebsd.org> From: Wen Heping Date: Thu, 21 Mar 2013 03:26:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r314800 - head/graphics/mapserver X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Mar 2013 03:26:46 -0000 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 (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