View | Details | Raw Unified | Return to bug 68363
Collapse All | Expand All

(-)nethack34/Makefile (-1 / +9 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	nethack
8
PORTNAME=	nethack
9
PORTVERSION=	3.4.3
9
PORTVERSION=	3.4.3
10
PORTREVISION=	1
10
PORTREVISION=	2
11
CATEGORIES?=	games
11
CATEGORIES?=	games
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
13
MASTER_SITE_SUBDIR=	${PORTNAME}
13
MASTER_SITE_SUBDIR=	${PORTNAME}
Lines 45-50 Link Here
45
GRAPHICS=	GNOME_GRAPHICS
45
GRAPHICS=	GNOME_GRAPHICS
46
.elif ${PKGNAMESUFFIX} == "-nox11"
46
.elif ${PKGNAMESUFFIX} == "-nox11"
47
GRAPHICS=	# none
47
GRAPHICS=	# none
48
.if defined(WITH_MENUCOLORS)
49
PATCHFILES+=	nh343-menucolor.diff
50
PATCH_SITES+=	http://www.cs.joensuu.fi/~pkalli/code/
51
PATCH_DIST_STRIP=	-p1
52
.endif
48
.elif ${PKGNAMESUFFIX} == "-qt"
53
.elif ${PKGNAMESUFFIX} == "-qt"
49
USE_QT_VER=	3
54
USE_QT_VER=	3
50
MAKE_ENV+=	QTCPPFLAGS="${QTCPPFLAGS} ${PTHREAD_CFLAGS}" \
55
MAKE_ENV+=	QTCPPFLAGS="${QTCPPFLAGS} ${PTHREAD_CFLAGS}" \
Lines 70-75 Link Here
70
	${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|g' ${WRKSRC}/win/Qt/qt_win.cpp
75
	${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|g' ${WRKSRC}/win/Qt/qt_win.cpp
71
.if defined(WITHOUT_SHELL)
76
.if defined(WITHOUT_SHELL)
72
	@${REINPLACE_CMD} -e 's|#define SHELL|/* #define SHELL|' ${WRKSRC}/include/unixconf.h
77
	@${REINPLACE_CMD} -e 's|#define SHELL|/* #define SHELL|' ${WRKSRC}/include/unixconf.h
78
.endif
79
.if defined(WITH_MENUCOLORS)
80
	${REINPLACE_CMD} -e 's|<regex.h>|<gnuregex.h>|g' ${WRKSRC}/include/color.h
73
.endif
81
.endif
74
82
75
pre-configure:
83
pre-configure:
(-)nethack34/distinfo (+2 lines)
Lines 1-2 Link Here
1
MD5 (nethack-343-src.tgz) = 21479c95990eefe7650df582426457f9
1
MD5 (nethack-343-src.tgz) = 21479c95990eefe7650df582426457f9
2
SIZE (nethack-343-src.tgz) = 3497458
2
SIZE (nethack-343-src.tgz) = 3497458
3
MD5 (nh343-menucolor.diff) = 8177010cbf6cfa50b6fd063458f28e25
4
SIZE (nh343-menucolor.diff) = 17862

Return to bug 68363