2001-05-20 02:22:23 +00:00
|
|
|
# New ports collection makefile for: shapelib for reading ARC Shape Files
|
|
|
|
# Date created: 23 Apr 2001
|
|
|
|
# Whom: Randall Hopper <aa8vb@nc.rr.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= shapelib
|
|
|
|
PORTVERSION= 1.2.8
|
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= ftp://gdal.velocet.ca/pub/outgoing/
|
|
|
|
|
2002-11-18 03:48:10 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 17:07:10 +00:00
|
|
|
COMMENT= C API for reading and writing ArcView Shapefiles
|
2001-05-20 02:22:23 +00:00
|
|
|
|
2003-06-26 22:58:32 +00:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
LIBTOOLFILES= # none
|
2001-05-20 02:22:23 +00:00
|
|
|
ALL_TARGET= lib
|
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
|
2003-06-26 22:58:32 +00:00
|
|
|
# no configure script, but we need the libtool environment
|
|
|
|
do-configure:
|
|
|
|
@${CP} ${LIBTOOL} ${WRKSRC}
|
|
|
|
|
2001-05-20 02:22:23 +00:00
|
|
|
do-install:
|
2001-05-31 10:25:37 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/.libs/libshp.so.1 ${PREFIX}/lib
|
2001-05-20 02:22:23 +00:00
|
|
|
${LN} -sf libshp.so.1 ${PREFIX}/lib/libshp.so
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/.libs/libshp.a ${PREFIX}/lib/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/shapefil.h ${PREFIX}/include
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/shapelib
|
2001-05-31 10:25:37 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.html ${PREFIX}/share/doc/shapelib
|
2001-05-20 02:22:23 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|