30 lines
681 B
Makefile
30 lines
681 B
Makefile
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
|
|
WWW= http://gpsmanshp.sourceforge.net/
|
|
|
|
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>
|