diff options
author | miwi <miwi@FreeBSD.org> | 2008-04-20 04:57:04 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2008-04-20 04:57:04 +0800 |
commit | 4eb4656e32b8e1e0c1cc7b62f81bd2de466730ef (patch) | |
tree | 010da2e64064ae0e60ef81b513da9081455a42a6 /x11-drivers/xf86-video-radeonhd-devel/Makefile | |
parent | f57881f4a6a646f69d547288551869d2aa74c96a (diff) | |
download | freebsd-ports-gnome-4eb4656e32b8e1e0c1cc7b62f81bd2de466730ef.tar.gz freebsd-ports-gnome-4eb4656e32b8e1e0c1cc7b62f81bd2de466730ef.tar.zst freebsd-ports-gnome-4eb4656e32b8e1e0c1cc7b62f81bd2de466730ef.zip |
- Update 1.2.1
PR: 122769
Submitted by: Rene Ladan <r.c.ladan@gmail.com>
Approved by: flz
Diffstat (limited to 'x11-drivers/xf86-video-radeonhd-devel/Makefile')
-rw-r--r-- | x11-drivers/xf86-video-radeonhd-devel/Makefile | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/x11-drivers/xf86-video-radeonhd-devel/Makefile b/x11-drivers/xf86-video-radeonhd-devel/Makefile index 63b1e12485ad..357b6d6ca8b5 100644 --- a/x11-drivers/xf86-video-radeonhd-devel/Makefile +++ b/x11-drivers/xf86-video-radeonhd-devel/Makefile @@ -6,15 +6,34 @@ # PORTNAME= xf86-video-radeonhd -PORTVERSION= 1.2.0 +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.mk> +.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> |