Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Dec 2016 20:57:37 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r428432 - in head: comms/xastir devel/p5-Shape devel/shapelib devel/shapelib/files graphics/gpsmanshp
Message-ID:  <201612122057.uBCKvbrZ026826@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Mon Dec 12 20:57:37 2016
New Revision: 428432
URL: https://svnweb.freebsd.org/changeset/ports/428432

Log:
  - Update to 1.4.0
  - Use PORTDOCS
  - Update pkg-descr
  - Bump PORTREVISION for dependent ports
  
  Changes:	http://shapelib.maptools.org/release.html

Deleted:
  head/devel/shapelib/files/
Modified:
  head/comms/xastir/Makefile
  head/devel/p5-Shape/Makefile
  head/devel/shapelib/Makefile
  head/devel/shapelib/distinfo
  head/devel/shapelib/pkg-descr
  head/devel/shapelib/pkg-plist
  head/graphics/gpsmanshp/Makefile

Modified: head/comms/xastir/Makefile
==============================================================================
--- head/comms/xastir/Makefile	Mon Dec 12 20:57:31 2016	(r428431)
+++ head/comms/xastir/Makefile	Mon Dec 12 20:57:37 2016	(r428432)
@@ -3,7 +3,7 @@
 
 PORTNAME=	xastir
 PORTVERSION=	2.0.6
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	comms hamradio
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-stable/${PORTNAME}-${PORTVERSION}
 

Modified: head/devel/p5-Shape/Makefile
==============================================================================
--- head/devel/p5-Shape/Makefile	Mon Dec 12 20:57:31 2016	(r428431)
+++ head/devel/p5-Shape/Makefile	Mon Dec 12 20:57:37 2016	(r428432)
@@ -3,7 +3,7 @@
 
 PORTNAME=	Shape
 PORTVERSION=	0.04
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	devel perl5
 MASTER_SITES=	http://users.tkk.fi/~jolma/pub/
 PKGNAMEPREFIX=	p5-

Modified: head/devel/shapelib/Makefile
==============================================================================
--- head/devel/shapelib/Makefile	Mon Dec 12 20:57:31 2016	(r428431)
+++ head/devel/shapelib/Makefile	Mon Dec 12 20:57:37 2016	(r428432)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	shapelib
-PORTVERSION=	1.3.0
-PORTREVISION=	9
+PORTVERSION=	1.4.0
 CATEGORIES=	devel geography
 MASTER_SITES=	http://download.osgeo.org/shapelib/ \
 		ftp://ftp.remotesensing.org/shapelib/ \
@@ -18,31 +17,21 @@ OPTIONS_DEFINE=	DOCS PROJ
 OPTIONS_SUB=	yes
 
 MAKE_JOBS_UNSAFE=	yes
+GNU_CONFIGURE=	yes
+INSTALL_TARGET=	install-strip
 USE_LDCONFIG=	yes
+USES=		libtool localbase pathfix
 
-PROJ_LIB_DEPENDS=	libproj.so:graphics/proj
-
-.include <bsd.port.pre.mk>
-
-# Ref: /usr/share/mk/bsd.endian.mk
-.if ${ARCH} == "amd64" || ${ARCH} == "arm" || ${ARCH} == "i386" || ${ARCH} == "ia64"
-ENDIAN=		-D_LITTLE_ENDIAN
-.else
-ENDIAN=		-D_BIG_ENDIAN	# mips*eb, powerpc, powerpc64 and sparc
-.endif
-
-post-patch:
-	@${REINPLACE_CMD} -e 's|%%ENDIAN%%|${ENDIAN}|g' ${WRKSRC}/contrib/Makefile
+PORTDOCS=	*
 
-post-patch-PROJ-off:
-	@${REINPLACE_CMD} -e 's|%%PROJ%%|-DNO_PROJ4|g' ${WRKSRC}/Makefile ${WRKSRC}/contrib/Makefile
-
-post-patch-PROJ-on:
-	@${REINPLACE_CMD} -e 's|%%PROJ%%|-DPROJ4|g' ${WRKSRC}/Makefile ${WRKSRC}/contrib/Makefile
+PROJ_CONFIGURE_OFF=	--with-proj-cflags="" --with-proj-libs=""
+PROJ_LIB_DEPENDS=	libproj.so:graphics/proj
 
 post-install:
