diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2017-02-10 02:20:04 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2017-02-10 02:20:04 +0800 |
commit | afb401c22e3dd23e58aa2147a1249f9369ab2071 (patch) | |
tree | 57ab32d50541a532695f4971741b3110d626c706 /graphics/geos35 | |
parent | d6c2d3258519f96265bee255dc0d359ce3a04d29 (diff) | |
download | freebsd-ports-gnome-afb401c22e3dd23e58aa2147a1249f9369ab2071.tar.gz freebsd-ports-gnome-afb401c22e3dd23e58aa2147a1249f9369ab2071.tar.zst freebsd-ports-gnome-afb401c22e3dd23e58aa2147a1249f9369ab2071.zip |
- Update comment
- Add forgotten geos-config patch
- Remove unused configure argument
Diffstat (limited to 'graphics/geos35')
-rw-r--r-- | graphics/geos35/Makefile | 7 | ||||
-rw-r--r-- | graphics/geos35/files/patch-tools_geos-config.in | 49 |
2 files changed, 52 insertions, 4 deletions
diff --git a/graphics/geos35/Makefile b/graphics/geos35/Makefile index 93fbef5b324a..8e23c7ec5985 100644 --- a/graphics/geos35/Makefile +++ b/graphics/geos35/Makefile @@ -3,20 +3,19 @@ PORTNAME= geos PORTVERSION= 3.5.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= graphics geography MASTER_SITES= http://download.osgeo.org/geos/ \ LOCAL/sunpoet PKGNAMESUFFIX= 35 MAINTAINER= amdmi3@FreeBSD.org -COMMENT= GEOS implements all the OpenGIS "Simple Features for SQL" +COMMENT= GEOS implements all the OpenGIS "Simple Features for SQL" (legacy) LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING -CONFIGURE_ARGS= --program-suffix=35 \ - ac_cv_path_SWIG=${LOCALBASE}/bin/swig3.0 +CONFIGURE_ARGS= --program-suffix=35 GNU_CONFIGURE= yes INSTALL_TARGET= install-strip TEST_TARGET= check diff --git a/graphics/geos35/files/patch-tools_geos-config.in b/graphics/geos35/files/patch-tools_geos-config.in new file mode 100644 index 000000000000..244456acd211 --- /dev/null +++ b/graphics/geos35/files/patch-tools_geos-config.in @@ -0,0 +1,49 @@ +--- tools/geos-config.in.orig 2015-08-14 18:23:15 UTC ++++ tools/geos-config.in +@@ -6,7 +6,7 @@ libdir=@libdir@ + usage() + { + cat <<EOF +-Usage: geos-config [OPTIONS] ++Usage: geos35-config [OPTIONS] + Options: + [--prefix] + [--version] +@@ -38,30 +38,30 @@ case $1 in + echo @VERSION@ + ;; + --cflags) +- echo -I${prefix}/include ++ echo -I${prefix}/include/geos35 + ;; + --libs) + # TODO: make an alias for --clibs + # see http://trac.osgeo.org/geos/ticket/497 +- echo -L${libdir} -lgeos ++ echo -L${libdir} -lgeos35 + ;; + --clibs) +- echo -L${libdir} -lgeos_c ++ echo -L${libdir} -lgeos_c35 + ;; + --cclibs) +- echo -L${libdir} -lgeos ++ echo -L${libdir} -lgeos35 + ;; + --static-clibs) +- echo -L${libdir} -lgeos_c -lgeos -m ++ echo -L${libdir} -lgeos_c35 -lgeos -m + ;; + --static-cclibs) +- echo -L${libdir} -lgeos -m ++ echo -L${libdir} -lgeos35 -m + ;; + --ldflags) + echo -L${libdir} + ;; + --includes) +- echo ${prefix}/include ++ echo ${prefix}/include/geos35 + ;; + --jtsport) + echo @JTS_PORT@ |