summaryrefslogtreecommitdiff
path: root/devel/shapelib/Makefile
blob: a9ae44a35497c1716f1f51c71624bf5e8b0fa58d (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
PORTNAME=	shapelib
PORTVERSION=	1.6.2
CATEGORIES=	devel geography
MASTER_SITES=	https://download.osgeo.org/shapelib/ \
		https://github.com/OSGeo/shapelib/releases/download/v${PORTVERSION}/

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	C API for reading and writing ArcView Shapefiles
WWW=		http://shapelib.maptools.org/ \
		https://github.com/OSGeo/shapelib

LICENSE=	LGPL20+ MIT
LICENSE_COMB=	dual
LICENSE_FILE_LGPL20+ =	${WRKSRC}/LICENSE-LGPL
LICENSE_FILE_MIT=	${WRKSRC}/LICENSE-MIT

USES=		libtool localbase pathfix

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

CONFLICTS_INSTALL=	p5-DBD-XBase # bin/dbfdump

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

.include <bsd.port.mk>