freebsd-ports/x11-drivers/xf86-video-radeonhd-devel/Makefile
Martin Wilke 73c51b6762 - Update 1.2.1
PR:		122769
Submitted by:	Rene Ladan <r.c.ladan@gmail.com>
Approved by:	flz
2008-04-19 20:57:04 +00:00

40 lines
912 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.1
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= videoproto xextproto
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>