mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
- 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)
This commit is contained in:
parent
d0619fb9ce
commit
e285e78d59
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=296077
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user