Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jul 2014 13:13:06 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r361531 - head/devel/ocaml-xstrp4
Message-ID:  <201407111313.s6BDD6Bi070216@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Fri Jul 11 13:13:05 2014
New Revision: 361531
URL: http://svnweb.freebsd.org/changeset/ports/361531
QAT: https://qat.redports.org/buildarchive/r361531/

Log:
  Stagify.

Added:
  head/devel/ocaml-xstrp4/pkg-plist   (contents, props changed)
Modified:
  head/devel/ocaml-xstrp4/Makefile

Modified: head/devel/ocaml-xstrp4/Makefile
==============================================================================
--- head/devel/ocaml-xstrp4/Makefile	Fri Jul 11 13:06:01 2014	(r361530)
+++ head/devel/ocaml-xstrp4/Makefile	Fri Jul 11 13:13:05 2014	(r361531)
@@ -17,27 +17,14 @@ OPTIONS_DEFINE=	EXAMPLES
 
 USES=		gmake
 USE_OCAML=	yes
-USE_OCAML_FINDLIB=yes
-USE_OCAMLFIND_PLIST=yes
-
+USE_OCAML_FINDLIB=	yes
 HAS_CONFIGURE=	yes
 MAKE_JOBS_UNSAFE=	yes
 
 EXAMPLESDIR=	${OCAML_EXAMPLESDIR}/${PORTNAME}
 
-PORTEXAMPLES=	*
-
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MEXAMPLES}
-PLIST_DIRSTRY+=	${OCAML_EXAMPLESDIR:S,^${PREFIX}/,,}
-.endif
-
 post-install:
-.if ${PORT_OPTIONS:MEXAMPLES}
-	@${MKDIR} ${EXAMPLESDIR}
-	(cd ${WRKSRC} && ${INSTALL_DATA} sample.* ${EXAMPLESDIR})
-.endif
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	(cd ${WRKSRC} && ${INSTALL_DATA} sample.* ${STAGEDIR}${EXAMPLESDIR})
 
 .include <bsd.port.mk>

Added: head/devel/ocaml-xstrp4/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/ocaml-xstrp4/pkg-plist	Fri Jul 11 13:13:05 2014	(r361531)
@@ -0,0 +1,9 @@
+%%OCAML_SITELIBDIR%%/xstrp4/META
+%%OCAML_SITELIBDIR%%/xstrp4/xstrp4.cma
+%%OCAML_SITELIBDIR%%/xstrp4/xstrp4_here.cmi
+%%OCAML_SITELIBDIR%%/xstrp4/xstrp4_here_lexer.cmi
+%%OCAML_SITELIBDIR%%/xstrp4/xstrp4_here_types.cmi
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sample.file
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sample.ml
+@dirrmtry %%OCAML_SITELIBDIR%%/xstrp4
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%



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