svn commit: r361531 - head/devel/ocaml-xstrp4

Vanilla I. Shu vanilla at FreeBSD.org
Fri Jul 11 13:13:06 UTC 2014


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
+ at dirrmtry %%OCAML_SITELIBDIR%%/xstrp4
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%


More information about the svn-ports-head mailing list