diff options
author | danfe <danfe@FreeBSD.org> | 2005-08-01 23:24:16 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2005-08-01 23:24:16 +0800 |
commit | 9ef1ece31b6fe86f013afe97505d56b927da3f41 (patch) | |
tree | 9cf1192f2569045f7dba8695cbe914b1e8c73800 /games | |
parent | f12f8dc2a3c5e1c42e9c9eb95465abec01564440 (diff) | |
download | freebsd-ports-gnome-9ef1ece31b6fe86f013afe97505d56b927da3f41.tar.gz freebsd-ports-gnome-9ef1ece31b6fe86f013afe97505d56b927da3f41.tar.zst freebsd-ports-gnome-9ef1ece31b6fe86f013afe97505d56b927da3f41.zip |
Add UMark, Unreal Tournament 200x benchmarking utility.
WWW: http://www.unrealmark.net/
Diffstat (limited to 'games')
-rw-r--r-- | games/Makefile | 1 | ||||
-rw-r--r-- | games/umark/Makefile | 42 | ||||
-rw-r--r-- | games/umark/distinfo | 2 | ||||
-rw-r--r-- | games/umark/files/Makefile | 24 | ||||
-rw-r--r-- | games/umark/files/pkg-message.in | 22 | ||||
-rw-r--r-- | games/umark/pkg-descr | 5 | ||||
-rw-r--r-- | games/umark/pkg-plist | 54 |
7 files changed, 150 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile index e521c97b5f1d..679598803fb6 100644 --- a/games/Makefile +++ b/games/Makefile @@ -534,6 +534,7 @@ SUBDIR += twitch SUBDIR += typespeed SUBDIR += uhexen + SUBDIR += umark SUBDIR += uox3 SUBDIR += uqm SUBDIR += urban diff --git a/games/umark/Makefile b/games/umark/Makefile new file mode 100644 index 000000000000..a9230272fedf --- /dev/null +++ b/games/umark/Makefile @@ -0,0 +1,42 @@ +# New ports collection makefile for: UMark +# Date created: 31 Jul 2005 +# Whom: Alexey Dokuchaev <danfe@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= umark +DISTVERSION= 2.0.0-Beta3 +CATEGORIES= games benchmarks +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ut2k3botbench +DISTNAME= UMark-for-Linux-v${DISTVERSION:S/.//g} + +MAINTAINER= danfe@FreeBSD.org +COMMENT= Unreal Tournament 200x series benchmark utility + +USE_X_PREFIX= yes +USE_GNOME= gtk20 +WRKSRC= ${WRKDIR}/UMark/src +MAKEFILE= ${FILESDIR}/Makefile +SUB_FILES+= pkg-message +PKGMESSAGE= ${WRKDIR}/pkg-message + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + @${MKDIR} ${DATADIR} + ${INSTALL_SCRIPT} ${WRKDIR}/UMark/install_umark_data.sh ${DATADIR} + ${INSTALL_SCRIPT} ${WRKDIR}/UMark/utxinfo.pl ${DATADIR} + cd ${WRKDIR}/UMark && ${FIND} data html pixmaps | \ + ${CPIO} -pdu -R ${SHAREOWN}:${SHAREGRP} ${DATADIR} +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +. for txt in ChangeLog INSTALL README TODO + ${INSTALL_DATA} ${WRKDIR}/UMark/${txt} ${DOCSDIR} +. endfor +.endif + +post-install: + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/games/umark/distinfo b/games/umark/distinfo new file mode 100644 index 000000000000..e458753021c3 --- /dev/null +++ b/games/umark/distinfo @@ -0,0 +1,2 @@ +MD5 (UMark-for-Linux-v200-Beta3.tar.gz) = 60c3e1acd611592a00c7116106d36b54 +SIZE (UMark-for-Linux-v200-Beta3.tar.gz) = 224766 diff --git a/games/umark/files/Makefile b/games/umark/files/Makefile new file mode 100644 index 000000000000..561e4ce178cc --- /dev/null +++ b/games/umark/files/Makefile @@ -0,0 +1,24 @@ +# +# $FreeBSD$ +# + +BIN= umark + +INCS= `pkg-config gtk+-2.0 --cflags` +DEFS= -DPACKAGE_DATA_DIR=\"${PREFIX}/share\" -DPACKAGE=\"${BIN}\" +LIBS= `pkg-config gtk+-2.0 --libs` + +OBJS = \ + callbacks.o \ + interface.o \ + main.o \ + support.o \ + +.c.o: + ${CC} ${CFLAGS} ${DEFS} ${INCS} -c $< -o $*.o + +all: ${OBJS} + ${CC} ${CFLAGS} -o ${BIN} ${OBJS} ${LIBS} + +clean: + -rm -f *.o *.core diff --git a/games/umark/files/pkg-message.in b/games/umark/files/pkg-message.in new file mode 100644 index 000000000000..bb8725c0def6 --- /dev/null +++ b/games/umark/files/pkg-message.in @@ -0,0 +1,22 @@ + +Before running this software, you'll need to configure it first. This is +best to be done with `install_umark_data.sh' script, which is installed +here: + + %%DATADIR%%/install_umark_data.sh + +It should be run from %%DATADIR%%. + +If you want to manually configure the UT200x install paths, you may edit +your ~/.umarkrc file. The ~/.umarkrc file format is as follows (in order): + +BuildNumber|/UT2003/Retail/install/path +BuildNumber|/UT2004/Retail/install/path +BuildNumber|/UT2003/Demo/install/path +BuildNumber|/UT2004/Demo/install/path + +If one of the lines says "n/a|n/a", it means that `install_umark_data.sh' +did not find where the respective version of the game is installed. In this +case, you should manually enter the game build number and root installation +path. + diff --git a/games/umark/pkg-descr b/games/umark/pkg-descr new file mode 100644 index 000000000000..31146e2a3dcd --- /dev/null +++ b/games/umark/pkg-descr @@ -0,0 +1,5 @@ +UMark is a graphical interface that allows gamers to easily configure and +run benchmarks on Unreal Tournament 200x. It supports "botmatch", "flyby", +and "timedemo" benchmarks. You may save/load results, or submit them online. + +WWW: http://www.unrealmark.net/ diff --git a/games/umark/pkg-plist b/games/umark/pkg-plist new file mode 100644 index 000000000000..e7024ae57090 --- /dev/null +++ b/games/umark/pkg-plist @@ -0,0 +1,54 @@ +bin/umark +%%DATADIR%%/install_umark_data.sh +%%DATADIR%%/utxinfo.pl +%%DATADIR%%/data/UMarkFly.txt +%%DATADIR%%/data/UMarkBot.txt +%%DATADIR%%/data/UT2003/UMarkMin.ini +%%DATADIR%%/data/UT2003/UMarkMinUser.ini +%%DATADIR%%/data/UT2003/UMarkMaxUser.ini +%%DATADIR%%/data/UT2003/UMarkMax.ini +%%DATADIR%%/data/UT2004/UMarkQualityUser.ini +%%DATADIR%%/data/UT2004/UMarkQuality.ini +%%DATADIR%%/data/UT2004/UMarkPerformanceUser.ini +%%DATADIR%%/data/UT2004/UMarkPerformance.ini +%%DATADIR%%/html/0..png +%%DATADIR%%/html/00.png +%%DATADIR%%/html/01.png +%%DATADIR%%/html/02.png +%%DATADIR%%/html/03.png +%%DATADIR%%/html/04.png +%%DATADIR%%/html/05.png +%%DATADIR%%/html/06.png +%%DATADIR%%/html/07.png +%%DATADIR%%/html/08.png +%%DATADIR%%/html/09.png +%%DATADIR%%/html/about.png +%%DATADIR%%/html/compare.png +%%DATADIR%%/html/head0.png +%%DATADIR%%/html/head0o.png +%%DATADIR%%/html/foot.png +%%DATADIR%%/html/results.png +%%DATADIR%%/html/umarks.css +%%DATADIR%%/html/b_b.png +%%DATADIR%%/html/b_bl.png +%%DATADIR%%/html/b_br.png +%%DATADIR%%/html/b_c.png +%%DATADIR%%/html/b_l.png +%%DATADIR%%/html/b_r.png +%%DATADIR%%/html/b_t.png +%%DATADIR%%/html/b_tl.png +%%DATADIR%%/html/b_tr.png +%%DATADIR%%/html/headtrim.png +%%DATADIR%%/pixmaps/umark.png +%%DATADIR%%/pixmaps/umark_icon.png +@dirrm %%DATADIR%%/pixmaps +@dirrm %%DATADIR%%/html +@dirrm %%DATADIR%%/data/UT2004 +@dirrm %%DATADIR%%/data/UT2003 +@dirrm %%DATADIR%%/data +@dirrm %%DATADIR%% +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog +%%PORTDOCS%%%%DOCSDIR%%/INSTALL +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/TODO +%%PORTDOCS%%@dirrm %%DOCSDIR%% |