Mon Dec 12 00:40:18 2016 UTC ()
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.
(marino)
diff -r1.476 -r1.477 pkgsrc/misc/Makefile
diff -r0 -r1.1 pkgsrc/misc/ini_file_manager/DESCR
diff -r0 -r1.1 pkgsrc/misc/ini_file_manager/Makefile
diff -r0 -r1.1 pkgsrc/misc/ini_file_manager/PLIST
diff -r0 -r1.1 pkgsrc/misc/ini_file_manager/distinfo
diff -r0 -r1.1 pkgsrc/misc/ini_file_manager/files/construct.gpr
diff -r0 -r1.1 pkgsrc/misc/ini_file_manager/files/ini_file_manager.gpr
--- pkgsrc/misc/Makefile 2016/12/04 21:12:58 1.476
+++ pkgsrc/misc/Makefile 2016/12/12 00:40:17 1.477
| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.476 2016/12/04 21:12:58 rodent Exp $ | | 1 | # $NetBSD: Makefile,v 1.477 2016/12/12 00:40:17 marino Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | COMMENT= Miscellaneous utilities | | 4 | COMMENT= Miscellaneous utilities |
5 | | | 5 | |
6 | SUBDIR+= 9menu | | 6 | SUBDIR+= 9menu |
7 | SUBDIR+= Addresses | | 7 | SUBDIR+= Addresses |
8 | SUBDIR+= JBidwatcher | | 8 | SUBDIR+= JBidwatcher |
9 | SUBDIR+= JMdict | | 9 | SUBDIR+= JMdict |
10 | SUBDIR+= ansiweather | | 10 | SUBDIR+= ansiweather |
11 | SUBDIR+= ascii | | 11 | SUBDIR+= ascii |
12 | SUBDIR+= asr-manpages | | 12 | SUBDIR+= asr-manpages |
13 | SUBDIR+= astrolog | | 13 | SUBDIR+= astrolog |
14 | SUBDIR+= attica | | 14 | SUBDIR+= attica |
| @@ -100,26 +100,27 @@ SUBDIR+= heirloom-calendar | | | @@ -100,26 +100,27 @@ SUBDIR+= heirloom-calendar |
100 | SUBDIR+= heirloom-hd | | 100 | SUBDIR+= heirloom-hd |
101 | SUBDIR+= heirloom-more | | 101 | SUBDIR+= heirloom-more |
102 | SUBDIR+= heirloom-od | | 102 | SUBDIR+= heirloom-od |
103 | SUBDIR+= heirloom-printenv | | 103 | SUBDIR+= heirloom-printenv |
104 | SUBDIR+= heirloom-printf | | 104 | SUBDIR+= heirloom-printf |
105 | SUBDIR+= heirloom-random | | 105 | SUBDIR+= heirloom-random |
106 | SUBDIR+= heirloom-sleep | | 106 | SUBDIR+= heirloom-sleep |
107 | SUBDIR+= heirloom-sum | | 107 | SUBDIR+= heirloom-sum |
108 | SUBDIR+= heirloom-tcopy | | 108 | SUBDIR+= heirloom-tcopy |
109 | SUBDIR+= heirloom-time | | 109 | SUBDIR+= heirloom-time |
110 | SUBDIR+= heyu | | 110 | SUBDIR+= heyu |
111 | SUBDIR+= howm | | 111 | SUBDIR+= howm |
112 | SUBDIR+= ibutton-pdkit | | 112 | SUBDIR+= ibutton-pdkit |
| | | 113 | SUBDIR+= ini_file_manager |
113 | SUBDIR+= ipbt | | 114 | SUBDIR+= ipbt |
114 | SUBDIR+= iselect | | 115 | SUBDIR+= iselect |
115 | SUBDIR+= iwatch | | 116 | SUBDIR+= iwatch |
116 | SUBDIR+= ja-less | | 117 | SUBDIR+= ja-less |
117 | SUBDIR+= ja-man | | 118 | SUBDIR+= ja-man |
118 | SUBDIR+= jhd | | 119 | SUBDIR+= jhd |
119 | SUBDIR+= jive | | 120 | SUBDIR+= jive |
120 | SUBDIR+= kaccessible | | 121 | SUBDIR+= kaccessible |
121 | SUBDIR+= kalzium | | 122 | SUBDIR+= kalzium |
122 | SUBDIR+= kanjidic | | 123 | SUBDIR+= kanjidic |
123 | SUBDIR+= kanjidic2 | | 124 | SUBDIR+= kanjidic2 |
124 | SUBDIR+= kanjipad | | 125 | SUBDIR+= kanjipad |
125 | SUBDIR+= kbruch | | 126 | SUBDIR+= kbruch |
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.
# $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
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"
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
$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
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;
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;