aboutsummaryrefslogtreecommitdiffstats
path: root/games/meqcc
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2012-02-09 23:13:45 +0800
committerdanfe <danfe@FreeBSD.org>2012-02-09 23:13:45 +0800
commita4b8689288f2dd4e0e41aa1c3dc6816539bd9293 (patch)
treea8436cd83bd1df4e9045dffac36ab6d54e27c820 /games/meqcc
parent4058e78acdfebe466c1906c4b2e221fb8f4b10ce (diff)
downloadfreebsd-ports-gnome-a4b8689288f2dd4e0e41aa1c3dc6816539bd9293.tar.gz
freebsd-ports-gnome-a4b8689288f2dd4e0e41aa1c3dc6816539bd9293.tar.zst
freebsd-ports-gnome-a4b8689288f2dd4e0e41aa1c3dc6816539bd9293.zip
- I've discovered older distfile on the Internet from Mar 2002 (while ours
was from Dec 2004). The only difference is empty `Debug' directory and two binary files generated by MSVC. Thus, switch to older distfile as it is more likely to be the original; augment MASTER_SITES; use NO_WRKSUBDIR - Do not patch things in post-extract, do so in post-patch - Apparently "MeQCC" is preferred spelling, so adjust Makefile header while I am here
Diffstat (limited to 'games/meqcc')
-rw-r--r--games/meqcc/Makefile8
-rw-r--r--games/meqcc/distinfo4
2 files changed, 7 insertions, 5 deletions
diff --git a/games/meqcc/Makefile b/games/meqcc/Makefile
index 97e27677fc0d..ea29c41c3239 100644
--- a/games/meqcc/Makefile
+++ b/games/meqcc/Makefile
@@ -1,4 +1,4 @@
-# New ports collection makefile for: meQCC
+# New ports collection makefile for: MeQCC
# Date created: 16 Jan 2005
# Whom: Alexey Dokuchaev <danfe@FreeBSD.org>
#
@@ -8,7 +8,8 @@
PORTNAME= meqcc
PORTVERSION= 1.4
CATEGORIES= games devel
-MASTER_SITES= http://freebsd.nsu.ru/distfiles/
+MASTER_SITES= ftp://ftp.clan-rum.org/quake/qutils/ \
+ http://freebsd.nsu.ru/distfiles/
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}src
MAINTAINER= danfe@FreeBSD.org
@@ -19,11 +20,12 @@ LICENSE= GPLv2
USE_ZIP= yes
USE_DOS2UNIX= yes
MAKEFILE= linux.mak
+NO_WRKSUBDIR= yes
PLIST_FILES= bin/meqcc
PORTDOCS= *
-post-extract:
+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/' \
diff --git a/games/meqcc/distinfo b/games/meqcc/distinfo
index 5b1312d7723e..7b3f2a255010 100644
--- a/games/meqcc/distinfo
+++ b/games/meqcc/distinfo
@@ -1,2 +1,2 @@
-SHA256 (meqcc14src.zip) = 75012e6231a6a5038695bb17f4e6500dcee715ec1046efd6d32fc01983baeec1
-SIZE (meqcc14src.zip) = 100418
+SHA256 (meqcc14src.zip) = 09d715c3c206cfa4942626622ad58a4535f91bf78a0e683fdc7670e8b7a3aaaa
+SIZE (meqcc14src.zip) = 82145