2005-01-16 13:19:15 +01:00
|
|
|
PORTNAME= meqcc
|
|
|
|
PORTVERSION= 1.4
|
|
|
|
CATEGORIES= games devel
|
2012-02-09 16:13:45 +01:00
|
|
|
MASTER_SITES= ftp://ftp.clan-rum.org/quake/qutils/ \
|
|
|
|
http://freebsd.nsu.ru/distfiles/
|
2005-01-16 13:19:15 +01:00
|
|
|
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}src
|
|
|
|
|
|
|
|
MAINTAINER= danfe@FreeBSD.org
|
2013-03-17 13:39:11 +01:00
|
|
|
COMMENT= MrElusive's QuakeC compiler with precompiler support
|
2005-01-16 13:19:15 +01:00
|
|
|
|
2012-02-06 17:06:17 +01:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2014-03-10 15:49:26 +01:00
|
|
|
USES= dos2unix zip
|
2012-02-06 17:06:17 +01:00
|
|
|
MAKEFILE= linux.mak
|
2012-02-09 16:13:45 +01:00
|
|
|
NO_WRKSUBDIR= yes
|
2005-01-16 13:19:15 +01:00
|
|
|
|
2012-02-06 17:06:17 +01:00
|
|
|
PLIST_FILES= bin/meqcc
|
|
|
|
PORTDOCS= *
|
2005-01-16 13:19:15 +01:00
|
|
|
|
2013-03-17 13:39:11 +01:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2012-02-09 16:13:45 +01:00
|
|
|
post-patch:
|
2012-02-06 17:06:17 +01:00
|
|
|
@${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
|
2005-01-16 13:19:15 +01:00
|
|
|
|
|
|
|
do-install:
|
2014-03-17 10:26:43 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/qcc ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/[^gr]*.txt ${STAGEDIR}${DOCSDIR}
|
2005-01-16 13:19:15 +01:00
|
|
|
|
2005-11-17 13:03:05 +01:00
|
|
|
.include "${.CURDIR}/../quake-source/Makefile.include"
|
2005-01-16 13:19:15 +01:00
|
|
|
.include <bsd.port.mk>
|