aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-04-29 19:23:21 +0800
committersobomax <sobomax@FreeBSD.org>2001-04-29 19:23:21 +0800
commitba9abfc62162dff8039b7c7ad9a5cf0fff66a484 (patch)
treee00fb3e2dfa5486f872dd5a5dbfaa4737edd50bd
parent844409bc2a707cb6fdb2fd35adf2dd0967ef8166 (diff)
downloadfreebsd-ports-gnome-ba9abfc62162dff8039b7c7ad9a5cf0fff66a484.tar.gz
freebsd-ports-gnome-ba9abfc62162dff8039b7c7ad9a5cf0fff66a484.tar.zst
freebsd-ports-gnome-ba9abfc62162dff8039b7c7ad9a5cf0fff66a484.zip
Add pkgconfig 0.5.0, an utility used to retrieve information about
installed libraries.
-rw-r--r--devel/Makefile1
-rw-r--r--devel/pkg-config/Makefile35
-rw-r--r--devel/pkg-config/distinfo1
-rw-r--r--devel/pkg-config/files/patch-Makefile.in14
-rw-r--r--devel/pkg-config/files/patch-glib-1.2.8::Makefile.in14
-rw-r--r--devel/pkg-config/pkg-comment1
-rw-r--r--devel/pkg-config/pkg-descr17
-rw-r--r--devel/pkg-config/pkg-plist3
-rw-r--r--devel/pkgconfig/Makefile35
-rw-r--r--devel/pkgconfig/distinfo1
-rw-r--r--devel/pkgconfig/files/patch-Makefile.in14
-rw-r--r--devel/pkgconfig/files/patch-glib-1.2.8::Makefile.in14
-rw-r--r--devel/pkgconfig/pkg-comment1
-rw-r--r--devel/pkgconfig/pkg-descr17
-rw-r--r--devel/pkgconfig/pkg-plist3
15 files changed, 171 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 5311e376c474..43ef5b939132 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -359,6 +359,7 @@
SUBDIR += pharmacy
SUBDIR += picprog
SUBDIR += pinstall
+ SUBDIR += pkgconfig
SUBDIR += pmake
SUBDIR += popt
SUBDIR += portcheckout
diff --git a/devel/pkg-config/Makefile b/devel/pkg-config/Makefile
new file mode 100644
index 000000000000..7a3607f78e09
--- /dev/null
+++ b/devel/pkg-config/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: pkgconfig
+# Date created: 30 April 2001
+# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= pkgconfig
+PORTVERSION= 0.5.0
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= sobomax@FreeBSD.org
+
+BUILD_DEPENDS= /nonexistent:${PORTSDIR}/devel/glib12:patch
+
+USE_GMAKE= yes
+USE_LIBTOOL= yes
+LIBTOOLFILES= configure glib-1.2.8/configure
+LIBTOOLFLAGS= --disable-ltlibs \
+ --disable-shared
+
+MAN1= pkg-config.1
+
+post-extract:
+ @${RM} -rf ${WRKSRC}/glib-1.2.8
+ @${LN} -sf ${WRKDIRPREFIX}${.CURDIR}/../../devel/glib12/work/glib-1.2* \
+ ${WRKSRC}/glib-1.2.8
+
+post-install:
+ ${MKDIR} ${PREFIX}/libdata/pkgconfig
+ ${INSTALL_MAN} ${WRKSRC}/pkg-config.1 ${PREFIX}/man/man1
+
+.include <bsd.port.mk>
diff --git a/devel/pkg-config/distinfo b/devel/pkg-config/distinfo
new file mode 100644
index 000000000000..c29b00edb0e9
--- /dev/null
+++ b/devel/pkg-config/distinfo
@@ -0,0 +1 @@
+MD5 (pkgconfig-0.5.0.tar.gz) = 84b14fbf4b5dbd8b35b2d8cde87aea11
diff --git a/devel/pkg-config/files/patch-Makefile.in b/devel/pkg-config/files/patch-Makefile.in
new file mode 100644
index 000000000000..21231c7c45c5
--- /dev/null
+++ b/devel/pkg-config/files/patch-Makefile.in
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- Makefile.in 2001/04/29 10:36:36 1.1
++++ Makefile.in 2001/04/29 10:37:03
+@@ -35,7 +35,7 @@
+ DESTDIR =
+
+ 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 000000000000..78c2a8d9545c
--- /dev/null
+++ b/devel/pkg-config/files/patch-glib-1.2.8::Makefile.in
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- glib-1.2.8/Makefile.in 2001/04/29 10:41:24 1.1
++++ glib-1.2.8/Makefile.in 2001/04/29 10:42:12
+@@ -624,7 +624,7 @@
+
+ install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+-install: install-recursive
++install:
+ uninstall-am: uninstall-libLTLIBRARIES uninstall-binSCRIPTS \
+ uninstall-configincludeDATA uninstall-m4dataDATA \
+ uninstall-pkgconfigDATA uninstall-glibincludeHEADERS
diff --git a/devel/pkg-config/pkg-comment b/devel/pkg-config/pkg-comment
new file mode 100644
index 000000000000..693e559de028
--- /dev/null
+++ b/devel/pkg-config/pkg-comment
@@ -0,0 +1 @@
+An utility used to retrieve information about installed libraries
diff --git a/devel/pkg-config/pkg-descr b/devel/pkg-config/pkg-descr
new file mode 100644
index 000000000000..e65c9fb28df1
--- /dev/null
+++ b/devel/pkg-config/pkg-descr
@@ -0,0 +1,17 @@
+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.
+
+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 in the directory ${PREFIX}/libata/pkgconfig for these files;
+it will also look in the list of directories specified by the PKG_CONFIG_PATH
+environment variable.
+
+The package name specified on the pkg-config command line is defined to be the
+name of the metadata file, minus the .pc extension. If a library can install
+multiple versions simultaneously, it must give each version its own name (for
+example, GTK 1.2 might have the package name "gtk+" while GTK 2.0 has
+"gtk+-2.0").
+
+WWW: http://pkgconfig.sourceforge.net
diff --git a/devel/pkg-config/pkg-plist b/devel/pkg-config/pkg-plist
new file mode 100644
index 000000000000..c1a5383da27c
--- /dev/null
+++ b/devel/pkg-config/pkg-plist
@@ -0,0 +1,3 @@
+@exec mkdir -p %D/libdata/pkgconfig
+bin/pkg-config
+@dirrm libdata/pkgconfig
diff --git a/devel/pkgconfig/Makefile b/devel/pkgconfig/Makefile
new file mode 100644
index 000000000000..7a3607f78e09
--- /dev/null
+++ b/devel/pkgconfig/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: pkgconfig
+# Date created: 30 April 2001
+# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= pkgconfig
+PORTVERSION= 0.5.0
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= sobomax@FreeBSD.org
+
+BUILD_DEPENDS= /nonexistent:${PORTSDIR}/devel/glib12:patch
+
+USE_GMAKE= yes
+USE_LIBTOOL= yes
+LIBTOOLFILES= configure glib-1.2.8/configure
+LIBTOOLFLAGS= --disable-ltlibs \
+ --disable-shared
+
+MAN1= pkg-config.1
+
+post-extract:
+ @${RM} -rf ${WRKSRC}/glib-1.2.8
+ @${LN} -sf ${WRKDIRPREFIX}${.CURDIR}/../../devel/glib12/work/glib-1.2* \
+ ${WRKSRC}/glib-1.2.8
+
+post-install:
+ ${MKDIR} ${PREFIX}/libdata/pkgconfig
+ ${INSTALL_MAN} ${WRKSRC}/pkg-config.1 ${PREFIX}/man/man1
+
+.include <bsd.port.mk>
diff --git a/devel/pkgconfig/distinfo b/devel/pkgconfig/distinfo
new file mode 100644
index 000000000000..c29b00edb0e9
--- /dev/null
+++ b/devel/pkgconfig/distinfo
@@ -0,0 +1 @@
+MD5 (pkgconfig-0.5.0.tar.gz) = 84b14fbf4b5dbd8b35b2d8cde87aea11
diff --git a/devel/pkgconfig/files/patch-Makefile.in b/devel/pkgconfig/files/patch-Makefile.in
new file mode 100644
index 000000000000..21231c7c45c5
--- /dev/null
+++ b/devel/pkgconfig/files/patch-Makefile.in
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- Makefile.in 2001/04/29 10:36:36 1.1
++++ Makefile.in 2001/04/29 10:37:03
+@@ -35,7 +35,7 @@
+ DESTDIR =
+
+ 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 000000000000..78c2a8d9545c
--- /dev/null
+++ b/devel/pkgconfig/files/patch-glib-1.2.8::Makefile.in
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- glib-1.2.8/Makefile.in 2001/04/29 10:41:24 1.1
++++ glib-1.2.8/Makefile.in 2001/04/29 10:42:12
+@@ -624,7 +624,7 @@
+
+ install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+-install: install-recursive
++install:
+ uninstall-am: uninstall-libLTLIBRARIES uninstall-binSCRIPTS \
+ uninstall-configincludeDATA uninstall-m4dataDATA \
+ uninstall-pkgconfigDATA uninstall-glibincludeHEADERS
diff --git a/devel/pkgconfig/pkg-comment b/devel/pkgconfig/pkg-comment
new file mode 100644
index 000000000000..693e559de028
--- /dev/null
+++ b/devel/pkgconfig/pkg-comment
@@ -0,0 +1 @@
+An utility used to retrieve information about installed libraries
diff --git a/devel/pkgconfig/pkg-descr b/devel/pkgconfig/pkg-descr
new file mode 100644
index 000000000000..e65c9fb28df1
--- /dev/null
+++ b/devel/pkgconfig/pkg-descr
@@ -0,0 +1,17 @@
+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.
+
+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 in the directory ${PREFIX}/libata/pkgconfig for these files;
+it will also look in the list of directories specified by the PKG_CONFIG_PATH
+environment variable.
+
+The package name specified on the pkg-config command line is defined to be the
+name of the metadata file, minus the .pc extension. If a library can install
+multiple versions simultaneously, it must give each version its own name (for
+example, GTK 1.2 might have the package name "gtk+" while GTK 2.0 has
+"gtk+-2.0").
+
+WWW: http://pkgconfig.sourceforge.net
diff --git a/devel/pkgconfig/pkg-plist b/devel/pkgconfig/pkg-plist
new file mode 100644
index 000000000000..c1a5383da27c
--- /dev/null
+++ b/devel/pkgconfig/pkg-plist
@@ -0,0 +1,3 @@
+@exec mkdir -p %D/libdata/pkgconfig
+bin/pkg-config
+@dirrm libdata/pkgconfig