openbsd-ports/devel/pkgconfig/Makefile
2010-11-15 19:45:56 +00:00

37 lines
987 B
Makefile

# $OpenBSD: Makefile,v 1.28 2010/11/15 19:46:07 espie Exp $
COMMENT= tool for managing library compile/link flags
IGNORE= Replaced with BSD clone in OpenBSD 4.1
VERSION= 0.25
DISTNAME= pkg-config-${VERSION}
PKGNAME= pkgconfig-${VERSION}
CATEGORIES= devel
HOMEPAGE= http://www.freedesktop.org/software/pkgconfig/
MASTER_SITES= ${HOMEPAGE}/releases/ \
${MASTER_SITE_GNOME:=sources/pkg-config/${VERSION}/}
CONFIGURE_ARGS+= --with-pc_path=${LOCALBASE}/lib/pkgconfig:${X11BASE}/lib/pkgconfig
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c pcre glib-2.0 pthread
USE_LIBTOOL= Yes
USE_GROFF = Yes
MODULES= devel/gettext
LIB_DEPENDS= devel/glib2
CONFIGURE_STYLE= gnu
# This pkg-config has just become a reference application. So it's safe to
# depend on glib2 (which does depend on pkg-config. But that's the version
# from base.)
CONFIGURE_ARGS+= --with-installed-glib
.include <bsd.port.mk>