22e5c30b8f
jobs for major corporations. Your tasks involve hacking into rival computer systems, stealing research data, sabotaging other companies, laundering money, erasing evidence, or framing innocent people. You use the money you earn to upgrade your computer systems, and to buy new software and tools. As your experience level increases you find more dangerous and profitable missions become available. You can speculate on a fully working stock market (and even influence its outcome). You can modify peoples academic or criminal records. You can divert money from bank transfers into your own accounts. You can even take part in the construction of the most deadly computer virus ever designed. WWW: http://uplink.co.uk PR: ports/113323 Submitted by: Marcus von Appen <mva at sysfault.org>
72 lines
2 KiB
Makefile
72 lines
2 KiB
Makefile
# New ports collection makefile for: linux-uplink-demo
|
|
# Date created: 25 May 2007
|
|
# Whom: Marcus von Appen <mva@sysfault.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= uplink-demo
|
|
PORTVERSION= 1.55
|
|
CATEGORIES= games linux
|
|
MASTER_SITES= http://uplink.co.uk/test/
|
|
PKGNAMEPREFIX= linux-
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}DEMO
|
|
EXTRACT_SUFX= .sh
|
|
|
|
MAINTAINER= mva@sysfault.org
|
|
COMMENT= High tech computer crime and industrial espionage on the Internet
|
|
|
|
RUN_DEPENDS= ${LINUXBASE}/usr/lib/libSDL-1.2.so.0:${PORTSDIR}/devel/linux-sdl12 \
|
|
${LINUXBASE}/usr/lib/libjpeg.so.62:${PORTSDIR}/graphics/linux-jpeg \
|
|
${LINUXBASE}/usr/lib/libSDL_mixer-1.2.so.0:${PORTSDIR}/audio/linux-sdl_mixer \
|
|
${LINUXBASE}/usr/lib/libmikmod.so.2:${PORTSDIR}/audio/linux-mikmod
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
USE_LINUX= yes
|
|
USE_XLIB= yes
|
|
USE_LDCONFIG= yes
|
|
NO_CDROM= Redistribution is limited, see license
|
|
NO_BUILD= yes
|
|
NO_WRKSUBDIR= yes
|
|
|
|
DATADIR= ${PREFIX}/lib/${PKGNAMEPREFIX}${PORTNAME}
|
|
SUB_FILES= uplink
|
|
SUB_LIST= LINUXBASE=${LINUXBASE}
|
|
DOCFILES= license.txt mods.txt Readme-UplinkSupport.txt readme.txt
|
|
|
|
OPTIONS= NVIDIA "Install support for nvidia" off
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_NVIDIA)
|
|
RUN_DEPENDS+= ${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver \
|
|
${LINUXBASE}/usr/X11R6/lib/libGLU.so.1:${PORTSDIR}/graphics/linux-libGLU
|
|
.else
|
|
RUN_DEPENDS+= ${LINUXBASE}/usr/X11R6/lib/libGL.so.1:${PORTSDIR}/graphics/linux_dri
|
|
.endif
|
|
|
|
do-extract:
|
|
@${MKDIR} ${WRKDIR}
|
|
@cd ${WRKDIR} && ${TAIL} +376 ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} | \
|
|
${TAR} zxf -
|
|
|
|
do-build:
|
|
${BRANDELF} -t Linux ${WRKSRC}/lib/uplink.bin.x86
|
|
|
|
do-install:
|
|
${MKDIR} ${DATADIR}
|
|
@cd ${WRKSRC}/lib && \
|
|
${INSTALL_PROGRAM} uplink.bin.x86 libftgl.so.0 ${DATADIR} && \
|
|
${INSTALL_DATA} *.dat ${DATADIR}
|
|
${INSTALL_PROGRAM} ${WRKDIR}/uplink ${PREFIX}/bin/${PKGNAMEPREFIX}uplink
|
|
.if !defined (NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
.for file in ${DOCFILES}
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}/${file}
|
|
.endfor
|
|
.endif
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.post.mk>
|