c30daf2012
Add dependency on gperf. Fix build with out ancient gcc.
33 lines
1,014 B
Makefile
33 lines
1,014 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= xcb-util-cursor
|
|
PORTVERSION= 0.1.0
|
|
CATEGORIES= x11
|
|
MASTER_SITES= http://xcb.freedesktop.org/dist/
|
|
|
|
MAINTAINER= x11@FreeBSD.org
|
|
COMMENT= XCB cursor library
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/xcb-util.pc:${PORTSDIR}/x11/xcb-util \
|
|
${LOCALBASE}/libdata/pkgconfig/xcb-renderutil.pc:${PORTSDIR}/x11/xcb-util-renderutil \
|
|
${LOCALBASE}/libdata/pkgconfig/xcb-image.pc:${PORTSDIR}/x11/xcb-util-image \
|
|
${LOCALBASE}/bin/gperf:${PORTSDIR}/devel/gperf
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/xcb-util.pc:${PORTSDIR}/x11/xcb-util \
|
|
${LOCALBASE}/libdata/pkgconfig/xcb-renderutil.pc:${PORTSDIR}/x11/xcb-util-renderutil \
|
|
${LOCALBASE}/libdata/pkgconfig/xcb-image.pc:${PORTSDIR}/x11/xcb-util-image
|
|
|
|
USE_BZIP2= yes
|
|
USE_LDCONFIG= yes
|
|
USE_XORG= xcb xorg-macros
|
|
USES= gmake
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= GPERF="${LOCALBASE}/bin/gperf"
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|$${libdir}/pkgconfig|$${prefix}/libdata/pkgconfig|' \
|
|
${WRKSRC}/configure
|
|
|
|
.include <bsd.port.mk>
|