diff options
author | danfe <danfe@FreeBSD.org> | 2011-08-09 14:00:32 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2011-08-09 14:00:32 +0800 |
commit | 65ad5021a5a83ba7ab355e989243d9f4bb7b0785 (patch) | |
tree | cb0fdeca1eeafc940775983850242d71ce3f157f /games | |
parent | 07b568f46f9629c8688af9d57363a2dbf4893199 (diff) | |
download | freebsd-ports-gnome-65ad5021a5a83ba7ab355e989243d9f4bb7b0785.tar.gz freebsd-ports-gnome-65ad5021a5a83ba7ab355e989243d9f4bb7b0785.tar.zst freebsd-ports-gnome-65ad5021a5a83ba7ab355e989243d9f4bb7b0785.zip |
- Use USE_DOS2UNIX and remove obscure ad-hoc hack
- Utilize PORTDOCS and trim pkg-plist
- Add LICENSE, set NO_WRKSUBDIR, misc. cleanups
- Fix spelling of QuakeC in pkg-descr
- Project moved to a new place on the Internet
Diffstat (limited to 'games')
-rw-r--r-- | games/qccx/Makefile | 15 | ||||
-rw-r--r-- | games/qccx/pkg-descr | 8 | ||||
-rw-r--r-- | games/qccx/pkg-plist | 3 |
3 files changed, 12 insertions, 14 deletions
diff --git a/games/qccx/Makefile b/games/qccx/Makefile index 64ee3f299f44..90c7110b2549 100644 --- a/games/qccx/Makefile +++ b/games/qccx/Makefile @@ -8,21 +8,21 @@ PORTNAME= qccx PORTVERSION= 1.0.0 CATEGORIES= games devel -MASTER_SITES= http://www.planetquake.com/qccx/ \ +MASTER_SITES= http://www.quakewiki.net/archives/qccx/ \ http://freebsd.nsu.ru/distfiles/ DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g} MAINTAINER= danfe@FreeBSD.org COMMENT= A very fast optimizing QuakeC compiler +LICENSE= GPLv2 + USE_ZIP= yes +USE_DOS2UNIX= pr_comp.cpp qcc.cpp ${PORTDOCS} +NO_WRKSUBDIR= yes MAKEFILE= ${FILESDIR}/Makefile -WRKSRC= ${WRKDIR} - -post-extract: - @${FIND} ${WRKDIR} -type f -name "*.[^deo]*" -print0 | \ - ${XARGS} -0 ${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//' +PORTDOCS= manual.txt readme.txt do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin @@ -30,9 +30,8 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/*.qc ${WRKSRC}/progs.src ${DATADIR} .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/[^g]*.txt ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} .endif .include "${.CURDIR}/../quake-source/Makefile.include" - .include <bsd.port.mk> diff --git a/games/qccx/pkg-descr b/games/qccx/pkg-descr index 801c1769f450..29072e5efa19 100644 --- a/games/qccx/pkg-descr +++ b/games/qccx/pkg-descr @@ -1,5 +1,7 @@ -QCCX is the world's first optimizing Quake-C compiler with support for string +QCCX is the world's first optimizing QuakeC compiler with support for string manipulation, pointers, integers, arrays, and ``for'' loops. It is also the -fastest Quake-C compiler out there (at least at its time). QCCX is based on +fastest QuakeC compiler out there (at least at its time). QCCX is based on FastQCC which was, in turn, based on QCCDOS. Use it the same way you use any -other Quake-C compiler. +other QuakeC compiler. + +WWW: http://www.quakewiki.net/archives/qccx/ diff --git a/games/qccx/pkg-plist b/games/qccx/pkg-plist index a4cdd37b5497..1929ae681106 100644 --- a/games/qccx/pkg-plist +++ b/games/qccx/pkg-plist @@ -6,6 +6,3 @@ bin/qccx %%DATADIR%%/world.qc %%DATADIR%%/progs.src @dirrm %%DATADIR%% -%%PORTDOCS%%%%DOCSDIR%%/manual.txt -%%PORTDOCS%%%%DOCSDIR%%/readme.txt -%%PORTDOCS%%@dirrm %%DOCSDIR%% |