aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2012-05-06 16:14:04 +0800
committersunpoet <sunpoet@FreeBSD.org>2012-05-06 16:14:04 +0800
commit36f568db40d46d5d96731c9ec58bd2a1f0f83ba6 (patch)
treeee935f2a7f7c551d16f3703464516dbc5b34bd72 /devel
parent05b74e8850038290615a770fde2e753d8162eed5 (diff)
downloadfreebsd-ports-gnome-36f568db40d46d5d96731c9ec58bd2a1f0f83ba6.tar.gz
freebsd-ports-gnome-36f568db40d46d5d96731c9ec58bd2a1f0f83ba6.tar.zst
freebsd-ports-gnome-36f568db40d46d5d96731c9ec58bd2a1f0f83ba6.zip
- Update to 1.3.0
- Update endian check - Cleanup Makefile Changes: 2012-01-27: - shptree.c: optimize quadtree generation (gdal #4472) 2012-01-2: - shpopen.c: fix memory leaks on failure to open .shp file 2011-12-11: - shptree.c,h: Use SAHooks for .qix access (gdal #3365) 2011-09-14: - shpopen.c: fix missing cast (#2344)
Diffstat (limited to 'devel')
-rw-r--r--devel/shapelib/Makefile18
-rw-r--r--devel/shapelib/distinfo4
2 files changed, 6 insertions, 16 deletions
diff --git a/devel/shapelib/Makefile b/devel/shapelib/Makefile
index 036dee1c7e05..3c75c9f53cc2 100644
--- a/devel/shapelib/Makefile
+++ b/devel/shapelib/Makefile
@@ -7,25 +7,21 @@
PORTNAME= shapelib
PORTVERSION= 1.3.0
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= devel geography
MASTER_SITES= http://download.osgeo.org/shapelib/ \
ftp://ftp.remotesensing.org/shapelib/ \
LOCAL/sunpoet
-DISTNAME= ${PORTNAME}-${SHAPELIB_VER}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= C API for reading and writing ArcView Shapefiles
MAKE_JOBS_UNSAFE= yes
USE_LDCONFIG= yes
-WRKSRC= ${WRKDIR}/${PORTNAME}-${SHAPELIB_VER}
OPTIONS= DEBUG "Debugging" off \
PROJ "Cartographic Projections library" off
-SHAPELIB_VER= ${PORTVERSION}b3
-
.include <bsd.port.options.mk>
.if defined(WITH_DEBUG)
@@ -45,10 +41,11 @@ PROJ= -DNO_PROJ4
.include <bsd.port.pre.mk>
-.if ${ARCH} == "amd64" || ${ARCH} == "i386" || ${ARCH} == "ia64"
+# 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 # powerpc & sparc64
+ENDIAN= -D_BIG_ENDIAN # mips*eb, powerpc, powerpc64 and sparc
.endif
post-patch:
@@ -58,13 +55,6 @@ post-patch:
-e 's|%%ENDIAN%%|${ENDIAN}|g' \
-e 's|%%PROJ%%|${PROJ}|g' \
${WRKSRC}/Makefile ${WRKSRC}/contrib/Makefile
-#.if defined(WITH_PROJ)
-# @${REINPLACE_CMD} -e '/^all:/ s|$$| contrib_tools|' ${WRKSRC}/Makefile
-#.endif
-
-# -e 's#%%INSTALL%%#${INSTALL}#g' \
-# -e 's#%%INSTALL_PROGRAM%%#${INSTALL_PROGRAM}#g' \
-# -e 's#%%PREFIX%%#${PREFIX}#g' \
post-install:
${LN} -s libshp.so.1 ${PREFIX}/lib/libshp.so
diff --git a/devel/shapelib/distinfo b/devel/shapelib/distinfo
index 26becca093f3..a36c13a77e78 100644
--- a/devel/shapelib/distinfo
+++ b/devel/shapelib/distinfo
@@ -1,2 +1,2 @@
-SHA256 (shapelib-1.3.0b3.tar.gz) = 83a92dc1e0f2f8851dbc2ef4e9f07f83f6e2d8b32abec2f1e19cd11d4dc9c6d7
-SIZE (shapelib-1.3.0b3.tar.gz) = 230135
+SHA256 (shapelib-1.3.0.tar.gz) = 23d474016158ab5077db2f599527631706ba5c0dc7c4178a6a1d685bb014f68f
+SIZE (shapelib-1.3.0.tar.gz) = 156301