1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/x11-servers/mga_hal/Makefile
Martin Wilke 3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00

47 lines
1.2 KiB
Makefile

# New ports collection makefile for: mga_hal
# Date created: 12 Jan 2005
# Whom: 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>