blob: 172a5fb091e179fd0764658751dba193e91759c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# 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
BUILD_DEPENDS= libtool:${PORTSDIR}/devel/libtool
ALL_TARGET= lib
INSTALLS_SHLIB= yes
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>
|