summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjakllsch <jakllsch@pkgsrc.org>2009-11-08 18:26:15 +0000
committerjakllsch <jakllsch@pkgsrc.org>2009-11-08 18:26:15 +0000
commit1424b31a115ccaeb19c396808f1e51e60b704e2a (patch)
tree52c6e7d2015e228c01ecdb03fdd55a60930d6f37
parentdab403d548d568df11903a7777f0f6f899498aff (diff)
downloadpkgsrc-1424b31a115ccaeb19c396808f1e51e60b704e2a.tar.gz
Import libxdg-basedir:
Various specifications specify files and file formats. The XDG Base Directory specification defines where these files should be looked for by defining one or more base directories relative to which files should be located. This library implements functions to list the directories according to the specification and provides a few higher-level functions for use with the specification.
-rw-r--r--x11/libxdg-basedir/DESCR6
-rw-r--r--x11/libxdg-basedir/Makefile21
-rw-r--r--x11/libxdg-basedir/PLIST5
-rw-r--r--x11/libxdg-basedir/buildlink3.mk12
-rw-r--r--x11/libxdg-basedir/distinfo5
5 files changed, 49 insertions, 0 deletions
diff --git a/x11/libxdg-basedir/DESCR b/x11/libxdg-basedir/DESCR
new file mode 100644
index 00000000000..27a9d33b646
--- /dev/null
+++ b/x11/libxdg-basedir/DESCR
@@ -0,0 +1,6 @@
+Various specifications specify files and file formats. The XDG Base
+Directory specification defines where these files should be looked
+for by defining one or more base directories relative to which
+files should be located. This library implements functions to list
+the directories according to the specification and provides a few
+higher-level functions for use with the specification.
diff --git a/x11/libxdg-basedir/Makefile b/x11/libxdg-basedir/Makefile
new file mode 100644
index 00000000000..ccc0a0dae64
--- /dev/null
+++ b/x11/libxdg-basedir/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/11/08 18:26:15 jakllsch Exp $
+#
+
+DISTNAME= libxdg-basedir-1.0.2
+CATEGORIES= x11
+MASTER_SITES= http://n.ethz.ch/student/nevillm/download/libxdg-basedir/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://n.ethz.ch/student/nevillm/download/libxdg-basedir/
+COMMENT= XDG Base Directory library
+LICENSE= mit
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config
+
+PKGCONFIG_OVERRIDE+= pkgconfig/libxdg-basedir.pc.in
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/libxdg-basedir/PLIST b/x11/libxdg-basedir/PLIST
new file mode 100644
index 00000000000..f73a7edad5b
--- /dev/null
+++ b/x11/libxdg-basedir/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/11/08 18:26:15 jakllsch Exp $
+include/basedir.h
+include/basedir_fs.h
+lib/libxdg-basedir.la
+lib/pkgconfig/libxdg-basedir.pc
diff --git a/x11/libxdg-basedir/buildlink3.mk b/x11/libxdg-basedir/buildlink3.mk
new file mode 100644
index 00000000000..3a5ca3b3754
--- /dev/null
+++ b/x11/libxdg-basedir/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2009/11/08 18:26:15 jakllsch Exp $
+
+BUILDLINK_TREE+= libxdg-basedir
+
+.if !defined(LIBXDG_BASEDIR_BUILDLINK3_MK)
+LIBXDG_BASEDIR_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libxdg-basedir+= libxdg-basedir>=1.0.2
+BUILDLINK_PKGSRCDIR.libxdg-basedir?= ../../x11/libxdg-basedir
+.endif # LIBXDG_BASEDIR_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libxdg-basedir
diff --git a/x11/libxdg-basedir/distinfo b/x11/libxdg-basedir/distinfo
new file mode 100644
index 00000000000..29b7ea9e9e0
--- /dev/null
+++ b/x11/libxdg-basedir/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/11/08 18:26:15 jakllsch Exp $
+
+SHA1 (libxdg-basedir-1.0.2.tar.gz) = 8c75931d0abcf7fefae50f22d06299ca1f06d1da
+RMD160 (libxdg-basedir-1.0.2.tar.gz) = d0794d8eb6c853c5ef80755df718450c81935754
+Size (libxdg-basedir-1.0.2.tar.gz) = 312855 bytes