aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/liberator
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-12-30 09:42:41 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-12-30 09:42:41 +0800
commitd035c1ab86b6603489f60e2c66fe25433a9288d1 (patch)
tree3753cf2a29cac8c029569dd84788f3d7d4218f0d /net-p2p/liberator
parent0d261ac008330ecac254ec28f913a545b185c8d1 (diff)
downloadfreebsd-ports-gnome-d035c1ab86b6603489f60e2c66fe25433a9288d1.tar.gz
freebsd-ports-gnome-d035c1ab86b6603489f60e2c66fe25433a9288d1.tar.zst
freebsd-ports-gnome-d035c1ab86b6603489f60e2c66fe25433a9288d1.zip
- Add LICENSE
- Switch to options helpers
Diffstat (limited to 'net-p2p/liberator')
-rw-r--r--net-p2p/liberator/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/net-p2p/liberator/Makefile b/net-p2p/liberator/Makefile
index c72b9c5decfe..4f633c78d6f2 100644
--- a/net-p2p/liberator/Makefile
+++ b/net-p2p/liberator/Makefile
@@ -11,6 +11,9 @@ DISTNAME= ofcp-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Command line client to FreeNet Network
+LICENSE= LGPL21 # or later
+LICENSE_FILE= ${WRKSRC}/COPYING
+
USES= tar:bzip2
USE_OCAML= yes
USE_OCAML_CAMLP4=yes
@@ -43,11 +46,13 @@ do-install:
${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${STAGEDIR}${PREFIX}/bin/liber
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${DATA_FILES:S|^|${WRKSRC}/|} ${STAGEDIR}${DATADIR}
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${DOC_FILES:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/ocaml
${INSTALL_DATA} ${LIB_FILES:S|^|${WRKSRC}/|} \
${STAGEDIR}${PREFIX}/lib/ocaml
+do-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${DOC_FILES:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}
+
.include <bsd.port.mk>