pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/ocsigen-i18n
Module Name: pkgsrc
Committed By: jaapb
Date: Tue Jun 5 16:02:40 UTC 2018
Added Files:
pkgsrc/www/ocsigen-i18n: DESCR Makefile PLIST buildlink3.mk distinfo
pkgsrc/www/ocsigen-i18n/patches: patch-Makefile
Log Message:
New package www/ocsigen-i18n, which does exactly what its name suggests
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/www/ocsigen-i18n/DESCR \
pkgsrc/www/ocsigen-i18n/Makefile pkgsrc/www/ocsigen-i18n/PLIST \
pkgsrc/www/ocsigen-i18n/buildlink3.mk pkgsrc/www/ocsigen-i18n/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/www/ocsigen-i18n/patches/patch-Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/www/ocsigen-i18n/DESCR
diff -u /dev/null pkgsrc/www/ocsigen-i18n/DESCR:1.1
--- /dev/null Tue Jun 5 16:02:40 2018
+++ pkgsrc/www/ocsigen-i18n/DESCR Tue Jun 5 16:02:39 2018
@@ -0,0 +1 @@
+Ocsigen-i18n is a package that adds internationalisation support to Ocsigen.
Index: pkgsrc/www/ocsigen-i18n/Makefile
diff -u /dev/null pkgsrc/www/ocsigen-i18n/Makefile:1.1
--- /dev/null Tue Jun 5 16:02:40 2018
+++ pkgsrc/www/ocsigen-i18n/Makefile Tue Jun 5 16:02:40 2018
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1 2018/06/05 16:02:40 jaapb Exp $
+
+GITHUB_PROJECT= ocsigen-i18n
+DISTNAME= ${GITHUB_PROJECT}-3.1.0
+CATEGORIES= www
+MASTER_SITES= ${MASTER_SITE_GITHUB:=besport/}
+
+MAINTAINER= jaapb%NetBSD.org@localhost
+HOMEPAGE= https://github.com/besport/ocsigen-i18n/
+COMMENT= i18n package for Ocsigen
+LICENSE= gnu-lgpl-v2.1
+
+USE_LANGUAGES= # none
+USE_TOOLS= gmake
+BUILD_TARGET= build
+MAKE_ENV= bindir=${DESTDIR}${PREFIX}/bin
+INSTALLATION_DIRS+= bin
+
+OCAML_USE_FINDLIB= yes
+
+.include "../../mk/ocaml.mk"
+
+.if ${OCAML_USE_OPT_COMPILER} == "yes"
+MAKE_ENV+= OPTNESS=native
+.else
+MAKE_ENV+= OPTNESS=byte
+.endif
+
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/www/ocsigen-i18n/PLIST
diff -u /dev/null pkgsrc/www/ocsigen-i18n/PLIST:1.1
--- /dev/null Tue Jun 5 16:02:40 2018
+++ pkgsrc/www/ocsigen-i18n/PLIST Tue Jun 5 16:02:40 2018
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1 2018/06/05 16:02:40 jaapb Exp $
+bin/ocsigen-i18n-checker
+bin/ocsigen-i18n-generator
+bin/ocsigen-i18n-rewriter
+@pkgdir ${OCAML_SITELIB}
Index: pkgsrc/www/ocsigen-i18n/buildlink3.mk
diff -u /dev/null pkgsrc/www/ocsigen-i18n/buildlink3.mk:1.1
--- /dev/null Tue Jun 5 16:02:40 2018
+++ pkgsrc/www/ocsigen-i18n/buildlink3.mk Tue Jun 5 16:02:40 2018
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2018/06/05 16:02:40 jaapb Exp $
+
+BUILDLINK_TREE+= ocsigen-i18n
+
+.if !defined(OCSIGEN_I18N_BUILDLINK3_MK)
+OCSIGEN_I18N_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocsigen-i18n+= ocsigen-i18n>=3.1.0
+BUILDLINK_PKGSRCDIR.ocsigen-i18n?= ../../www/ocsigen-i18n
+.endif # OCSIGEN_I18N_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -ocsigen-i18n
Index: pkgsrc/www/ocsigen-i18n/distinfo
diff -u /dev/null pkgsrc/www/ocsigen-i18n/distinfo:1.1
--- /dev/null Tue Jun 5 16:02:40 2018
+++ pkgsrc/www/ocsigen-i18n/distinfo Tue Jun 5 16:02:40 2018
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2018/06/05 16:02:40 jaapb Exp $
+
+SHA1 (ocsigen-i18n-3.1.0.tar.gz) = 367aa892c3ecf91ad23f89915554e93c3c573225
+RMD160 (ocsigen-i18n-3.1.0.tar.gz) = c4973cc7ea39a51f1f2fc57acbe9f37c8523b694
+SHA512 (ocsigen-i18n-3.1.0.tar.gz) = a103c8da39ffadbe90ef183ee9ad3b68f3b5feb8dd5cf9d94f37880dcfedd495bbe799e218e739eb830e8dc7c8636edbd8c00ce9c0843ecf8047f9eb00b9f18f
+Size (ocsigen-i18n-3.1.0.tar.gz) = 6066 bytes
+SHA1 (patch-Makefile) = a3b5ac9c4572c37339813f017a079f39d3c47954
Index: pkgsrc/www/ocsigen-i18n/patches/patch-Makefile
diff -u /dev/null pkgsrc/www/ocsigen-i18n/patches/patch-Makefile:1.1
--- /dev/null Tue Jun 5 16:02:40 2018
+++ pkgsrc/www/ocsigen-i18n/patches/patch-Makefile Tue Jun 5 16:02:40 2018
@@ -0,0 +1,27 @@
+$NetBSD: patch-Makefile,v 1.1 2018/06/05 16:02:40 jaapb Exp $
+
+Use proper installation programs and native compilation
+--- Makefile.orig 2017-01-16 16:05:43.000000000 +0000
++++ Makefile
+@@ -1,4 +1,8 @@
++ifeq (${OPTNESS},native)
++OCAMLC=ocamlfind ocamlopt
++else
+ OCAMLC=ocamlfind ocamlc
++endif
+ CHECKER=ocsigen-i18n-checker
+ REWRITER=ocsigen-i18n-rewriter
+ GENERATOR=ocsigen-i18n-generator
+@@ -26,7 +30,11 @@ install: ${PROGS}
+ ifndef bindir
+ ${error bindir is not set}
+ else
+- cp ${PROGS} ${bindir}
++ifeq ($(OPTNESS),native)
++ ${BSD_INSTALL_PROGRAM} ${PROGS} ${bindir}
++else
++ ${BSD_INSTALL_SCRIPT} ${PROGS} ${bindir}
++endif
+ endif
+
+ uninstall:
Home |
Main Index |
Thread Index |
Old Index