freebsd-ports/x11-servers/mga_hal/Makefile
Niclas Zeising 92ea0d614b The FreeBSD x11 team proudly presents
an zeising, kwm, miwi, bapt, eadler production:

Xorg 7.7

Starring:
xserver 1.12.4 (new xorg only)
Mesa 8.0.4, including libGL, libGLU and dri (new xorg only)
libX11 1.5.0
libxcb 1.9
libdrm 2.4.42 (new xorg only)
freeglut 2.8.1
Also starring:
Updates to drivers and other libraries and utilities

Additional notes:
Change pkgconf to be a build dependency.
Add a new USE_XORG, xcb, to depend on libxcb and update all ports to use
this.
Trim makefile headers.
Take maintanership of x11/xcb-proto, ok'd by ashish.
If you are running WITH_NEW_XORG=, you need to rebuild all installed
drivers, see UPDATING for more information.
Various fixes to make ports compile.

PR:		ports/177942
Exp-run by:	miwi
Approved by:	portmgr (miwi)

Thanks to all who helped testing!
2013-05-25 14:37:02 +00:00

42 lines
1.1 KiB
Makefile

# Created by: Eric Anholt <anholt@FreeBSD.org>
# $FreeBSD$
PORTNAME= mga_hal
PORTVERSION= 4.4.0
PORTREVISION= 2
CATEGORIES= x11-servers
MASTER_SITES= ftp://ftp.matrox.com/pub/mga/archive/linux/%SUBDIR%/:i386,amd64
MASTER_SITE_SUBDIR= 2006/:i386 2006/64bit/:amd64
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:${ARCH}
MAINTAINER= x11@FreeBSD.org
COMMENT= Module for additional features with X.Org/XFree86 Matrox driver
RESTRICTED= Matrox drivers may not be distributed.
ONLY_FOR_ARCHS= i386 amd64
.include <bsd.port.pre.mk>
.if ${ARCH} == "i386"
DISTNAME= matrox_driver-x86_32-${PORTVERSION}
.elif ${ARCH} == "amd64"
DISTNAME= matrox_driver-x86_64-${PORTVERSION}
.endif
WRKSRC= ${WRKDIR}/${DISTNAME}
NO_BUILD= YES
XORG_VERSION= 6.9.0
do-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/readme.txt ${DOCSDIR}
.endif
${MKDIR} ${PREFIX}/lib/modules/drivers
${INSTALL_DATA} ${WRKSRC}/xserver/${XORG_VERSION}/mga_hal_drv.so \
${PREFIX}/lib/modules/drivers/
${INSTALL_DATA} ${WRKSRC}/xserver/${XORG_VERSION}/mga_drv.so \
${PREFIX}/lib/modules/drivers/
.include <bsd.port.post.mk>