freebsd-ports/x11/xcb-util-cursor/Makefile

34 lines
1,014 B
Makefile
Raw Normal View History

# $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
2013-08-08 01:43:22 +02:00
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>