svn commit: r431491 - head/devel/ocaml-annexlib

Hiroki Sato hrs at FreeBSD.org
Sat Jan 14 19:36:04 UTC 2017


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 at FreeBSD.org
+MAINTAINER=	hrs at 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>


More information about the svn-ports-all mailing list