f6f782c56c
The X-Plane network installer is a graphical application which fetches the latest X-Plane distribution and installs it in the directory you specify. WWW: http://www.x-plane.com/
48 lines
1.3 KiB
Makefile
48 lines
1.3 KiB
Makefile
# 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.03
|
|
CATEGORIES= games linux
|
|
MASTER_SITES= http://dev.x-plane.com/installer/${PORTVERSION}-lin1/
|
|
DISTFILES= X-Plane-Net-Install.gz
|
|
|
|
MAINTAINER= jylefort@FreeBSD.org
|
|
COMMENT= The X-Plane network installer
|
|
|
|
RUN_DEPENDS= ${LINUXBASE}/lib/libgcc/libgcc_s.so.1:${PORTSDIR}/lang/linux-libgcc \
|
|
${LINUXBASE}/usr/lib/libopenal.so.0:${PORTSDIR}/audio/linux-openal \
|
|
${LINUXBASE}/usr/X11R6/lib/libGLU.so.1.3:${PORTSDIR}/graphics/linux_dri
|
|
|
|
USE_X_PREFIX= 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 ${X_WINDOW_SYSTEM:L} != xfree86-3
|
|
.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
|
|
.else
|
|
RUN_DEPENDS+= ${LINUXBASE}/lib/libGL.so.1:${PORTSDIR}/graphics/linux_glx
|
|
.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
|
|
|
|
.include <bsd.port.post.mk>
|