- Add LICENSE_FILE

- Switch to options helpers
This commit is contained in:
Dmitry Marakasov 2016-04-03 00:38:12 +00:00
parent 42b5064acc
commit 0380f5e917
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=412439

View file

@ -11,6 +11,7 @@ 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
@ -21,7 +22,7 @@ PLIST_SUB= TCLVERSION="${TCL_VER}" PORTVERSION="${PORTVERSION}"
OPTIONS_DEFINE= DOCS
post-install:
post-install-DOCS-on:
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \
. ${STAGEDIR}${DOCSDIR} \
"! -name gpl-3_0.txt")