diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2014-04-06 22:00:52 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2014-04-06 22:00:52 +0000 |
commit | a08c0d4c1cbf61408592936299494afffd32f128 (patch) | |
tree | 2370e3f4ba98c42616ba93eb83a4d46703c2d4e2 /textproc/ocaml-pxp | |
parent | 6e1b55a5f1688730df85673a59052a259e6cca9d (diff) | |
download | ports-a08c0d4c1cbf61408592936299494afffd32f128.tar.gz ports-a08c0d4c1cbf61408592936299494afffd32f128.zip |
Notes
Diffstat (limited to 'textproc/ocaml-pxp')
-rw-r--r-- | textproc/ocaml-pxp/Makefile | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/textproc/ocaml-pxp/Makefile b/textproc/ocaml-pxp/Makefile index f2d499b2b47e..285d644c0183 100644 --- a/textproc/ocaml-pxp/Makefile +++ b/textproc/ocaml-pxp/Makefile @@ -17,33 +17,28 @@ OPTIONS_DEFINE= ULEX OPTIONS_DEFAULT=ULEX ULEX_DESC= Include UTF-8 lexical analyzer support +USES= gmake USE_OCAML= true USE_OCAML_FINDLIB= true USE_OCAML_LDCONFIG= true -NO_STAGE= yes -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MULEX} -BUILD_DEPENDS+= ${LOCALBASE}/${OCAML_SITELIBDIR}/ulex/ulexing.a:${PORTSDIR}/devel/ocaml-ulex -RUN_DEPENDS+= ${LOCALBASE}/${OCAML_SITELIBDIR}/ulex/ulexing.a:${PORTSDIR}/devel/ocaml-ulex -.endif - -USE_GMAKE= yes +ULEX_BUILD_DEPENDS= ${LOCALBASE}/${OCAML_SITELIBDIR}/ulex/ulexing.a:${PORTSDIR}/devel/ocaml-ulex +ULEX_RUN_DEPENDS= ${LOCALBASE}/${OCAML_SITELIBDIR}/ulex/ulexing.a:${PORTSDIR}/devel/ocaml-ulex HAS_CONFIGURE= yes CONFIGURE_ARGS+=-without-wlex-compat -without-wlex ALL_TARGET= all opt +MAKE_JOBS_UNSAFE= yes # to avoid a conflict with PACKAGES in bsd.port.mk post-extract: ${FIND} ${WRKSRC} -name "Makefile*" | ${XARGS} ${REINPLACE_CMD} -e 's/PACKAGES/PXP_PACKAGES/' post-install: - @${FIND} ${PREFIX}/lib/ocaml/site-lib/pxp* -type f | \ - ${SED} "s,^${PREFIX}/,," >> ${TMPPLIST} - @${FIND} ${PREFIX}/lib/ocaml/site-lib/ -type d -name 'pxp*' | ${SORT} -r | \ - ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} + @${FIND} ${STAGEDIR}${PREFIX}/lib/ocaml/site-lib/pxp* -type f | \ + ${SED} "s,^${STAGEDIR}${PREFIX}/,," >> ${TMPPLIST} + @${FIND} ${STAGEDIR}${PREFIX}/lib/ocaml/site-lib/ -type d -name 'pxp*' | ${SORT} -r | \ + ${SED} 's,^${STAGEDIR}${PREFIX}/,@dirrm ,' >> ${TMPPLIST} .include <bsd.port.mk> |