summaryrefslogtreecommitdiff
path: root/devel/shapelib/Makefile
blob: 7ec1c0cdea909fffed3ea3398bfcee261163d638 (plain) (blame)
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
32
# Created by: Randall Hopper <aa8vb@nc.rr.com>

PORTNAME=	shapelib
PORTVERSION=	1.5.0
CATEGORIES=	devel geography
MASTER_SITES=	https://download.osgeo.org/shapelib/ \
		LOCAL/sunpoet

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	C API for reading and writing ArcView Shapefiles

LICENSE=	LGPL20
LICENSE_FILE=	${WRKSRC}/COPYING

OPTIONS_DEFINE=	DOCS
OPTIONS_SUB=	yes

USES=		libtool localbase pathfix

MAKE_JOBS_UNSAFE=	yes
GNU_CONFIGURE=	yes
INSTALL_TARGET=	install-strip
USE_LDCONFIG=	yes

post-install:
	${INSTALL_PROGRAM} ${WRKSRC}/.libs/shptest ${STAGEDIR}${PREFIX}/bin/

post-install-DOCS-on:
	${MKDIR} ${STAGEDIR}${DOCSDIR}/
	${INSTALL_DATA} ${WRKSRC}/web/* ${STAGEDIR}${DOCSDIR}/

.include <bsd.port.mk>