From 60d8eda14d4d5b9618e90292a3c64c5c905e95f9 Mon Sep 17 00:00:00 2001 From: danfe Date: Thu, 17 Mar 2005 08:43:09 +0000 Subject: Add FrikQCC 2.6, an advanced QuakeC compiler/decompiler. --- games/frikqcc/Makefile | 29 +++++++++++++++++++++++++++++ games/frikqcc/distinfo | 2 ++ games/frikqcc/files/Makefile | 26 ++++++++++++++++++++++++++ games/frikqcc/pkg-descr | 13 +++++++++++++ 4 files changed, 70 insertions(+) create mode 100644 games/frikqcc/Makefile create mode 100644 games/frikqcc/distinfo create mode 100644 games/frikqcc/files/Makefile create mode 100644 games/frikqcc/pkg-descr (limited to 'games/frikqcc') diff --git a/games/frikqcc/Makefile b/games/frikqcc/Makefile new file mode 100644 index 000000000000..22827ac2af6f --- /dev/null +++ b/games/frikqcc/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: FrikQCC +# Date created: 16 Mar 2005 +# Whom: Alexey Dokuchaev +# +# $FreeBSD$ +# + +PORTNAME= frikqcc +PORTVERSION= 2.6 +CATEGORIES= games devel +MASTER_SITES= http://wiki.quakesrc.org/files/ \ + http://freebsd.nsu.ru/distfiles/ +DISTNAME= ${PORTNAME:S/qcc//}${PORTVERSION:S/.//g}src + +MAINTAINER= danfe@FreeBSD.org +COMMENT= Advanced QuakeC compiler/decompiler + +USE_ZIP= yes + +MAKEFILE= ${FILESDIR}/Makefile + +PLIST_FILES= bin/frikqcc bin/frikqcdec + +do-install: +.for p in ${PLIST_FILES:S/bin\///g} + ${INSTALL_PROGRAM} ${WRKSRC}/${p} ${PREFIX}/bin +.endfor + +.include diff --git a/games/frikqcc/distinfo b/games/frikqcc/distinfo new file mode 100644 index 000000000000..929fabe5cc21 --- /dev/null +++ b/games/frikqcc/distinfo @@ -0,0 +1,2 @@ +MD5 (frik26src.zip) = 8743604be2d1db778b7e97b0e8f2249c +SIZE (frik26src.zip) = 69840 diff --git a/games/frikqcc/files/Makefile b/games/frikqcc/files/Makefile new file mode 100644 index 000000000000..e0644ecb4b9e --- /dev/null +++ b/games/frikqcc/files/Makefile @@ -0,0 +1,26 @@ +# +# $FreeBSD$ + +CFLAGS+= -DINLINE + +COBJS= compiler/cmdlib.o \ + compiler/hash.o \ + compiler/main.o \ + compiler/pr_comp.o \ + compiler/pr_lex.o \ + compiler/qcc.o + +DECOBJS= decompiler/cmdlib.o \ + decompiler/decomp.o \ + decompiler/main.o + +.c.o: + ${CC} ${CFLAGS} -c $< -o $*.o + +all: c dec + +c: ${COBJS} + ${CC} ${LDFLAGS} -o frikqcc ${COBJS} + +dec: ${DECOBJS} + ${CC} ${LDFLAGS} -o frikqcdec ${DECOBJS} diff --git a/games/frikqcc/pkg-descr b/games/frikqcc/pkg-descr new file mode 100644 index 000000000000..f1c453279b90 --- /dev/null +++ b/games/frikqcc/pkg-descr @@ -0,0 +1,13 @@ +FrikQCC was started a few months before the Quake engine source was +released. Originally based off of FastQCC, it was widely (well among +the people at MDQNet) enjoyed for a few months. Then J. P. Grossman +released QCCX, back in March 2000. QCCX implemented a ton of neato- +whizbang features that I just had to have. I immediately set out to +add some of the better stuff from FrikQCC 1.x, such as warnings and +some of my own ideas of optimizations to his code. The result was +FrikQCC 2.0, which has been updated many times since then. I've +started moving away from some of the old QCCX features (for example my +Arrays are different, as is the new int type) in an effort to make the +code more user friendly. + +WWW: http://wiki.quakesrc.org/index.php?pagename=FrikQCC -- cgit