1999-12-04 20:51:00 +00:00
|
|
|
# New ports collection makefile for: linux_glx
|
|
|
|
# Date created: 27 November 1999
|
|
|
|
# Whom: Marc E E van Woerkom <van.woerkom@netcologne.de>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-14 10:48:02 +00:00
|
|
|
PORTNAME= glx
|
|
|
|
PORTVERSION= 991127
|
2000-02-28 08:34:04 +00:00
|
|
|
CATEGORIES= graphics linux
|
2000-06-29 07:03:02 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
|
|
MASTER_SITE_SUBDIR= 3d/glx/linux
|
2000-04-14 10:48:02 +00:00
|
|
|
PKGNAMEPREFIX= linux_
|
|
|
|
DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
|
1999-12-04 20:51:00 +00:00
|
|
|
|
2004-01-12 00:20:59 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= Libraries to make use of glx-aware Linux apps
|
1999-12-04 20:51:00 +00:00
|
|
|
|
2004-04-10 17:26:55 +00:00
|
|
|
BUILD_DEPENDS= /compat/linux/sbin/ldconfig:${PORTSDIR}/emulators/linux_base
|
2000-02-27 07:35:59 +00:00
|
|
|
|
1999-12-04 20:51:00 +00:00
|
|
|
USE_BZIP2= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
PREFIX= /compat/linux
|
2000-06-07 08:05:02 +00:00
|
|
|
NO_MTREE= yes
|
1999-12-04 20:51:00 +00:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/linux_glx
|
1999-12-04 23:47:48 +00:00
|
|
|
# switch off stripping during INSTALL_PROGRAM
|
1999-12-04 20:51:00 +00:00
|
|
|
STRIP=
|
|
|
|
|
2003-04-25 01:27:58 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${XFREE86_VERSION} > 3
|
|
|
|
IGNORE= "Requires XFree86 3.3.* - will not work with XFree86 4.*"
|
|
|
|
.endif
|
|
|
|
|
1999-12-04 20:51:00 +00:00
|
|
|
# NEVER EVER use plain INSTALL_PROGRAM on Linux binaries,
|
|
|
|
# as they get stripped!
|
1999-12-04 21:08:03 +00:00
|
|
|
do-install:
|
1999-12-04 20:51:00 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/libGL.so ${PREFIX}/lib
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/libGLU.so ${PREFIX}/lib
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/libglut.so ${PREFIX}/lib
|
1999-12-04 21:17:16 +00:00
|
|
|
post-install:
|
|
|
|
@ ${PREFIX}/sbin/ldconfig
|
1999-12-04 20:51:00 +00:00
|
|
|
|
2003-04-25 01:27:58 +00:00
|
|
|
.include <bsd.port.post.mk>
|