a last resort. - Construct a list of DISTFILES for every architecture (amd64, i386). Select one list for regular make and all lists for make makesum so linux ports can have one combined distinfo file. - Set DIST_SUBDIR?=centos so there's only one copy of common distfiles. - Use MASTER_SITES and DISTFILES groups so make fetch is a bit smarter. - Regenerate all distinfo files. - For linux_base-c6 (just like linux_base-c7 already does) turn bin, lib, lib64 and sbin into symbolic links to the same directory under usr. This fixes the problem where some programs/libraries exist under / on FreeBSD and /usr on Linux or vice versa and then depending on the order of search paths Linux programs may run/load FreeBSD programs/libraries and fail. - Turn usr/share/icons into a symbolic link to LOCALBASE/share/icons so Linux programs can find desktop theme icons. This eliminates the need for x11-themes/linux*-hicolor-icon-theme. - Rename pkg-plist.x86_64 to pkg-plist.amd64. - Regenerate all pkg-plist files. - Add @preexec to linux_base pkg-plist that moves existing files in bin, lib, lib64, sbin and icons to the new destination before the directories are turned into symbolic links. - Remove several empty directories from linux_base ports. - Sweep over all linux ports: use consistent style, remove old CONFLICTS, remove unused pkg-descr files, add NLS option,... - Remove old linux arts, esound and openssl-compat ports.
47 lines
1.3 KiB
Makefile
47 lines
1.3 KiB
Makefile
# Created by: Marcus von Appen <mva@sysfault.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= uplink-demo
|
|
PORTVERSION= 1.55
|
|
PORTREVISION= 3
|
|
CATEGORIES= games linux
|
|
MASTER_SITES= http://www.introversion.co.uk/uplink/downloads/
|
|
PKGNAMEPREFIX= linux-
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}DEMO
|
|
EXTRACT_SUFX= .sh
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= High tech computer crime and industrial espionage on the Internet
|
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
|
USES= linux
|
|
USE_LINUX= dri jpeg libvorbis mikmod sdl12 sdlmixer xorglibs
|
|
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_DEFINE= DOCS
|
|
|
|
do-extract:
|
|
@cd ${WRKSRC} && ${TAIL} +376 ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} | \
|
|
${TAR} zxf -
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${DATADIR}
|
|
@cd ${WRKSRC}/lib && \
|
|
${INSTALL_PROGRAM} uplink.bin.x86 libftgl.so.0 ${STAGEDIR}${DATADIR} && \
|
|
${INSTALL_DATA} *.dat ${STAGEDIR}${DATADIR}
|
|
${INSTALL_SCRIPT} ${WRKDIR}/uplink \
|
|
${STAGEDIR}${PREFIX}/bin/${PKGNAMEPREFIX}uplink
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for file in ${DOCFILES}
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}/${file}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|