svn commit: r349297 - head/security/ocaml-ssl
Antoine Brodin
antoine at FreeBSD.org
Wed Mar 26 21:32:40 UTC 2014
Author: antoine
Date: Wed Mar 26 21:32:39 2014
New Revision: 349297
URL: http://svnweb.freebsd.org/changeset/ports/349297
QAT: https://qat.redports.org/buildarchive/r349297/
Log:
Stage support
Deleted:
head/security/ocaml-ssl/pkg-plist
Modified:
head/security/ocaml-ssl/Makefile
Modified: head/security/ocaml-ssl/Makefile
==============================================================================
--- head/security/ocaml-ssl/Makefile Wed Mar 26 21:21:41 2014 (r349296)
+++ head/security/ocaml-ssl/Makefile Wed Mar 26 21:32:39 2014 (r349297)
@@ -11,10 +11,10 @@ DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${
MAINTAINER= jaapb at kerguelen.org
COMMENT= OpenSSL bindings for OCaml
-DOCSDIR= ${PREFIX}/share/doc/ocaml/${PORTNAME}
-USE_GMAKE= yes
+USES= gmake
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --docdir=${DOCSDIR}
+MAKE_ENV= OCAMLFIND_INSTFLAGS="-ldconf ignore"
MAKE_JOBS_UNSAFE= yes
USE_OPENSSL= yes
@@ -25,26 +25,13 @@ USE_OCAMLFIND_PLIST= yes
ALL_TARGET= all doc
-.if !defined(NOPORTDOCS)
+DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME}
PORTDOCS= *
-.endif
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
-
-post-extract:
-# For nonstandard prefixes
-.if !exists(${OCAMLFIND_DESTDIR})
- ${MKDIR} ${OCAMLFIND_DESTDIR}
-.endif
-.if !exists(${OCAMLFIND_LDCONF})
- ${TOUCH} ${OCAMLFIND_LDCONF}
-.endif
+OPTIONS_DEFINE= DOCS
post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}/html
- ${INSTALL_MAN} ${WRKSRC}/doc/html/* ${DOCSDIR}/html
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}/html
+ ${INSTALL_DATA} ${WRKSRC}/doc/html/* ${STAGEDIR}${DOCSDIR}/html
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
More information about the svn-ports-all
mailing list