freebsd-ports/devel/shapelib/Makefile
Ade Lovett 54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00

32 lines
835 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.10
CATEGORIES= devel
MASTER_SITES= http://dl.maptools.org/dl/shapelib/
MAINTAINER= ports@FreeBSD.org
COMMENT= C API for reading and writing ArcView Shapefiles
USE_AUTOTOOLS= libtool:15:env
ALL_TARGET= lib
INSTALLS_SHLIB= yes
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>