summaryrefslogtreecommitdiff
path: root/devel/shapelib/Makefile
blob: 4fc6111eff5b3f69729405019fc120442fb0cf13 (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
30
31
# 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
PORTREVISION=	1
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
USE_REINPLACE=	yes
INSTALL_TARGET=	lib_install

post-patch:
	@${REINPLACE_CMD} -e 's#%%PREFIX%%#${PREFIX}#g' \
		-e 's#%%LIBTOOL%%#${LIBTOOL}#g' \
		-e 's#%%INSTALL%%#${INSTALL}#g' ${WRKSRC}/Makefile
post-install:
	${MKDIR} ${PREFIX}/share/doc/shapelib
	${INSTALL_DATA} ${WRKSRC}/*.html ${PREFIX}/share/doc/shapelib

.include <bsd.port.mk>