-	${LN} -s libshp.so.1 ${STAGEDIR}${PREFIX}/lib/libshp.so
+	${INSTALL_PROGRAM} ${WRKSRC}/.libs/shptest ${STAGEDIR}${PREFIX}/bin/
+
+post-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}/
 	${INSTALL_DATA} ${WRKSRC}/web/*.html ${STAGEDIR}${DOCSDIR}/
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/devel/shapelib/distinfo
==============================================================================
--- head/devel/shapelib/distinfo	Mon Dec 12 20:57:31 2016	(r428431)
+++ head/devel/shapelib/distinfo	Mon Dec 12 20:57:37 2016	(r428432)
@@ -1,2 +1,3 @@
-SHA256 (shapelib-1.3.0.tar.gz) = 23d474016158ab5077db2f599527631706ba5c0dc7c4178a6a1d685bb014f68f
-SIZE (shapelib-1.3.0.tar.gz) = 156301
+TIMESTAMP = 1481467052
+SHA256 (shapelib-1.4.0.tar.gz) = 3eddd5f2690f2cf18d8d9798267537a2102a289020b9818f9a31eb626f91a7a1
+SIZE (shapelib-1.4.0.tar.gz) = 548990

Modified: head/devel/shapelib/pkg-descr
==============================================================================
--- head/devel/shapelib/pkg-descr	Mon Dec 12 20:57:31 2016	(r428431)
+++ head/devel/shapelib/pkg-descr	Mon Dec 12 20:57:37 2016	(r428432)
@@ -1,17 +1,5 @@
-                           Shapefile C Library V1.2
-
-   Purpose
-
-      The Shapefile C Library provides the ability to write simple C
-      programs for reading, writing and updating (to a limited extent) ESRI
-      Shapefiles, and the associated attribute file (.dbf).
-
-   Documentation
-
-      /usr/local/share/doc/shapelib/shapelib.html - General docs
-      /usr/local/share/doc/shapelib/shp_api.html  - Shape (.SHP) File API
-      /usr/local/share/doc/shapelib/dbg_api.html  - Attribute (.DBF) File API
-
-Check Shapelib Homepage below:
+The Shapefile C Library provides the ability to write simple C programs for
+reading, writing and updating (to a limited extent) ESRI Shapefiles, and the
+associated attribute file (.dbf).
 
 WWW: http://shapelib.maptools.org/

Modified: head/devel/shapelib/pkg-plist
==============================================================================
--- head/devel/shapelib/pkg-plist	Mon Dec 12 20:57:31 2016	(r428431)
+++ head/devel/shapelib/pkg-plist	Mon Dec 12 20:57:37 2016	(r428432)
@@ -23,12 +23,6 @@ bin/shputils
 include/shapefil.h
 lib/libshp.a
 lib/libshp.so
-lib/libshp.so.1
-%%PORTDOCS%%%%DOCSDIR%%/codepage.html
-%%PORTDOCS%%%%DOCSDIR%%/dbf_api.html
-%%PORTDOCS%%%%DOCSDIR%%/index.html
-%%PORTDOCS%%%%DOCSDIR%%/license.html
-%%PORTDOCS%%%%DOCSDIR%%/manifest.html
-%%PORTDOCS%%%%DOCSDIR%%/release.html
-%%PORTDOCS%%%%DOCSDIR%%/shapelib-tools.html
-%%PORTDOCS%%%%DOCSDIR%%/shp_api.html
+lib/libshp.so.2
+lib/libshp.so.2.0.1
+libdata/pkgconfig/shapelib.pc

Modified: head/graphics/gpsmanshp/Makefile
==============================================================================
--- head/graphics/gpsmanshp/Makefile	Mon Dec 12 20:57:31 2016	(r428431)
+++ head/graphics/gpsmanshp/Makefile	Mon Dec 12 20:57:37 2016	(r428432)
@@ -3,6 +3,7 @@
 
 PORTNAME=	gpsmanshp
 PORTVERSION=	1.2.3
+PORTREVISION=	1
 CATEGORIES=	graphics tcl geography
 MASTER_SITES=	SF/${PORTNAME}/distr
 DISTNAME=	${PORTNAME}_${PORTVERSION}



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