pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc
Module Name: pkgsrc
Committed By: dkazankov
Date: Thu Sep 4 10:44:40 UTC 2025
Modified Files:
pkgsrc/textproc: Makefile
Added Files:
pkgsrc/textproc/ada-templates-parser-25: DESCR Makefile PLIST
buildlink3.mk distinfo
pkgsrc/textproc/ada-templates-parser-25/patches: patch-Makefile
Log Message:
textproc/ada-templates-parser-25: add new package 25.0.0
Tools to create templated text streams, such as dynamic HTML documents
To generate a diff of this commit:
cvs rdiff -u -r1.1537 -r1.1538 pkgsrc/textproc/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/ada-templates-parser-25/DESCR \
pkgsrc/textproc/ada-templates-parser-25/Makefile \
pkgsrc/textproc/ada-templates-parser-25/PLIST \
pkgsrc/textproc/ada-templates-parser-25/buildlink3.mk \
pkgsrc/textproc/ada-templates-parser-25/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/textproc/ada-templates-parser-25/patches/patch-Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/textproc/Makefile
diff -u pkgsrc/textproc/Makefile:1.1537 pkgsrc/textproc/Makefile:1.1538
--- pkgsrc/textproc/Makefile:1.1537 Sun Aug 31 19:16:31 2025
+++ pkgsrc/textproc/Makefile Thu Sep 4 10:44:40 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1537 2025/08/31 19:16:31 wiz Exp $
+# $NetBSD: Makefile,v 1.1538 2025/09/04 10:44:40 dkazankov Exp $
#
COMMENT= Text processing utilities (does not include desktop publishing)
@@ -50,6 +50,7 @@ SUBDIR+= R-xmlparsedata
SUBDIR+= R-yaml
SUBDIR+= WordNet
SUBDIR+= ada-prettier-ada-25
+SUBDIR+= ada-templates-parser-25
SUBDIR+= ada-vss-25
SUBDIR+= ada-xmlada-24
SUBDIR+= ada-xmlada-25
Added files:
Index: pkgsrc/textproc/ada-templates-parser-25/DESCR
diff -u /dev/null pkgsrc/textproc/ada-templates-parser-25/DESCR:1.1
--- /dev/null Thu Sep 4 10:44:40 2025
+++ pkgsrc/textproc/ada-templates-parser-25/DESCR Thu Sep 4 10:44:40 2025
@@ -0,0 +1 @@
+Tools to create templated text streams, such as dynamic HTML documents.
Index: pkgsrc/textproc/ada-templates-parser-25/Makefile
diff -u /dev/null pkgsrc/textproc/ada-templates-parser-25/Makefile:1.1
--- /dev/null Thu Sep 4 10:44:40 2025
+++ pkgsrc/textproc/ada-templates-parser-25/Makefile Thu Sep 4 10:44:40 2025
@@ -0,0 +1,63 @@
+# $NetBSD: Makefile,v 1.1 2025/09/04 10:44:40 dkazankov Exp $
+
+DISTNAME= ${GITHUB_PROJECT}-${PKGVERSION_NOREV}
+PKGNAME= ${GITHUB_PROJECT}-${GNAT_NAME}-25.0.0
+CATEGORIES= textproc devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=AdaCore/}
+GITHUB_PROJECT= templates-parser
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= dkazankov%NetBSD.org@localhost
+HOMEPAGE= https://github.com/AdaCore/templates-parser
+COMMENT= Tools to create templated text streams, such as dynamic HTML documents
+LICENSE= gnu-gpl-v3
+
+USE_TOOLS+= gmake
+
+USE_LANGUAGES= c ada # really ada only
+
+HAS_CONFIGURE= yes
+
+USE_GCC_RUNTIME= yes
+
+.include "../../mk/bsd.prefs.mk"
+
+GCC_REQD+= 14
+
+SUBST_CLASSES+= version
+SUBST_MESSAGE.version= Fix version number in ${SUBST_FILES.version}
+SUBST_STAGE.version= pre-configure
+SUBST_FILES.version= Makefile
+SUBST_SED.version= -e "s,22.0,25.0,"
+
+CONFIG_SHELL= ${MAKE_PROGRAM}
+CONFIGURE_SCRIPT= setup
+CONFIGURE_ARGS= VERSION=25.0 prefix=${GNAT_PREFIX}
+
+PLIST_VARS+= shlibs
+
+USE_PKGSRC_GCC_RUNTIME?= no
+.if ${USE_PKGSRC_GCC_RUNTIME:tl} == "yes"
+PLIST.shlibs= yes
+CONFIGURE_ARGS+= ENABLE_SHARED=true
+BUILDLINK_DEPMETHOD.xmlada-25= full
+.else
+CONFIGURE_ARGS+= ENABLE_SHARED=false
+.endif
+
+BUILD_TARGET= build
+BUILD_MAKE_FLAGS+= GPROPTS=${GPRBUILD_OPTIONS:Q}
+
+CHECK_PIE_SKIP+= ${GNAT_PKGBASE}/bin/*
+
+GENERATE_PLIST+= \
+ cd ${DESTDIR}${PREFIX} && \
+ ${FIND} ${GNAT_PKGBASE} \( -type f -or -type l \) -print | ${SORT};
+
+PRINT_PLIST_AWK+= /\.relocatable\/|\.static-pic\/|lib\/.*\.${SHLIB_EXT}.*/ { $$0 = "$${PLIST.shlibs}" $$0 }
+
+.include "../../devel/gprbuild/buildlink3.mk"
+
+.include "../../textproc/ada-xmlada-25/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/textproc/ada-templates-parser-25/PLIST
diff -u /dev/null pkgsrc/textproc/ada-templates-parser-25/PLIST:1.1
--- /dev/null Thu Sep 4 10:44:40 2025
+++ pkgsrc/textproc/ada-templates-parser-25/PLIST Thu Sep 4 10:44:40 2025
@@ -0,0 +1,98 @@
+@comment $NetBSD: PLIST,v 1.1 2025/09/04 10:44:40 dkazankov Exp $
+${GNAT_PKGBASE}/bin/templates2ada
+${GNAT_PKGBASE}/bin/templatespp
+${PLIST.shlibs}${GNAT_PKGBASE}/include/templates_parser.relocatable/templates_parser-cached_files.adb
+${PLIST.shlibs}${GNAT_PKGBASE}/include/templates_parser.relocatable/templates_parser-configuration__standalone.ads
+${PLIST.shlibs}${GNAT_PKGBASE}/include/templates_parser.relocatable/templates_parser-data.adb
+${PLIST.shlibs}${GNAT_PKGBASE}/include/templates_parser.relocatable/templates_parser-debug.adb
+${PLIST.shlibs}${GNAT_PKGBASE}/include/templates_parser.relocatable/templates_parser-debug.ads
+${PLIST.shlibs}${GNAT_PKGBASE}/include/templates_parser.relocatable/templates_parser-definitions.adb
+${PLIST.shlibs}${GNAT_PKGBASE}/include/templates_parser.relocatable/templates_parser-expr.adb
+${PLIST.shlibs}${GNAT_PKGBASE}/include/templates_parser.relocatable/templates_parser-filter.adb
+${PLIST.shlibs}${GNAT_PKGBASE}/include/templates_parser.relocatable/templates_parser-input.ads
+${PLIST.shlibs}${GNAT_PKGBASE}/include/templates_parser.relocatable/templates_parser-input__standalone.adb
+${PLIST.shlibs}${GNAT_PKGBASE}/include/templates_parser.relocatable/templates_parser-macro.adb
+${PLIST.shlibs}${GNAT_PKGBASE}/include/templates_parser.relocatable/templates_parser-print_tree.adb
+${PLIST.shlibs}${GNAT_PKGBASE}/include/templates_parser.relocatable/templates_parser-query.adb
+${PLIST.shlibs}${GNAT_PKGBASE}/include/templates_parser.relocatable/templates_parser-query.ads
+${PLIST.shlibs}${GNAT_PKGBASE}/include/templates_parser.relocatable/templates_parser-simplifier.adb
+${PLIST.shlibs}${GNAT_PKGBASE}/include/templates_parser.relocatable/templates_parser-utils.adb
+${PLIST.shlibs}${GNAT_PKGBASE}/include/templates_parser.relocatable/templates_parser-utils.ads
+${PLIST.shlibs}${GNAT_PKGBASE}/include/templates_parser.relocatable/templates_parser-version.adb
+${PLIST.shlibs}${GNAT_PKGBASE}/include/templates_parser.relocatable/templates_parser.adb
+${PLIST.shlibs}${GNAT_PKGBASE}/include/templates_parser.relocatable/templates_parser.ads
+${PLIST.shlibs}${GNAT_PKGBASE}/include/templates_parser.relocatable/templates_parser_tasking.ads
+${PLIST.shlibs}${GNAT_PKGBASE}/include/templates_parser.relocatable/templates_parser_tasking__standard_tasking.adb
+${PLIST.shlibs}${GNAT_PKGBASE}/include/templates_parser.static-pic/templates_parser-cached_files.adb
+${PLIST.shlibs}${GNAT_PKGBASE}/include/templates_parser.static-pic/templates_parser-configuration__standalone.ads
+${PLIST.shlibs}${GNAT_PKGBASE}/include/templates_parser.static-pic/templates_parser-data.adb
+${PLIST.shlibs}${GNAT_PKGBASE}/include/templates_parser.static-pic/templates_parser-debug.adb
+${PLIST.shlibs}${GNAT_PKGBASE}/include/templates_parser.static-pic/templates_parser-debug.ads
+${PLIST.shlibs}${GNAT_PKGBASE}/include/templates_parser.static-pic/templates_parser-definitions.adb
+${PLIST.shlibs}${GNAT_PKGBASE}/include/templates_parser.static-pic/templates_parser-expr.adb
+${PLIST.shlibs}${GNAT_PKGBASE}/include/templates_parser.static-pic/templates_parser-filter.adb
+${PLIST.shlibs}${GNAT_PKGBASE}/include/templates_parser.static-pic/templates_parser-input.ads
+${PLIST.shlibs}${GNAT_PKGBASE}/include/templates_parser.static-pic/templates_parser-input__standalone.adb
+${PLIST.shlibs}${GNAT_PKGBASE}/include/templates_parser.static-pic/templates_parser-macro.adb
+${PLIST.shlibs}${GNAT_PKGBASE}/include/templates_parser.static-pic/templates_parser-print_tree.adb
+${PLIST.shlibs}${GNAT_PKGBASE}/include/templates_parser.static-pic/templates_parser-query.adb
+${PLIST.shlibs}${GNAT_PKGBASE}/include/templates_parser.static-pic/templates_parser-query.ads
+${PLIST.shlibs}${GNAT_PKGBASE}/include/templates_parser.static-pic/templates_parser-simplifier.adb
+${PLIST.shlibs}${GNAT_PKGBASE}/include/templates_parser.static-pic/templates_parser-utils.adb
+${PLIST.shlibs}${GNAT_PKGBASE}/include/templates_parser.static-pic/templates_parser-utils.ads
+${PLIST.shlibs}${GNAT_PKGBASE}/include/templates_parser.static-pic/templates_parser-version.adb
+${PLIST.shlibs}${GNAT_PKGBASE}/include/templates_parser.static-pic/templates_parser.adb
+${PLIST.shlibs}${GNAT_PKGBASE}/include/templates_parser.static-pic/templates_parser.ads
+${PLIST.shlibs}${GNAT_PKGBASE}/include/templates_parser.static-pic/templates_parser_tasking.ads
+${PLIST.shlibs}${GNAT_PKGBASE}/include/templates_parser.static-pic/templates_parser_tasking__standard_tasking.adb
+${GNAT_PKGBASE}/include/templates_parser.static/templates_parser-cached_files.adb
+${GNAT_PKGBASE}/include/templates_parser.static/templates_parser-configuration__standalone.ads
+${GNAT_PKGBASE}/include/templates_parser.static/templates_parser-data.adb
+${GNAT_PKGBASE}/include/templates_parser.static/templates_parser-debug.adb
+${GNAT_PKGBASE}/include/templates_parser.static/templates_parser-debug.ads
+${GNAT_PKGBASE}/include/templates_parser.static/templates_parser-definitions.adb
+${GNAT_PKGBASE}/include/templates_parser.static/templates_parser-expr.adb
+${GNAT_PKGBASE}/include/templates_parser.static/templates_parser-filter.adb
+${GNAT_PKGBASE}/include/templates_parser.static/templates_parser-input.ads
+${GNAT_PKGBASE}/include/templates_parser.static/templates_parser-input__standalone.adb
+${GNAT_PKGBASE}/include/templates_parser.static/templates_parser-macro.adb
+${GNAT_PKGBASE}/include/templates_parser.static/templates_parser-print_tree.adb
+${GNAT_PKGBASE}/include/templates_parser.static/templates_parser-query.adb
+${GNAT_PKGBASE}/include/templates_parser.static/templates_parser-query.ads
+${GNAT_PKGBASE}/include/templates_parser.static/templates_parser-simplifier.adb
+${GNAT_PKGBASE}/include/templates_parser.static/templates_parser-utils.adb
+${GNAT_PKGBASE}/include/templates_parser.static/templates_parser-utils.ads
+${GNAT_PKGBASE}/include/templates_parser.static/templates_parser-version.adb
+${GNAT_PKGBASE}/include/templates_parser.static/templates_parser.adb
+${GNAT_PKGBASE}/include/templates_parser.static/templates_parser.ads
+${GNAT_PKGBASE}/include/templates_parser.static/templates_parser_tasking.ads
+${GNAT_PKGBASE}/include/templates_parser.static/templates_parser_tasking__standard_tasking.adb
+${PLIST.shlibs}${GNAT_PKGBASE}/lib/libtemplates_parser-25.0.so
+${PLIST.shlibs}${GNAT_PKGBASE}/lib/libtemplates_parser.so
+${PLIST.shlibs}${GNAT_PKGBASE}/lib/templates_parser.relocatable/libtemplates_parser-25.0.so
+${PLIST.shlibs}${GNAT_PKGBASE}/lib/templates_parser.relocatable/libtemplates_parser.so
+${PLIST.shlibs}${GNAT_PKGBASE}/lib/templates_parser.relocatable/templates_parser-configuration__standalone.ali
+${PLIST.shlibs}${GNAT_PKGBASE}/lib/templates_parser.relocatable/templates_parser-debug.ali
+${PLIST.shlibs}${GNAT_PKGBASE}/lib/templates_parser.relocatable/templates_parser-input__standalone.ali
+${PLIST.shlibs}${GNAT_PKGBASE}/lib/templates_parser.relocatable/templates_parser-query.ali
+${PLIST.shlibs}${GNAT_PKGBASE}/lib/templates_parser.relocatable/templates_parser-utils.ali
+${PLIST.shlibs}${GNAT_PKGBASE}/lib/templates_parser.relocatable/templates_parser.ali
+${PLIST.shlibs}${GNAT_PKGBASE}/lib/templates_parser.relocatable/templates_parser_tasking__standard_tasking.ali
+${PLIST.shlibs}${GNAT_PKGBASE}/lib/templates_parser.static-pic/libtemplates_parser.a
+${PLIST.shlibs}${GNAT_PKGBASE}/lib/templates_parser.static-pic/templates_parser-configuration__standalone.ali
+${PLIST.shlibs}${GNAT_PKGBASE}/lib/templates_parser.static-pic/templates_parser-debug.ali
+${PLIST.shlibs}${GNAT_PKGBASE}/lib/templates_parser.static-pic/templates_parser-input__standalone.ali
+${PLIST.shlibs}${GNAT_PKGBASE}/lib/templates_parser.static-pic/templates_parser-query.ali
+${PLIST.shlibs}${GNAT_PKGBASE}/lib/templates_parser.static-pic/templates_parser-utils.ali
+${PLIST.shlibs}${GNAT_PKGBASE}/lib/templates_parser.static-pic/templates_parser.ali
+${PLIST.shlibs}${GNAT_PKGBASE}/lib/templates_parser.static-pic/templates_parser_tasking__standard_tasking.ali
+${GNAT_PKGBASE}/lib/templates_parser.static/libtemplates_parser.a
+${GNAT_PKGBASE}/lib/templates_parser.static/templates_parser-configuration__standalone.ali
+${GNAT_PKGBASE}/lib/templates_parser.static/templates_parser-debug.ali
+${GNAT_PKGBASE}/lib/templates_parser.static/templates_parser-input__standalone.ali
+${GNAT_PKGBASE}/lib/templates_parser.static/templates_parser-query.ali
+${GNAT_PKGBASE}/lib/templates_parser.static/templates_parser-utils.ali
+${GNAT_PKGBASE}/lib/templates_parser.static/templates_parser.ali
+${GNAT_PKGBASE}/lib/templates_parser.static/templates_parser_tasking__standard_tasking.ali
+${GNAT_PKGBASE}/share/gpr/manifests/templates_parser
+${GNAT_PKGBASE}/share/gpr/templates_parser.gpr
Index: pkgsrc/textproc/ada-templates-parser-25/buildlink3.mk
diff -u /dev/null pkgsrc/textproc/ada-templates-parser-25/buildlink3.mk:1.1
--- /dev/null Thu Sep 4 10:44:40 2025
+++ pkgsrc/textproc/ada-templates-parser-25/buildlink3.mk Thu Sep 4 10:44:40 2025
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1 2025/09/04 10:44:40 dkazankov Exp $
+
+BUILDLINK_TREE+= templates-parser-25
+
+.if !defined(TEMPLATES_PARSER_25_BUILDLINK3_MK)
+TEMPLATES_PARSER_25_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.templates-parser-25+= templates-parser-${GNAT_NAME}>=25.0.0
+BUILDLINK_PKGSRCDIR.templates-parser-25?= ../../textproc/ada-templates-parser-25
+BUILDLINK_DEPMETHOD.templates-parser-25?= build
+
+BUILDLINK_CONTENTS_FILTER.templates-parser-25= \
+ ${EGREP} "${GNAT_PKGBASE}/include/.*$$|${GNAT_PKGBASE}/lib/.*$$|${GNAT_PKGBASE}/share/gpr/.*$$"
+
+BUILDLINK_FNAME_TRANSFORM.templates-parser-25+= \
+ -e "s|${BUILDLINK_DIR}/${GNAT_PKGBASE}/|${BUILDLINK_DIR}/|g"
+
+.endif
+
+BUILDLINK_TREE+= -templates-parser-25
Index: pkgsrc/textproc/ada-templates-parser-25/distinfo
diff -u /dev/null pkgsrc/textproc/ada-templates-parser-25/distinfo:1.1
--- /dev/null Thu Sep 4 10:44:40 2025
+++ pkgsrc/textproc/ada-templates-parser-25/distinfo Thu Sep 4 10:44:40 2025
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2025/09/04 10:44:40 dkazankov Exp $
+
+BLAKE2s (templates-parser-25.0.0.tar.gz) = 87196226137489c985fea3d1dd2994eeefb0ec8e168546081361a1bfa2e42114
+SHA512 (templates-parser-25.0.0.tar.gz) = 902e41f713dd8446e08ba6f180b4c88c35d37da3476d0c925a4b6a05fb5038ff9ec1b0daa0443a55e82f902867b774efb4e28c0b7d8ec59fb15d050ee523ee87
+Size (templates-parser-25.0.0.tar.gz) = 259459 bytes
+SHA1 (patch-Makefile) = 7a68d4171a832b2e4244989f86d469e06b1df062
Index: pkgsrc/textproc/ada-templates-parser-25/patches/patch-Makefile
diff -u /dev/null pkgsrc/textproc/ada-templates-parser-25/patches/patch-Makefile:1.1
--- /dev/null Thu Sep 4 10:44:40 2025
+++ pkgsrc/textproc/ada-templates-parser-25/patches/patch-Makefile Thu Sep 4 10:44:40 2025
@@ -0,0 +1,23 @@
+$NetBSD: patch-Makefile,v 1.1 2025/09/04 10:44:40 dkazankov Exp $
+
+Add NetBSD support
+
+--- Makefile.orig 2024-08-23 18:53:29.000000000 +0300
++++ Makefile
+@@ -101,12 +101,16 @@
+ ifeq ($(strip $(findstring freebsd, $(TARGET))),freebsd)
+ PRJ_TARGET=FreeBSD
+ else
++ifeq ($(strip $(findstring netbsd, $(TARGET))),netbsd)
++ PRJ_TARGET=FreeBSD
++else
+ PRJ_TARGET=UNIX
+ endif
+ endif
+ endif
+ endif
+ endif
++endif
+
+ -include makefile.setup
+
Home |
Main Index |
Thread Index |
Old Index