freebsd-ports/x11-drivers/xf86-video-radeonhd/Makefile
Florent Thoumie 4e7ee53b06 - Update xf86-video-radeonhd to 1.2.4. [1]
- Fix CONFLICTS. [2]

PR:		ports/129642 [1], ports/129735 [2]
Submitted by:	rene [1], amdmi3 [2]
2008-12-23 08:47:57 +00:00

42 lines
1,011 B
Makefile

# New ports collection makefile for: xf86-video-radeonhd
# Date Created: 20 Oct 2007
# Whom: Rene Ladan <r.c.ladan@gmail.com>
#
# $FreeBSD$
#
PORTNAME= xf86-video-radeonhd
PORTVERSION= 1.2.4
CATEGORIES= x11-drivers
MAINTAINER= x11@FreeBSD.org
COMMENT= X.Org ati RadeonHD display driver
OPTIONS= UTILS "Install rhd_conntest and rhd_dump utilities" off
XORG_CAT= driver
USE_XORG= damageproto videoproto xextproto xf86driproto
CONFIGURE_ARGS= --enable-exa
CONFLICTS= xf86-video-radeonhd-devel-[0-9]*
MAN4= radeonhd.4x
.include <bsd.port.pre.mk>
.if defined(WITH_UTILS)
LIB_DEPENDS+= pci.2:${PORTSDIR}/devel/libpci
PLIST_SUB= UTILS=""
CONFIGURE_ENV+= PCIUTILS_CFLAGS="-I${LOCALBASE}/include -lpci -lz" \
PCIUTILS_LIBS="-L${LOCALBASE}/lib"
.else
PLIST_SUB= UTILS="@comment "
.endif
.if defined(WITH_UTILS)
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/utils/conntest/rhd_conntest ${PREFIX}/sbin
${INSTALL_PROGRAM} ${WRKSRC}/utils/conntest/rhd_dump ${PREFIX}/sbin
.endif
.include <bsd.port.post.mk>