aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-06-16 17:05:01 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-06-16 17:05:01 +0800
commit9bf23b3bd8776724c598f8551bc1ff16e90b3ee1 (patch)
tree105535fd8fd22011414e3a1864b077552a5ca1bb
parent0e24319cfb46434af118843bdd5037c3df645883 (diff)
downloadfreebsd-ports-gnome-9bf23b3bd8776724c598f8551bc1ff16e90b3ee1.tar.gz
freebsd-ports-gnome-9bf23b3bd8776724c598f8551bc1ff16e90b3ee1.tar.zst
freebsd-ports-gnome-9bf23b3bd8776724c598f8551bc1ff16e90b3ee1.zip
- Clarify LICENSE
- Add LICENSE_FILE - Switch to options helpers
-rw-r--r--devel/ocaml-pomap/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/devel/ocaml-pomap/Makefile b/devel/ocaml-pomap/Makefile
index 1318923f2d8f..2371b71b940a 100644
--- a/devel/ocaml-pomap/Makefile
+++ b/devel/ocaml-pomap/Makefile
@@ -10,7 +10,8 @@ PKGNAMEPREFIX= ocaml-
MAINTAINER= ports@FreeBSD.org
COMMENT= OCaml library to maintain a list of partially ordered elements
-LICENSE= LGPL21
+LICENSE= LGPL20+ # source says LGPL20+, COPYING says LGPL21
+LICENSE_FILE= ${WRKSRC}/COPYING.txt
USE_GITHUB= yes
GH_ACCOUNT= mmottl
@@ -32,11 +33,13 @@ PORTEXAMPLES= *
OPTIONS_DEFINE= DOCS EXAMPLES
-post-install:
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in AUTHORS.txt CHANGES.txt README.md
- (cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR})
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
+
+post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@(cd ${WRKSRC}/examples && \
${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})