aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2011-07-01 14:38:55 +0800
committerkevlo <kevlo@FreeBSD.org>2011-07-01 14:38:55 +0800
commit07cb92c768822ca7d4f2317ece2e48e3a19005b3 (patch)
tree751ba46fe96f9f2dd6b2b93ec2f99a7b0b80100b
parent38c45ef9006db9c9218d6203cae029108b08c3d6 (diff)
downloadfreebsd-ports-gnome-07cb92c768822ca7d4f2317ece2e48e3a19005b3.tar.gz
freebsd-ports-gnome-07cb92c768822ca7d4f2317ece2e48e3a19005b3.tar.zst
freebsd-ports-gnome-07cb92c768822ca7d4f2317ece2e48e3a19005b3.zip
Initial import of iniparser-3.0
Iniparser is a free stand-alone ini file parsing library.
-rw-r--r--devel/Makefile1
-rw-r--r--devel/iniparser/Makefile33
-rw-r--r--devel/iniparser/distinfo2
-rw-r--r--devel/iniparser/pkg-descr6
-rw-r--r--devel/iniparser/pkg-plist5
5 files changed, 47 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index f766a5b236a5..9161856f2759 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -674,6 +674,7 @@
SUBDIR += ifd-test
SUBDIR += imake
SUBDIR += inilib
+ SUBDIR += iniparser
SUBDIR += initutil
SUBDIR += insight
SUBDIR += ioncube
diff --git a/devel/iniparser/Makefile b/devel/iniparser/Makefile
new file mode 100644
index 000000000000..8995d715ad69
--- /dev/null
+++ b/devel/iniparser/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: iniparser
+# Date created: 01 July 2011
+# Whom: Kevin Lo <kevlo@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= iniparser
+PORTVERSION= 3.0
+CATEGORIES= devel
+MASTER_SITES= http://ndevilla.free.fr/iniparser/
+
+MAINTAINER= kevlo@FreeBSD.org
+COMMENT= A free stand-alone ini file parsing library
+
+USE_LDCONFIG= yes
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+do-build:
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE}
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/src/dictionary.h ${PREFIX}/include
+ ${INSTALL_DATA} ${WRKSRC}/src/iniparser.h ${PREFIX}/include
+ ${INSTALL_DATA} ${WRKSRC}/libiniparser.a ${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/libiniparser.so.0 ${PREFIX}/lib
+ @${LN} -sf libiniparser.so.0 ${PREFIX}/lib/libiniparser.so
+
+.include <bsd.port.mk>
diff --git a/devel/iniparser/distinfo b/devel/iniparser/distinfo
new file mode 100644
index 000000000000..9ba68e93b796
--- /dev/null
+++ b/devel/iniparser/distinfo
@@ -0,0 +1,2 @@
+SHA256 (iniparser-3.0.tar.gz) = d6d7546a66f071d5a2bffe4c63fe7300a7962369b88c58084a36a8b7cfb9bd6d
+SIZE (iniparser-3.0.tar.gz) = 17045
diff --git a/devel/iniparser/pkg-descr b/devel/iniparser/pkg-descr
new file mode 100644
index 000000000000..853626922619
--- /dev/null
+++ b/devel/iniparser/pkg-descr
@@ -0,0 +1,6 @@
+iniParser is a simple C library offering ini file parsing services.
+The library is pretty small (less than 1500 lines of C) and robust, and
+does not depend on any other external library to compile. It is written
+in ANSI C and should compile on most platforms without difficulty.
+
+WWW: http://ndevilla.free.fr/iniparser/
diff --git a/devel/iniparser/pkg-plist b/devel/iniparser/pkg-plist
new file mode 100644
index 000000000000..eb7b3defdaba
--- /dev/null
+++ b/devel/iniparser/pkg-plist
@@ -0,0 +1,5 @@
+include/dictionary.h
+include/iniparser.h
+lib/libiniparser.a
+lib/libiniparser.so
+lib/libiniparser.so.0