Date: Wed, 26 Mar 2014 21:11:12 +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: r349294 - head/devel/ocaml-ulex Message-ID: <201403262111.s2QLBCAZ089343@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: antoine Date: Wed Mar 26 21:11:12 2014 New Revision: 349294 URL: http://svnweb.freebsd.org/changeset/ports/349294 QAT: https://qat.redports.org/buildarchive/r349294/ Log: - Stage support - Use USE_OCAMLFIND_PLIST instead of doing it manually Modified: head/devel/ocaml-ulex/Makefile Modified: head/devel/ocaml-ulex/Makefile ============================================================================== --- head/devel/ocaml-ulex/Makefile Wed Mar 26 20:48:58 2014 (r349293) +++ head/devel/ocaml-ulex/Makefile Wed Mar 26 21:11:12 2014 (r349294) @@ -11,31 +11,27 @@ PKGNAMEPREFIX= ocaml- MAINTAINER= johans@FreeBSD.org COMMENT= A lexer generator for Unicode and OCaml +USES= gmake USE_OCAML= true USE_OCAML_FINDLIB= true USE_OCAML_LDCONFIG= true -OCAMLC_DEPEND= ocaml>=3.10:${OCAMLC_PORT} +USE_OCAMLFIND_PLIST= yes ALL_TARGET= all all.opt - -USE_GMAKE= yes - MAKE_JOBS_UNSAFE= yes -.if !defined(NOPORTDOCS) -ALL_TARGET+= doc PORTDOCS= * -.endif -PKGDEINSTALL= ${PKGINSTALL} +OPTIONS_DEFINE= DOCS + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MDOCS} +ALL_TARGET+= doc -NO_STAGE= yes post-install: - @${FIND} ${PREFIX}/${OCAML_SITELIBDIR}/${PORTNAME} -type f | \ - ${SED} "s,^${PREFIX}/,," >> ${TMPPLIST} -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/*.html ${WRKSRC}/*.css ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/*.html ${WRKSRC}/*.css ${STAGEDIR}${DOCSDIR} .endif .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403262111.s2QLBCAZ089343>