9157650837
Changes from 1.0.0 to 1.0.1: ---------------------------- * Enhancements: - new stub implementation of --print-provides (#95) * Bug fixes: - fragments: fix an edge case involving path-only fragments and PKG_CONFIG_SYSROOT_DIR (#94)
35 lines
934 B
Makefile
35 lines
934 B
Makefile
# $NetBSD: Makefile,v 1.9 2016/08/31 06:11:25 wiz Exp $
|
|
|
|
DISTNAME= pkgconf-1.0.1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://rabbit.dereferenced.org/~nenolod/distfiles/
|
|
#EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= nico@orgrim.net
|
|
HOMEPAGE= https://github.com/pkgconf/pkgconf
|
|
COMMENT= API-driven pkg-config replacement
|
|
LICENSE= modified-bsd
|
|
|
|
CONFLICTS+= pkg-config-[0-9]*
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-system-libdir=/usr/lib \
|
|
--with-system-includedir=/usr/include
|
|
MAKE_FLAGS+= MANDIR=${PREFIX}/${PKGMANDIR}/man1
|
|
|
|
PKGCONFIG_PATHS= ${PREFIX}/lib/pkgconfig
|
|
PKGCONFIG_PATHS+= ${PREFIX}/share/pkgconfig
|
|
PKGCONFIG_PATHS+= /usr/lib/pkgconfig
|
|
|
|
.if ${LOCALBASE} != ${X11BASE}
|
|
PKGCONFIG_PATHS+= ${X11BASE}/lib/pkgconfig
|
|
.endif
|
|
|
|
CONFIGURE_ARGS+= --with-pkg-config-dir='${PKGCONFIG_PATHS:ts::Q}'
|
|
|
|
post-install:
|
|
${LN} -s ${PREFIX}/bin/pkgconf ${DESTDIR}${PREFIX}/bin/pkg-config
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|