aboutsummaryrefslogtreecommitdiff
path: root/graphics/gpsmanshp/Makefile
blob: 2aea3006e605ec7baccf4b20f0cdb76049827337 (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
# Created by: John Hay
# $FreeBSD$

PORTNAME=	gpsmanshp
PORTVERSION=	1.2.3
PORTREVISION=	1
CATEGORIES=	graphics tcl geography
MASTER_SITES=	SF/${PORTNAME}/distr
DISTNAME=	${PORTNAME}_${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Shapelib support for gpsman

LICENSE=	GPLv3+
LICENSE_FILE=	${WRKSRC}/doc/gpl-3_0.txt

LIB_DEPENDS=	libshp.so:devel/shapelib
RUN_DEPENDS=	gpsman:astro/gpsman

USES=		tar:tgz tcl
MAKE_ENV=	TCLVERSION="${TCL_VER}"
PLIST_SUB=	TCLVERSION="${TCL_VER}" PORTVERSION="${PORTVERSION}"

OPTIONS_DEFINE=	DOCS

post-install-DOCS-on:
	(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \
		. ${STAGEDIR}${DOCSDIR} \
		"! -name gpl-3_0.txt")

.include <bsd.port.mk>