pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc Add misc/ini_file_manager to pkgsrc



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0b290866fe7f
branches:  trunk
changeset: 355748:0b290866fe7f
user:      marino <marino%pkgsrc.org@localhost>
date:      Mon Dec 12 00:40:17 2016 +0000

description:
Add misc/ini_file_manager to pkgsrc

The Ini file manager consists of a package, Config, which can read or write
informations from various configuration files known as "ini" files because
they have often the ".ini" extension.  It is an Ada library.

diffstat:

 misc/Makefile                                    |   3 +-
 misc/ini_file_manager/DESCR                      |  14 +++++++++
 misc/ini_file_manager/Makefile                   |  37 ++++++++++++++++++++++++
 misc/ini_file_manager/PLIST                      |   5 +++
 misc/ini_file_manager/distinfo                   |   6 +++
 misc/ini_file_manager/files/construct.gpr        |  14 +++++++++
 misc/ini_file_manager/files/ini_file_manager.gpr |   8 +++++
 7 files changed, 86 insertions(+), 1 deletions(-)

diffs (125 lines):

diff -r 6540fb39b233 -r 0b290866fe7f misc/Makefile
--- a/misc/Makefile     Mon Dec 12 00:36:19 2016 +0000
+++ b/misc/Makefile     Mon Dec 12 00:40:17 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.476 2016/12/04 21:12:58 rodent Exp $
+# $NetBSD: Makefile,v 1.477 2016/12/12 00:40:17 marino Exp $
 #
 
 COMMENT=       Miscellaneous utilities
@@ -110,6 +110,7 @@
 SUBDIR+=       heyu
 SUBDIR+=       howm
 SUBDIR+=       ibutton-pdkit
+SUBDIR+=       ini_file_manager
 SUBDIR+=       ipbt
 SUBDIR+=       iselect
 SUBDIR+=       iwatch
diff -r 6540fb39b233 -r 0b290866fe7f misc/ini_file_manager/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/ini_file_manager/DESCR       Mon Dec 12 00:40:17 2016 +0000
@@ -0,0 +1,14 @@
+The Ini file manager consists of a package, Config, which can read or write
+informations from various configuration files known as "ini" files because
+they have often the ".ini" extension. They are text files which look like
+the following:
+
+  ; Comment line
+  [Section 1]
+  a_string = abcd     # a comment here...
+  a_number = +123.456 ; another comment
+  [Section 2]
+  a_string = efgh
+
+For more examples in this format, just search files with the .ini extension
+on a Windows-based computer.
diff -r 6540fb39b233 -r 0b290866fe7f misc/ini_file_manager/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/ini_file_manager/Makefile    Mon Dec 12 00:40:17 2016 +0000
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.1 2016/12/12 00:40:17 marino Exp $
+
+PKGNAME=       ini_file_manager-${IFM_VERSION}
+CATEGORIES=    misc
+MASTER_SITES=  http://sourceforge.net/projects/${SFPATH}/
+DISTFILES=     ini-files-${IFM_VERSION}.zip
+
+MAINTAINER=    draco%marino.st@localhost
+HOMEPAGE=      http://sourceforge.net/projects/ini-files
+COMMENT=       Ini configuration file reader and manipulator package for Ada
+LICENSE=       mit
+
+IFM_VERSION=   03
+SFPATH=                ini-files/files/ini-files/ini-files-${IFM_VERSION}
+
+USE_LANGUAGES= C ada
+
+post-extract:
+       @${MKDIR} ${WRKSRC}/src
+       ${CP} ${FILESDIR}/construct.gpr ${WRKSRC}
+       ${MV} ${WRKDIR}/config.ad[bs] ${WRKSRC}/src/
+
+do-build:
+       (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} gnatmake -p -Pconstruct)
+
+do-install:
+       ${MKDIR} ${DESTDIR}${PREFIX}/lib/gnat \
+               ${DESTDIR}${PREFIX}/lib/ini_file_manager \
+               ${DESTDIR}${PREFIX}/include/ini_file_manager
+       ${INSTALL_DATA} ${FILESDIR}/ini_file_manager.gpr \
+               ${DESTDIR}${PREFIX}/lib/gnat
+       ${INSTALL_DATA} ${WRKSRC}/src/* \
+               ${DESTDIR}${PREFIX}/include/ini_file_manager
+       ${INSTALL_DATA} ${WRKSRC}/lib/*  \
+               ${DESTDIR}${PREFIX}/lib/ini_file_manager
+
+.include "../../mk/bsd.pkg.mk"
diff -r 6540fb39b233 -r 0b290866fe7f misc/ini_file_manager/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/ini_file_manager/PLIST       Mon Dec 12 00:40:17 2016 +0000
@@ -0,0 +1,5 @@
+include/ini_file_manager/config.adb
+include/ini_file_manager/config.ads
+lib/gnat/ini_file_manager.gpr
+lib/ini_file_manager/config.ali
+lib/ini_file_manager/libinifiles.a
diff -r 6540fb39b233 -r 0b290866fe7f misc/ini_file_manager/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/ini_file_manager/distinfo    Mon Dec 12 00:40:17 2016 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/12/12 00:40:17 marino Exp $
+
+SHA1 (ini-files-03.zip) = befc90ce99f875bd82b7970bd26a705d804ed7d5
+RMD160 (ini-files-03.zip) = 0e6fa5be5568b19a8939d169479e9eddb7498e28
+SHA512 (ini-files-03.zip) = 28db4b99125d4c74f09e89ecaa612e26472308af0b2f648fa146d8c51342ca7fbbe6fd6bc5aad006d45ef579c52a0fb176d90973dfa644a67d406a31189dcf2b
+Size (ini-files-03.zip) = 7643 bytes
diff -r 6540fb39b233 -r 0b290866fe7f misc/ini_file_manager/files/construct.gpr
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/ini_file_manager/files/construct.gpr Mon Dec 12 00:40:17 2016 +0000
@@ -0,0 +1,14 @@
+project Construct is
+
+   for Languages use ("ada");
+   for Source_Dirs use ("src");
+   for Object_Dir use "obj";
+   for Library_Name use "inifiles";
+   for Library_Dir use "lib";
+   for Library_Kind use "static";
+
+   package Builder is
+      for Default_Switches ("ada") use ("-gnatf", "-gnatws", "-O2");
+   end Builder;
+
+end Construct;
diff -r 6540fb39b233 -r 0b290866fe7f misc/ini_file_manager/files/ini_file_manager.gpr
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/ini_file_manager/files/ini_file_manager.gpr  Mon Dec 12 00:40:17 2016 +0000
@@ -0,0 +1,8 @@
+project Ini_File_Manager is
+   for Languages        use ("ada");
+   for Library_Name     use "inifiles";
+   for Source_Dirs      use ("../../include/ini_file_manager");
+   for Library_Dir      use "../../lib/ini_file_manager";
+   for Library_Kind     use "static";
+   for Externally_Built use "true";
+end Ini_File_Manager;



Home | Main Index | Thread Index | Old Index