summaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authoradamw <adamw@df743ca5-7f9a-e211-a948-0013205c9059>2005-07-07 02:18:22 +0800
committeradamw <adamw@df743ca5-7f9a-e211-a948-0013205c9059>2005-07-07 02:18:22 +0800
commit790914a7725a0edb8fd11e7a0efb2046ea724107 (patch)
tree0f624a6cc205a20eea29734a3da774d0a3bffd49 /devel
parent21e293856041ac179054ee21656d8cb04a6410ff (diff)
downloadmarcuscom-ports-790914a7725a0edb8fd11e7a0efb2046ea724107.tar
marcuscom-ports-790914a7725a0edb8fd11e7a0efb2046ea724107.tar.gz
marcuscom-ports-790914a7725a0edb8fd11e7a0efb2046ea724107.tar.bz2
marcuscom-ports-790914a7725a0edb8fd11e7a0efb2046ea724107.tar.lz
marcuscom-ports-790914a7725a0edb8fd11e7a0efb2046ea724107.tar.xz
marcuscom-ports-790914a7725a0edb8fd11e7a0efb2046ea724107.tar.zst
marcuscom-ports-790914a7725a0edb8fd11e7a0efb2046ea724107.zip
Add pkg-config at 0.18.1.
I'm adding it here rather than into the FreeBSD CVS repo because during the last pkg-config update, there were some breakages. Also, there is some handling for potentially different --libs output, so it's best that it percolate here for a while. It's probably safe to wait and merge along with the gnome-2.12 update. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4192 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel')
-rw-r--r--devel/pkg-config/Makefile32
-rw-r--r--devel/pkg-config/distinfo2
-rw-r--r--devel/pkg-config/files/patch-Makefile.in11
-rw-r--r--devel/pkg-config/files/patch-glib-1.2.8::Makefile.in10
-rw-r--r--devel/pkg-config/files/patch-parse.c34
-rw-r--r--devel/pkg-config/pkg-descr13
-rw-r--r--devel/pkg-config/pkg-plist2
-rw-r--r--devel/pkgconfig/Makefile32
-rw-r--r--devel/pkgconfig/distinfo2
-rw-r--r--devel/pkgconfig/files/patch-Makefile.in11
-rw-r--r--devel/pkgconfig/files/patch-glib-1.2.8::Makefile.in10
-rw-r--r--devel/pkgconfig/files/patch-parse.c34
-rw-r--r--devel/pkgconfig/pkg-descr13
-rw-r--r--devel/pkgconfig/pkg-plist2
14 files changed, 208 insertions, 0 deletions
diff --git a/devel/pkg-config/Makefile b/devel/pkg-config/Makefile
new file mode 100644
index 000000000..ecd801a1d
--- /dev/null
+++ b/devel/pkg-config/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: pkgconfig
+# Date created: 30 April 2001
+# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
+#
+# $FreeBSD: ports/devel/pkgconfig/Makefile,v 1.38 2005/05/16 08:59:34 pav Exp $
+#
+
+PORTNAME= pkgconfig
+PORTVERSION= 0.18.1
+CATEGORIES= devel
+MASTER_SITES= http://pkgconfig.freedesktop.org/releases/
+DISTNAME= pkg-config-${PORTVERSION}
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= A utility to retrieve information about installed libraries
+
+USE_GMAKE= yes
+USE_AUTOTOOLS= libtool:15
+USE_GNOME= gnometarget
+LIBTOOLFILES= glib-1.2.8/configure
+LIBTOOLFLAGS= --disable-ltlibs \
+ --disable-shared
+
+MAN1= pkg-config.1
+
+.include <bsd.port.pre.mk>
+
+CONFIGURE_ARGS= --disable-threads \
+ --with-pc-path="${PREFIX}/libdata/pkgconfig:${LOCALBASE}/libdata/pkgconfig:${X11BASE}/libdata/pkgconfig"
+
+.include <bsd.port.post.mk>
diff --git a/devel/pkg-config/distinfo b/devel/pkg-config/distinfo
new file mode 100644
index 000000000..516070895
--- /dev/null
+++ b/devel/pkg-config/distinfo
@@ -0,0 +1,2 @@
+MD5 (gnome2/pkg-config-0.18.1.tar.gz) = 311e86f828e1da62163c927dbe27c0c3
+SIZE (gnome2/pkg-config-0.18.1.tar.gz) = 968850
diff --git a/devel/pkg-config/files/patch-Makefile.in b/devel/pkg-config/files/patch-Makefile.in
new file mode 100644
index 000000000..2e7c1f405
--- /dev/null
+++ b/devel/pkg-config/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig Tue Apr 12 13:47:14 2005
++++ Makefile.in Tue Apr 12 13:48:21 2005
+@@ -18,7 +18,7 @@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+ pkgdatadir = $(datadir)/@PACKAGE@
+-pkglibdir = $(libdir)/@PACKAGE@
++pkglibdir = $(prefix)/libdata/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = .
+
diff --git a/devel/pkg-config/files/patch-glib-1.2.8::Makefile.in b/devel/pkg-config/files/patch-glib-1.2.8::Makefile.in
new file mode 100644
index 000000000..330415ed6
--- /dev/null
+++ b/devel/pkg-config/files/patch-glib-1.2.8::Makefile.in
@@ -0,0 +1,10 @@
+--- glib-1.2.8/Makefile.in.orig Tue Apr 12 13:51:56 2005
++++ glib-1.2.8/Makefile.in Tue Apr 12 13:52:41 2005
+@@ -727,7 +727,6 @@
+ installdirs-am:
+
+ install: $(BUILT_SOURCES)
+- $(MAKE) $(AM_MAKEFLAGS) install-recursive
+ install-exec: install-exec-recursive
+ install-data: install-data-recursive
+ uninstall: uninstall-recursive
diff --git a/devel/pkg-config/files/patch-parse.c b/devel/pkg-config/files/patch-parse.c
new file mode 100644
index 000000000..1f8fc6d91
--- /dev/null
+++ b/devel/pkg-config/files/patch-parse.c
@@ -0,0 +1,34 @@
+
+$FreeBSD: ports/devel/pkgconfig/files/patch-parse.c,v 1.1 2001/08/01 17:46:50 sobomax Exp $
+
+--- parse.c 2001/08/01 07:24:17 1.1
++++ parse.c 2001/08/01 07:25:02
+@@ -952,9 +952,9 @@
+ {
+ char *output;
+
+- debug_spew ("Calling glib-config\n");
++ debug_spew ("Calling glib12-config\n");
+
+- pkg->version = backticks ("glib-config --version");
++ pkg->version = backticks ("glib12-config --version");
+ if (pkg->version == NULL)
+ {
+ g_free (pkg);
+@@ -965,12 +965,12 @@
+ pkg->key = g_strdup ("glib");
+ pkg->description = g_strdup ("C Utility Library");
+
+- output = backticks ("glib-config --libs");
+- parse_libs (pkg, output, "glib-config");
++ output = backticks ("glib12-config --libs");
++ parse_libs (pkg, output, "glib12-config");
+ g_free (output);
+
+- output = backticks ("glib-config --cflags");
+- parse_cflags (pkg, output, "glib-config");
++ output = backticks ("glib12-config --cflags");
++ parse_cflags (pkg, output, "glib12-config");
+ g_free (output);
+
+ return pkg;
diff --git a/devel/pkg-config/pkg-descr b/devel/pkg-config/pkg-descr
new file mode 100644
index 000000000..5360e126a
--- /dev/null
+++ b/devel/pkg-config/pkg-descr
@@ -0,0 +1,13 @@
+The pkg-config program is used to retrieve information about installed
+libraries in the system. It is typically used to compile and link against one
+or more libraries. It's more useful to the compilation process than to
+the end-user.
+
+pkg-config retrieves information about packages from special metadata files.
+These files are named after the package, with the extension .pc. By default,
+pkg-config looks for these files in the following directories:
+${PREFIX}/libdata/pkgconfig, ${LOCALBASE}/libdata/pkgconfig and
+${X11BASE}/libdata/pkgconfig; it will also look in the list of directories
+specified by the PKG_CONFIG_PATH environment variable.
+
+WWW: http://www.freedesktop.org/wiki/Software_2fpkgconfig
diff --git a/devel/pkg-config/pkg-plist b/devel/pkg-config/pkg-plist
new file mode 100644
index 000000000..19fec741c
--- /dev/null
+++ b/devel/pkg-config/pkg-plist
@@ -0,0 +1,2 @@
+bin/pkg-config
+share/aclocal/pkg.m4
diff --git a/devel/pkgconfig/Makefile b/devel/pkgconfig/Makefile
new file mode 100644
index 000000000..ecd801a1d
--- /dev/null
+++ b/devel/pkgconfig/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: pkgconfig
+# Date created: 30 April 2001
+# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
+#
+# $FreeBSD: ports/devel/pkgconfig/Makefile,v 1.38 2005/05/16 08:59:34 pav Exp $
+#
+
+PORTNAME= pkgconfig
+PORTVERSION= 0.18.1
+CATEGORIES= devel
+MASTER_SITES= http://pkgconfig.freedesktop.org/releases/
+DISTNAME= pkg-config-${PORTVERSION}
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= A utility to retrieve information about installed libraries
+
+USE_GMAKE= yes
+USE_AUTOTOOLS= libtool:15
+USE_GNOME= gnometarget
+LIBTOOLFILES= glib-1.2.8/configure
+LIBTOOLFLAGS= --disable-ltlibs \
+ --disable-shared
+
+MAN1= pkg-config.1
+
+.include <bsd.port.pre.mk>
+
+CONFIGURE_ARGS= --disable-threads \
+ --with-pc-path="${PREFIX}/libdata/pkgconfig:${LOCALBASE}/libdata/pkgconfig:${X11BASE}/libdata/pkgconfig"
+
+.include <bsd.port.post.mk>
diff --git a/devel/pkgconfig/distinfo b/devel/pkgconfig/distinfo
new file mode 100644
index 000000000..516070895
--- /dev/null
+++ b/devel/pkgconfig/distinfo
@@ -0,0 +1,2 @@
+MD5 (gnome2/pkg-config-0.18.1.tar.gz) = 311e86f828e1da62163c927dbe27c0c3
+SIZE (gnome2/pkg-config-0.18.1.tar.gz) = 968850
diff --git a/devel/pkgconfig/files/patch-Makefile.in b/devel/pkgconfig/files/patch-Makefile.in
new file mode 100644
index 000000000..2e7c1f405
--- /dev/null
+++ b/devel/pkgconfig/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig Tue Apr 12 13:47:14 2005
++++ Makefile.in Tue Apr 12 13:48:21 2005
+@@ -18,7 +18,7 @@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+ pkgdatadir = $(datadir)/@PACKAGE@
+-pkglibdir = $(libdir)/@PACKAGE@
++pkglibdir = $(prefix)/libdata/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = .
+
diff --git a/devel/pkgconfig/files/patch-glib-1.2.8::Makefile.in b/devel/pkgconfig/files/patch-glib-1.2.8::Makefile.in
new file mode 100644
index 000000000..330415ed6
--- /dev/null
+++ b/devel/pkgconfig/files/patch-glib-1.2.8::Makefile.in
@@ -0,0 +1,10 @@
+--- glib-1.2.8/Makefile.in.orig Tue Apr 12 13:51:56 2005
++++ glib-1.2.8/Makefile.in Tue Apr 12 13:52:41 2005
+@@ -727,7 +727,6 @@
+ installdirs-am:
+
+ install: $(BUILT_SOURCES)
+- $(MAKE) $(AM_MAKEFLAGS) install-recursive
+ install-exec: install-exec-recursive
+ install-data: install-data-recursive
+ uninstall: uninstall-recursive
diff --git a/devel/pkgconfig/files/patch-parse.c b/devel/pkgconfig/files/patch-parse.c
new file mode 100644
index 000000000..1f8fc6d91
--- /dev/null
+++ b/devel/pkgconfig/files/patch-parse.c
@@ -0,0 +1,34 @@
+
+$FreeBSD: ports/devel/pkgconfig/files/patch-parse.c,v 1.1 2001/08/01 17:46:50 sobomax Exp $
+
+--- parse.c 2001/08/01 07:24:17 1.1
++++ parse.c 2001/08/01 07:25:02
+@@ -952,9 +952,9 @@
+ {
+ char *output;
+
+- debug_spew ("Calling glib-config\n");
++ debug_spew ("Calling glib12-config\n");
+
+- pkg->version = backticks ("glib-config --version");
++ pkg->version = backticks ("glib12-config --version");
+ if (pkg->version == NULL)
+ {
+ g_free (pkg);
+@@ -965,12 +965,12 @@
+ pkg->key = g_strdup ("glib");
+ pkg->description = g_strdup ("C Utility Library");
+
+- output = backticks ("glib-config --libs");
+- parse_libs (pkg, output, "glib-config");
++ output = backticks ("glib12-config --libs");
++ parse_libs (pkg, output, "glib12-config");
+ g_free (output);
+
+- output = backticks ("glib-config --cflags");
+- parse_cflags (pkg, output, "glib-config");
++ output = backticks ("glib12-config --cflags");
++ parse_cflags (pkg, output, "glib12-config");
+ g_free (output);
+
+ return pkg;
diff --git a/devel/pkgconfig/pkg-descr b/devel/pkgconfig/pkg-descr
new file mode 100644
index 000000000..5360e126a
--- /dev/null
+++ b/devel/pkgconfig/pkg-descr
@@ -0,0 +1,13 @@
+The pkg-config program is used to retrieve information about installed
+libraries in the system. It is typically used to compile and link against one
+or more libraries. It's more useful to the compilation process than to
+the end-user.
+
+pkg-config retrieves information about packages from special metadata files.
+These files are named after the package, with the extension .pc. By default,
+pkg-config looks for these files in the following directories:
+${PREFIX}/libdata/pkgconfig, ${LOCALBASE}/libdata/pkgconfig and
+${X11BASE}/libdata/pkgconfig; it will also look in the list of directories
+specified by the PKG_CONFIG_PATH environment variable.
+
+WWW: http://www.freedesktop.org/wiki/Software_2fpkgconfig
diff --git a/devel/pkgconfig/pkg-plist b/devel/pkgconfig/pkg-plist
new file mode 100644
index 000000000..19fec741c
--- /dev/null
+++ b/devel/pkgconfig/pkg-plist
@@ -0,0 +1,2 @@
+bin/pkg-config
+share/aclocal/pkg.m4