summaryrefslogtreecommitdiffstats
path: root/devel/pkg-config/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/pkg-config/Makefile')
-rw-r--r--devel/pkg-config/Makefile41
1 files changed, 41 insertions, 0 deletions
diff --git a/devel/pkg-config/Makefile b/devel/pkg-config/Makefile
new file mode 100644
index 000000000..15f55e1ca
--- /dev/null
+++ b/devel/pkg-config/Makefile
@@ -0,0 +1,41 @@
+# New ports collection makefile for: pkgconfig
+# Date created: 30 April 2001
+# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom: ports/devel/pkgconfig/Makefile,v 1.6 2005/10/14 20:39:57 adamw Exp $
+#
+
+PORTNAME= pkg-config
+PORTVERSION= 0.22
+CATEGORIES= devel
+MASTER_SITES= http://pkgconfig.freedesktop.org/releases/
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= A utility to retrieve information about installed libraries
+
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+USE_GNOME= gnometarget
+
+MAN1= pkg-config.1
+
+.include <bsd.port.pre.mk>
+
+PC_PATH=${PREFIX}/libdata/pkgconfig
+PC_PATH:=${PC_PATH}:${PREFIX}/lib/pkgconfig
+.if ${LOCALBASE} != ${PREFIX}
+PC_PATH:= ${PC_PATH}:${LOCALBASE}/libdata/pkgconfig
+PC_PATH:= ${PC_PATH}:${LOCALBASE}/lib/pkgconfig
+.endif
+.if ${X11BASE} != ${PREFIX}
+PC_PATH:= ${PC_PATH}:${X11BASE}/libdata/pkgconfig
+PC_PATH:= ${PC_PATH}:${X11BASE}/lib/pkgconfig
+.endif
+
+CONFIGURE_ARGS= --disable-threads \
+ --with-pc-path="${PC_PATH}" \
+ --mandir=${MANPREFIX}/man
+
+.include <bsd.port.post.mk>