Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Mar 2014 21:32:40 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r349297 - head/security/ocaml-ssl
Message-ID:  <201403262132.s2QLWei8000217@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



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