Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jan 2017 19:36:02 +0000 (UTC)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r431491 - head/devel/ocaml-annexlib
Message-ID:  <201701141936.v0EJa2IR026403@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hrs
Date: Sat Jan 14 19:36:02 2017
New Revision: 431491
URL: https://svnweb.freebsd.org/changeset/ports/431491

Log:
  - Strip installed binaries.
  - Add README.

Deleted:
  head/devel/ocaml-annexlib/pkg-plist
Modified:
  head/devel/ocaml-annexlib/Makefile

Modified: head/devel/ocaml-annexlib/Makefile
==============================================================================
--- head/devel/ocaml-annexlib/Makefile	Sat Jan 14 19:30:19 2017	(r431490)
+++ head/devel/ocaml-annexlib/Makefile	Sat Jan 14 19:36:02 2017	(r431491)
@@ -3,12 +3,12 @@
 
 PORTNAME=	annexlib
 PORTVERSION=	0.13.2
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	devel
 MASTER_SITES=	http://raevnos.pennmush.org/code/extlib/
 PKGNAMEPREFIX=	ocaml-
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	hrs@FreeBSD.org
 COMMENT=	OCaml subroutines collection
 
 LICENSE=	LGPL21
@@ -21,18 +21,23 @@ USE_OCAML=	yes
 USE_OCAML_FINDLIB=	yes
 USE_OCAML_LDCONFIG=	yes
 USE_OCAMLFIND_PLIST=	yes
-OPTIONS_DEFINE=	DOCS
-
 GNU_CONFIGURE=	yes
-
 ALL_TARGET=	all opt
 SA_DIR=		${LOCALBASE}/${OCAML_SITELIBDIR}
 DOCSDIR=	${PREFIX}/share/doc/ocaml/${PORTNAME}
+PORTDOCS=	*
+
+OPTIONS_DEFINE=	DOCS
 
 MAKE_JOBS_UNSAFE=	yes
 
+post-install:
+	cd  ${STAGEDIR}${PREFIX} && \
+	    ${STRIP_CMD} lib/ocaml/site-lib/annexlib/dllannexlib_stubs.so
+
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/doc/html/* ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/doc/html/* \
+	    ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



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