pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/misc/ocaml-topkg
Module Name: pkgsrc
Committed By: jaapb
Date: Tue Jul 11 09:58:59 UTC 2017
Added Files:
pkgsrc/misc/ocaml-topkg: DESCR Makefile PLIST buildlink3.mk distinfo
Log Message:
New package misc/ocaml-topkg, a packaging system for OCaml.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/misc/ocaml-topkg/DESCR \
pkgsrc/misc/ocaml-topkg/Makefile pkgsrc/misc/ocaml-topkg/PLIST \
pkgsrc/misc/ocaml-topkg/buildlink3.mk pkgsrc/misc/ocaml-topkg/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/misc/ocaml-topkg/DESCR
diff -u /dev/null pkgsrc/misc/ocaml-topkg/DESCR:1.1
--- /dev/null Tue Jul 11 09:58:59 2017
+++ pkgsrc/misc/ocaml-topkg/DESCR Tue Jul 11 09:58:59 2017
@@ -0,0 +1,4 @@
+Topkg is a packager for distributing OCaml software. It provides an API to
+describe the files a package installs in a given build configuration and to
+specify information about the package's distribution creation and publication
+procedures.
Index: pkgsrc/misc/ocaml-topkg/Makefile
diff -u /dev/null pkgsrc/misc/ocaml-topkg/Makefile:1.1
--- /dev/null Tue Jul 11 09:58:59 2017
+++ pkgsrc/misc/ocaml-topkg/Makefile Tue Jul 11 09:58:59 2017
@@ -0,0 +1,47 @@
+# $NetBSD: Makefile,v 1.1 2017/07/11 09:58:59 jaapb Exp $
+
+DISTNAME= topkg-0.9.0
+PKGNAME= ocaml-${DISTNAME}
+CATEGORIES= misc
+MASTER_SITES= http://erratique.ch/software/topkg/releases/
+EXTRACT_SUFX= .tbz
+
+MAINTAINER= jaapb%NetBSD.org@localhost
+HOMEPAGE= http://erratique.ch/software/topkg/
+COMMENT= Transitory OCaml software packager
+LICENSE= isc
+
+OCAML_USE_TOPKG= yes
+INSTALLATION_DIRS+= share/doc/topkg
+
+.include "../../mk/ocaml.mk"
+
+# Normally, we'd do this using opam-installer, but that requires
+# devel/ocaml-cmdliner, which requires this package.
+do-install:
+ for i in CHANGES.md LICENSE.md README.md; do \
+ ${INSTALL_DATA} ${WRKSRC}/_build/$$i \
+ ${DESTDIR}${PREFIX}/share/doc/topkg; \
+ done
+ ${INSTALL_DATA} ${WRKSRC}/_build/topkg.opam \
+ ${DESTDIR}${PREFIX}/${OCAML_SITELIBDIR}/topkg/opam
+ for i in pkg/META src/topkg.cma src/topkg.cmi src/topkg.cmti \
+ src/topkg.mli; do \
+ ${INSTALL_DATA} ${WRKSRC}/_build/$$i \
+ ${DESTDIR}${PREFIX}/${OCAML_SITELIBDIR}/topkg; \
+ done
+.if ${OCAML_USE_OPT_COMPILER} == "yes"
+ for i in topkg.a topkg.cmx topkg.cmxa topkg.cmxs topkg_build.cmx \
+ topkg_cmd.cmx topkg_codec.cmx topkg_conf.cmx topkg_distrib.cmx \
+ topkg_fexts.cmx topkg_fpath.cmx topkg_install.cmx \
+ topkg_ipc.cmx topkg_log.cmx topkg_main.cmx topkg_opam.cmx \
+ topkg_os.cmx topkg_pkg.cmx topkg_publish.cmx topkg_result.cmx \
+ topkg_string.cmx topkg_test.cmx topkg_vcs.cmx; do \
+ ${INSTALL_DATA} ${WRKSRC}/_build/src/$$i \
+ ${DESTDIR}${PREFIX}/${OCAML_SITELIBDIR}/topkg; \
+ done
+.endif
+
+.include "../../devel/ocaml-result/buildlink3.mk"
+.include "../../devel/ocamlbuild/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/misc/ocaml-topkg/PLIST
diff -u /dev/null pkgsrc/misc/ocaml-topkg/PLIST:1.1
--- /dev/null Tue Jul 11 09:58:59 2017
+++ pkgsrc/misc/ocaml-topkg/PLIST Tue Jul 11 09:58:59 2017
@@ -0,0 +1,33 @@
+@comment $NetBSD: PLIST,v 1.1 2017/07/11 09:58:59 jaapb Exp $
+${OCAML_SITELIB}/topkg/META
+${OCAML_SITELIB}/topkg/opam
+${PLIST.ocaml-opt}${OCAML_SITELIB}/topkg/topkg.a
+${OCAML_SITELIB}/topkg/topkg.cma
+${OCAML_SITELIB}/topkg/topkg.cmi
+${OCAML_SITELIB}/topkg/topkg.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/topkg/topkg.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/topkg/topkg.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/topkg/topkg.cmxs
+${OCAML_SITELIB}/topkg/topkg.mli
+${PLIST.ocaml-opt}${OCAML_SITELIB}/topkg/topkg_build.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/topkg/topkg_cmd.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/topkg/topkg_codec.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/topkg/topkg_conf.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/topkg/topkg_distrib.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/topkg/topkg_fexts.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/topkg/topkg_fpath.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/topkg/topkg_install.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/topkg/topkg_ipc.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/topkg/topkg_log.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/topkg/topkg_main.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/topkg/topkg_opam.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/topkg/topkg_os.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/topkg/topkg_pkg.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/topkg/topkg_publish.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/topkg/topkg_result.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/topkg/topkg_string.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/topkg/topkg_test.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/topkg/topkg_vcs.cmx
+share/doc/topkg/CHANGES.md
+share/doc/topkg/LICENSE.md
+share/doc/topkg/README.md
Index: pkgsrc/misc/ocaml-topkg/buildlink3.mk
diff -u /dev/null pkgsrc/misc/ocaml-topkg/buildlink3.mk:1.1
--- /dev/null Tue Jul 11 09:58:59 2017
+++ pkgsrc/misc/ocaml-topkg/buildlink3.mk Tue Jul 11 09:58:59 2017
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2017/07/11 09:58:59 jaapb Exp $
+
+BUILDLINK_TREE+= ocaml-topkg
+
+.if !defined(OCAML_TOPKG_BUILDLINK3_MK)
+OCAML_TOPKG_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-topkg+= ocaml-topkg>=0.9.0
+BUILDLINK_PKGSRCDIR.ocaml-topkg?= ../../misc/ocaml-topkg
+
+.endif # OCAML_TOPKG_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -ocaml-topkg
Index: pkgsrc/misc/ocaml-topkg/distinfo
diff -u /dev/null pkgsrc/misc/ocaml-topkg/distinfo:1.1
--- /dev/null Tue Jul 11 09:58:59 2017
+++ pkgsrc/misc/ocaml-topkg/distinfo Tue Jul 11 09:58:59 2017
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/07/11 09:58:59 jaapb Exp $
+
+SHA1 (topkg-0.9.0.tbz) = e9a8af20c3f25813dc7069d98ff9a26373381ad6
+RMD160 (topkg-0.9.0.tbz) = cdd65d30ca006a594fd8d38ffc477f94cd8ebe4c
+SHA512 (topkg-0.9.0.tbz) = 3acbb9896a407fe26e1279eb4c4cbb0c29986c7202d6b8df994d8c7c9e5dfc1a9756f11d4af92739479881cadf3a953aa250ac4b8daaa0466cce4b5eb88a4f95
+Size (topkg-0.9.0.tbz) = 93871 bytes
Home |
Main Index |
Thread Index |
Old Index