diff options
author | danfe <danfe@FreeBSD.org> | 2013-03-17 20:39:11 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2013-03-17 20:39:11 +0800 |
commit | 0f4585019b2a35bebf5d165b46d94e31c18c281d (patch) | |
tree | 2d1bec0b0154a23711f39e3e7d5c81ab04173c61 /games/qccx | |
parent | a1c9272c3e1f2abfaa23b488e6fbd668d51c2e8d (diff) | |
download | freebsd-ports-gnome-0f4585019b2a35bebf5d165b46d94e31c18c281d.tar.gz freebsd-ports-gnome-0f4585019b2a35bebf5d165b46d94e31c18c281d.tar.zst freebsd-ports-gnome-0f4585019b2a35bebf5d165b46d94e31c18c281d.zip |
Cleanup QuakeC compilers we have in the tree:
- Trim old-school Makefile headers
- Get rid of NOPORTDOCS (replace with PORT_OPTIONS:MDOCS}
- Some other things along the line (non-functional)
Diffstat (limited to 'games/qccx')
-rw-r--r-- | games/qccx/Makefile | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/games/qccx/Makefile b/games/qccx/Makefile index 90c7110b2549..6c9d60529c21 100644 --- a/games/qccx/Makefile +++ b/games/qccx/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: QCCX -# Date created: 18 Jan 2005 -# Whom: Alexey Dokuchaev <danfe@FreeBSD.org> -# +# Created by: Alexey Dokuchaev <danfe@FreeBSD.org> # $FreeBSD$ -# PORTNAME= qccx PORTVERSION= 1.0.0 @@ -13,22 +9,26 @@ MASTER_SITES= http://www.quakewiki.net/archives/qccx/ \ DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g} MAINTAINER= danfe@FreeBSD.org -COMMENT= A very fast optimizing QuakeC compiler +COMMENT= Very fast optimizing QuakeC compiler LICENSE= GPLv2 USE_ZIP= yes USE_DOS2UNIX= pr_comp.cpp qcc.cpp ${PORTDOCS} +MAKEFILE= ${FILESDIR}/Makefile NO_WRKSUBDIR= yes -MAKEFILE= ${FILESDIR}/Makefile PORTDOCS= manual.txt readme.txt +OPTIONS_DEFINE= DOCS + +.include <bsd.port.options.mk> + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin @${MKDIR} ${DATADIR} ${INSTALL_DATA} ${WRKSRC}/*.qc ${WRKSRC}/progs.src ${DATADIR} -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} .endif |