1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00

- 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
This commit is contained in:
Alexey Dokuchaev 2011-08-09 06:00:32 +00:00
parent 12e411df1f
commit 154bb6cfed
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=279296
3 changed files with 12 additions and 14 deletions

View File

@ -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>

View File

@ -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/

View File

@ -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%%