diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2011-08-09 06:00:32 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2011-08-09 06:00:32 +0000 |
commit | 154bb6cfedb06659cd9cf08cd3875c1fd5a01ae8 (patch) | |
tree | 556d13bbd96869be9a50e65b146c1b8880b865b3 | |
parent | Apply the same solution for COMPILETIME_OPTIONS+= as in -15 (diff) |
- 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
Notes
Notes:
svn path=/head/; revision=279296
-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%% |