freebsd-ports/devel/shapelib/Makefile
Ade Lovett b2fd75e438 libtool uber-patch
* kill devel/libtool and move to devel/libtool13, upgrading to 1.3.5
* upgrade repo-copied devel/libtool14 to 1.4.3
* break out libltdl into its own separate port
* move to version-numbered binaries/scripts (ie: there is *no* 'libtool'
  any more -- USE_LIBTOOL and USE_LIBTOOL_VER are your friends)

Approved by:	portmgr (kris) - for the bsd.port.mk hooks
Tested by:	bento 4-exp builds (repeatedly)
2003-06-26 22:58:32 +00:00

33 lines
901 B
Makefile

# 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/
MAINTAINER= ports@FreeBSD.org
COMMENT= C API for reading and writing ArcView Shapefiles
USE_LIBTOOL= yes
LIBTOOLFILES= # none
ALL_TARGET= lib
INSTALLS_SHLIB= yes
# no configure script, but we need the libtool environment
do-configure:
@${CP} ${LIBTOOL} ${WRKSRC}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/.libs/libshp.so.1 ${PREFIX}/lib
${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
${INSTALL_DATA} ${WRKSRC}/*.html ${PREFIX}/share/doc/shapelib
.include <bsd.port.mk>