# Created by: Alejandro Pulver # $FreeBSD$ PORTNAME= data PORTVERSION= 1.0.6 PORTREVISION= 2 CATEGORIES= games MASTER_SITES= http://www.libsdl.org/projects/quake/data/:qs PKGNAMEPREFIX= ${Q1PKGNAMEPREFIX} DISTNAME= quakesw-${PORTVERSION} DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:qs DIST_SUBDIR= ${PKGNAMEPREFIX}${PORTNAME} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= Quake data files DATADIR= ${Q1DIR} NO_BUILD= yes NO_WRKSUBDIR= yes PROGFILE= qwsv-2.30-glibc-i386-unknown-linux2.0.tar.gz SKINFILES= skinbase.zip qw_skins.zip OPTIONS_DEFINE= FULLGAME QW_DATA QW_SKINS OPTIONS_DEFAULT= QW_DATA QW_SKINS FULLGAME_DESC= Install full game version QW_DATA_DESC= Install QuakeWorld data QW_SKINS_DESC= Install QuakeWorld skins (implies QW_DATA) .include "Makefile.include" # must be included before bsd.port.options.mk .include .if ${PORT_OPTIONS:MFULLGAME} DISTFILES+= pak1.pak PLIST_FILES+= %%DATADIR%%/id1/pak1.pak .endif .if ${PORT_OPTIONS:MQW_DATA} || ${PORT_OPTIONS:MQW_SKINS} MASTER_SITES+= IDSOFTWARE/quakeworld/unix/:qw DISTFILES+= ${PROGFILE}:qw EXTRACT_ONLY+= ${PROGFILE} COMMENT:= ${COMMENT:S,Quake,& and &World,} PLIST_SUB+= QUAKEWORLD="" .else PLIST_SUB+= QUAKEWORLD="@comment " .endif .if ${PORT_OPTIONS:MQW_SKINS} MASTER_SITES+= IDSOFTWARE/quakeworld/skins/:skins DISTFILES+= ${SKINFILES:S/$/:skins/} PLIST_SUB+= QUAKEWORLD_SKINS="" COMMENT+= and skins .else PLIST_SUB+= QUAKEWORLD_SKINS="@comment " .endif pre-fetch: .if ${PORT_OPTIONS:MFULLGAME} && !exists(${_DISTDIR}/pak1.pak) @${ECHO_CMD} @${ECHO_CMD} You need to copy the file pak1.pak from the \ original Quake CDROM to ${_DISTDIR} in order to \ install this port with full game support. | ${FMT} @${ECHO_CMD} @${FALSE} .endif post-extract: .if ${PORT_OPTIONS:MQW_SKINS} . for f in ${SKINFILES} ${TAR} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${f} \ ${EXTRACT_AFTER_ARGS} -C ${WRKSRC}/qw/skins . endfor (cd ${WRKSRC}/qw/skins && ${SH} fixskins.sh) .endif # Since these files are not generated, only unpacked, install(1) them with # `-p' switch to preserve their modification times; ditto for cp(1). do-install: @${MKDIR} ${STAGEDIR}${DATADIR}/id1 ${INSTALL_DATA} -p ${WRKSRC}/id1/pak0.pak ${STAGEDIR}${DATADIR}/id1 .if ${PORT_OPTIONS:MFULLGAME} ${INSTALL_DATA} -p ${_DISTDIR}/pak1.pak ${STAGEDIR}${DATADIR}/id1 .endif .if ${PORT_OPTIONS:MQW_DATA} || ${PORT_OPTIONS:MQW_SKINS} @${MKDIR} ${STAGEDIR}${DATADIR}/qw ${INSTALL_DATA} -p ${WRKSRC}/qw/qwprogs.dat ${STAGEDIR}${DATADIR}/qw ${CP} -a ${WRKSRC}/qw/skins ${STAGEDIR}${DATADIR}/qw .endif .include files/minimist-1.2.3 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.mat2016-04-011-2/+2
* multimedia/webcamd: clarify version requirements in consumersjbeich2015-09-161-1/+1
* - Add CPE infoamdmi32015-04-091-1/+1
* Add NVIDIA_GL description to Mk/bsd.options.desc.mkxmj2015-04-051-3/+2
* - Remove always false OSVERSION conditionsamdmi32015-02-031-23/+1
* Cleanup plistantoine2014-11-221-5/+0
* STAGE.mandree2014-08-192-16/+13
* Convert some more USE_BZIP2 to USES=tar:bzip2adamw2014-07-301-1/+1
* Resetting maintainership on ports that have not been staged and without anybapt2014-07-061-1/+1
* Remove checks for V4L2 wrapper, it is included in the linuxulator of allantoine2014-03-161-4/+0
* - Remove manual creation and removal of share/applications, as it's now in th...amdmi32013-10-221-1/+0
* Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-211-0/+1
* - adoption of optionsNG frameworkjgh2013-05-241-10/+10
* - mark skype and skype-devel CONFLICTing. I really don't know why they waren'titetcu2012-06-081-0/+3
* Update to 2.2.0.35itetcu2011-10-152-3/+3
* Fix skype multimedia/linux_v4l2wrapper dependency on 8.nox2011-07-181-1/+2
* Now that the skype ports are conflicting, don't install anything skype-devel.itetcu2011-05-172-4/+5
* - fix installationitetcu2011-05-132-8/+2
* - Complete the move from net to net-imitetcu2011-05-137-42/+175
* - Get Rid MD5 supportmiwi2011-03-201-1/+0
* Grab maintainership.itetcu2009-09-151-1/+1
* Reset beech@FreeBSD.org while he works on restoring his email situation.linimon2009-08-291-1/+1
* Convert ports which use USE_GL=linux to USE_LINUX_APPS+=dri.bsam2009-06-071-1/+1
* - Mark IGNORE, this version has moved to net/skypebeech2008-05-041-0/+2
* - Minor pkg-plist fixbeech2008-04-201-1/+0
* - Fix pkg-plistbeech2008-04-172-1/+3
* - Change master_sitesbeech2008-04-151-1/+2
* - Update to 2.0.0.68beech2008-04-154-114/+147
* - Unbreak, mirror proper distfile (vendor permission).beech2008-03-153-9/+71
* - Makefile tweaksbeech2008-03-053-9/+32
* - Update to 1.4.0.118 (oss)beech2007-11-013-21/+31
* - Drag from atticbeech2007-11-014-0/+88
* - No longer needed. Update pending to main port.beech2007-10-174-88/+0
* - Update to 1.4.0.99beech2007-08-152-4/+4
* - Update to 1.4.0.94beech2007-08-062-5/+5
* - Update to 1.4.0.74beech2007-07-293-74/+46
* - Take maintainershipbeech2007-07-201-1/+3
* - Welcome X.org 7.2 \o/.flz2007-05-201-1/+1
* Chase the GNOME X11BASE to LOCALBASE move, and fix the build with themarcus2006-10-142-13/+7
* Compleate repo-copy by uptating to the beta 1.3.0.30itetcu2006-09-103-13/+21
* SHA256ifyedwin2006-01-231-0/+1
* [patch] net/skype - update to 1.2.0.18 (vulnerabilities fixed)edwin2005-11-012-3/+3
* Give maintainership to Ion-Mihai Tetcu.netchild2005-10-021-1/+1
* - Release maintainership, feel free to grab it.netchild2005-10-022-4/+4
* - Update to 1.2.0.11.netchild2005-09-012-8/+5
* Add a generic message regarding the problems with some soundcards.netchild2005-07-231-15/+1
* Unbreak default GL lib dependency.netchild2005-07-181-1/+1
* - linux_mesa3 -> linux_drinetchild2005-07-171-1/+2
* Update to 1.1.0.20.netchild2005-07-092-5/+4
* Add WITH_NIVIDIA_GL switch to depend upon x11/nvidia-driver instead uponnetchild2005-06-251-2/+7
* Update to 1.1.0.13.netchild2005-06-192-4/+6
* Mega-patch to cleanup the ports infrastructure regarding our linux bits:netchild2005-06-181-3/+3
* - Works on amd64pav2005-05-151-1/+1
* - Update to 1.0.0.20.netchild2005-04-232-5/+6
* Update to 1.0.0.7.netchild2005-03-062-3/+3
* Respect the user's USE_LINUX setting.trevor2005-03-021-1/+0
* Update to 1.0.0.1.rushani2005-02-052-4/+4