svn commit: r350162 - head/devel/ocaml-magic
Johan van Selst
johans at FreeBSD.org
Fri Apr 4 19:57:57 UTC 2014
Author: johans
Date: Fri Apr 4 19:57:56 2014
New Revision: 350162
URL: http://svnweb.freebsd.org/changeset/ports/350162
QAT: https://qat.redports.org/buildarchive/r350162/
Log:
Stagify and minor cleanups
Added:
head/devel/ocaml-magic/pkg-plist (contents, props changed)
Modified:
head/devel/ocaml-magic/Makefile
Modified: head/devel/ocaml-magic/Makefile
==============================================================================
--- head/devel/ocaml-magic/Makefile Fri Apr 4 19:57:17 2014 (r350161)
+++ head/devel/ocaml-magic/Makefile Fri Apr 4 19:57:56 2014 (r350162)
@@ -3,50 +3,34 @@
PORTNAME= magic
PORTVERSION= 0.7.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= SF/ocaml-${PORTNAME}/ocaml-${PORTNAME}/0.7
PKGNAMEPREFIX= ocaml-
DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
MAINTAINER= johans at FreeBSD.org
-COMMENT= An OCaml binding for libmagic(3)
+COMMENT= OCaml binding for libmagic(3)
USE_OCAML= yes
USE_OCAML_FINDLIB= yes
USE_OCAML_LDCONFIG= yes
+USES= gmake
GNU_CONFIGURE= yes
-USE_GMAKE= yes
-.ifndef(NOPORTDOCS)
-ALL_TARGET+= doc
-PORTDOCS= *
+ALL_TARGET+= doc examples
DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME}
-.endif
-
-.ifndef(NOPORTEXAMPLES)
-ALL_TARGET+= examples
-PORTEXAMPLES= *
EXAMPLESDIR= ${OCAML_EXAMPLESDIR}/${PORTNAME}
-.endif
# This really is overzealous but I work this way
.if !exists(/usr/lib/libmagic.so)
-LIB_DEPENDS+= magic:${PORTSDIR}/sysutils/file
+LIB_DEPENDS+= libmagic.so:${PORTSDIR}/sysutils/file
.endif
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
-
post-install:
-.ifndef(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/html/* ${DOCSDIR}
-.endif
-.ifndef(NOPORTEXAMPLES)
- ${MKDIR} ${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
-.endif
+ ${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/html/* ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Added: head/devel/ocaml-magic/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/ocaml-magic/pkg-plist Fri Apr 4 19:57:56 2014 (r350162)
@@ -0,0 +1,34 @@
+%%OCAML_SITELIBDIR%%/magic/META
+%%OCAML_SITELIBDIR%%/magic/dllmagic_stubs.so
+%%OCAML_SITELIBDIR%%/magic/libmagic_stubs.a
+%%OCAML_SITELIBDIR%%/magic/magic.a
+%%OCAML_SITELIBDIR%%/magic/magic.cma
+%%OCAML_SITELIBDIR%%/magic/magic.cmi
+%%OCAML_SITELIBDIR%%/magic/magic.cmx
+%%OCAML_SITELIBDIR%%/magic/magic.cmxa
+%%OCAML_SITELIBDIR%%/magic/magic.mli
+%%PORTDOCS%%%%DOCSDIR%%/Magic.html
+%%PORTDOCS%%%%DOCSDIR%%/index.html
+%%PORTDOCS%%%%DOCSDIR%%/index_attributes.html
+%%PORTDOCS%%%%DOCSDIR%%/index_class_types.html
+%%PORTDOCS%%%%DOCSDIR%%/index_classes.html
+%%PORTDOCS%%%%DOCSDIR%%/index_exceptions.html
+%%PORTDOCS%%%%DOCSDIR%%/index_methods.html
+%%PORTDOCS%%%%DOCSDIR%%/index_module_types.html
+%%PORTDOCS%%%%DOCSDIR%%/index_modules.html
+%%PORTDOCS%%%%DOCSDIR%%/index_types.html
+%%PORTDOCS%%%%DOCSDIR%%/index_values.html
+%%PORTDOCS%%%%DOCSDIR%%/style.css
+%%PORTDOCS%%%%DOCSDIR%%/type_Magic.html
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Makefile
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Makefile.in
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/file
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/file.cmi
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/file.cmo
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/file.cmx
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/file.ml
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/file.o
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test.ml
+%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%
+%%PORTDOCS%%@dirrmtry %%DOCSDIR%%
+ at dirrmtry %%OCAML_SITELIBDIR%%/magic
More information about the svn-ports-head
mailing list