summaryrefslogtreecommitdiff
path: root/graphics/linux_glx/Makefile
blob: 4a541b292c12c5517671124d26b48937cb0a4167 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# New ports collection makefile for:	linux_glx
# Version required:     CVS
# Date created:         27 November 1999
# Whom:                 Marc E E van Woerkom  <van.woerkom@netcologne.de>
#
# $FreeBSD$
#

DISTNAME=	linux_glx-991127
CATEGORIES=	graphics linux
MASTER_SITES=	http://people.FreeBSD.org/~3d/distfiles/glx/linux/

MAINTAINER=	3d@freebsd.org

BUILD_DEPENDS= 	/compat/linux/sbin/ldconfig:${PORTSDIR}/emulators/linux_base	

USE_BZIP2=	yes
NO_BUILD=	yes

PREFIX=		/compat/linux

WRKSRC=		${WRKDIR}/linux_glx
# switch off stripping during INSTALL_PROGRAM
STRIP=

# 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.mk>