diff options
author | danfe <danfe@FreeBSD.org> | 2005-03-17 16:43:09 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2005-03-17 16:43:09 +0800 |
commit | 60d8eda14d4d5b9618e90292a3c64c5c905e95f9 (patch) | |
tree | e687ea86809e64db58811477d7d9674b69b873b2 /games/frikqcc | |
parent | 2eec3f9968c2f7d4fe26293d7b159dfc66d03243 (diff) | |
download | freebsd-ports-gnome-60d8eda14d4d5b9618e90292a3c64c5c905e95f9.tar.gz freebsd-ports-gnome-60d8eda14d4d5b9618e90292a3c64c5c905e95f9.tar.zst freebsd-ports-gnome-60d8eda14d4d5b9618e90292a3c64c5c905e95f9.zip |
Add FrikQCC 2.6, an advanced QuakeC compiler/decompiler.
Diffstat (limited to 'games/frikqcc')
-rw-r--r-- | games/frikqcc/Makefile | 29 | ||||
-rw-r--r-- | games/frikqcc/distinfo | 2 | ||||
-rw-r--r-- | games/frikqcc/files/Makefile | 26 | ||||
-rw-r--r-- | games/frikqcc/pkg-descr | 13 |
4 files changed, 70 insertions, 0 deletions
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 <danfe@FreeBSD.org> +# +# $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 <bsd.port.mk> 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 |