1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/games/meqcc/Makefile
Alexey Dokuchaev 085aae91a3 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)
2013-03-17 12:39:11 +00:00

43 lines
955 B
Makefile

# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$
PORTNAME= meqcc
PORTVERSION= 1.4
CATEGORIES= games devel
MASTER_SITES= ftp://ftp.clan-rum.org/quake/qutils/ \
http://freebsd.nsu.ru/distfiles/
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}src
MAINTAINER= danfe@FreeBSD.org
COMMENT= MrElusive's QuakeC compiler with precompiler support
LICENSE= GPLv2
USE_ZIP= yes
USE_DOS2UNIX= yes
MAKEFILE= linux.mak
NO_WRKSUBDIR= yes
PLIST_FILES= bin/meqcc
PORTDOCS= *
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's/<io\.h>/<unistd.h>/ ; /<conio\.h>/d' \
${WRKSRC}/l_log.c
@${REINPLACE_CMD} -e 's/unsigned long t/time_t t/' \
${WRKSRC}/l_precomp.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/qcc ${PREFIX}/bin/${PORTNAME}
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/[^gr]*.txt ${DOCSDIR}
.endif
.include "${.CURDIR}/../quake-source/Makefile.include"
.include <bsd.port.mk>