Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Dec 2015 01:42:41 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r404800 - head/net-p2p/liberator
Message-ID:  <201512300142.tBU1gfZX068075@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Dec 30 01:42:41 2015
New Revision: 404800
URL: https://svnweb.freebsd.org/changeset/ports/404800

Log:
  - Add LICENSE
  - Switch to options helpers

Modified:
  head/net-p2p/liberator/Makefile

Modified: head/net-p2p/liberator/Makefile
==============================================================================
--- head/net-p2p/liberator/Makefile	Wed Dec 30 01:42:37 2015	(r404799)
+++ head/net-p2p/liberator/Makefile	Wed Dec 30 01:42:41 2015	(r404800)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512300142.tBU1gfZX068075>