From owner-svn-ports-all@FreeBSD.ORG Sun Apr 6 22:00:53 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8EF0F6BD; Sun, 6 Apr 2014 22:00:53 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6256AFD; Sun, 6 Apr 2014 22:00:53 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s36M0rBV036961; Sun, 6 Apr 2014 22:00:53 GMT (envelope-from antoine@svn.freebsd.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s36M0roe036951; Sun, 6 Apr 2014 22:00:53 GMT (envelope-from antoine@svn.freebsd.org) Message-Id: <201404062200.s36M0roe036951@svn.freebsd.org> From: Antoine Brodin Date: Sun, 6 Apr 2014 22:00:53 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r350416 - head/textproc/ocaml-pxp X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Apr 2014 22:00:53 -0000 Author: antoine Date: Sun Apr 6 22:00:52 2014 New Revision: 350416 URL: http://svnweb.freebsd.org/changeset/ports/350416 QAT: https://qat.redports.org/buildarchive/r350416/ Log: Stage support Modified: head/textproc/ocaml-pxp/Makefile Modified: head/textproc/ocaml-pxp/Makefile ============================================================================== --- head/textproc/ocaml-pxp/Makefile Sun Apr 6 21:36:43 2014 (r350415) +++ head/textproc/ocaml-pxp/Makefile Sun Apr 6 22:00:52 2014 (r350416) @@ -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 - -.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