aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-05-06 08:14:04 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-05-06 08:14:04 +0000
commite285e78d595a5db336aa280cf83c93099d12fb86 (patch)
treea0b8f7217b3634e59df90fd7b463d09cced2200d /devel
parentd0619fb9ce696c97f722af744ba18033ed0abcf0 (diff)
downloadports-e285e78d595a5db336aa280cf83c93099d12fb86.tar.gz
ports-e285e78d595a5db336aa280cf83c93099d12fb86.zip
Notes
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