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: |