freebsd-ports/graphics/linux_glx/Makefile
Eric Anholt 4eb209da7d - Add the X_WINDOW_SYSTEM={xorg,xfree86-4,xfree86-3} variable to bsd.port.mk,
and make XFREE86_VERSION map to it.  XFREE86_VERSION is now deprecated.
- Make xorg the default X_WINDOW_SYSTEM on -current.
- Add several new X_*_PORT variables which point to various pieces of X11 based
  on the setting of X_WINDOW_SYSTEM, and make ports use them.
- Add information to CHANGES about how to handle the transition.

PR:		ports/68763
Approved by:	portmgr (marcus)
Approved by:	re (scottl)
2004-07-23 19:10:32 +00:00

46 lines
1.1 KiB
Makefile

# New ports collection makefile for: linux_glx
# Date created: 27 November 1999
# Whom: Marc E E van Woerkom <van.woerkom@netcologne.de>
#
# $FreeBSD$
#
PORTNAME= glx
PORTVERSION= 991127
CATEGORIES= graphics linux
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= 3d/glx/linux
PKGNAMEPREFIX= linux_
DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Libraries to make use of glx-aware Linux apps
BUILD_DEPENDS= /compat/linux/sbin/ldconfig:${PORTSDIR}/emulators/linux_base
USE_BZIP2= yes
NO_BUILD= yes
PREFIX= /compat/linux
NO_MTREE= yes
WRKSRC= ${WRKDIR}/linux_glx
# switch off stripping during INSTALL_PROGRAM
STRIP=
.include <bsd.port.pre.mk>
.if ${X_WINDOW_SYSTEM:L} != xfree86-3
IGNORE= "Requires XFree86 3.3.* - will not work with XFree86 4.*"
.endif
# NEVER EVER use plain INSTALL_PROGRAM on Linux binaries,
# as they get stripped!
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/libGL.so ${PREFIX}/lib
${INSTALL_PROGRAM} ${WRKSRC}/libGLU.so ${PREFIX}/lib
${INSTALL_PROGRAM} ${WRKSRC}/libglut.so ${PREFIX}/lib
post-install:
@ ${PREFIX}/sbin/ldconfig
.include <bsd.port.post.mk>