summaryrefslogtreecommitdiff
path: root/games/linux-x-plane-net-installer/Makefile
blob: f57fa2fe024969df3ac70eb9e0be4dac0ae47b0b (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# New ports collection makefile for:	linux-x-plane-net-installer
# Date created:				07 Dec 2005
# Whom:					Jean-Yves Lefort <jylefort@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	linux-x-plane-net-installer
PORTVERSION=	1.07
PORTREVISION=	1
CATEGORIES=	games linux
MASTER_SITES=	http://dev.x-plane.com/installer/${PORTVERSION}/
DISTFILES=	X-Plane-Net-Install.gz

MAINTAINER=	jylefort@FreeBSD.org
COMMENT=	The X-Plane network installer

RUN_DEPENDS=	${LINUXBASE}/usr/lib/libopenal.so.0:${PORTSDIR}/audio/linux-openal \
		${LINUXBASE}/usr/X11R6/lib/libGLU.so.1:${PORTSDIR}/graphics/linux_dri

BROKEN=		Unfetchable
DEPRECATED=	${BROKEN}
EXPIRATION_DATE=2007-04-10

USE_XLIB=	yes
USE_LINUX=	yes
NO_BUILD=	yes
RESTRICTED=	"Redistribution prohibited"
ONLY_FOR_ARCHS=	i386 amd64

PLIST_FILES=	bin/X-Plane-Net-Install

.include <bsd.port.pre.mk>

.if defined(WITH_NVIDIA_GL)
RUN_DEPENDS+=	${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver
.else
RUN_DEPENDS+=	${LINUXBASE}/usr/X11R6/lib/libGL.so.1:${PORTSDIR}/graphics/linux_dri
.endif

do-extract:
	@${MKDIR} ${WRKSRC}
	@${GUNZIP_CMD} -c ${DISTDIR}/${DISTFILES} > ${WRKSRC}/X-Plane-Net-Install

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/X-Plane-Net-Install ${PREFIX}/bin

post-install:
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>