| @@ -1,29 +1,31 @@ | | | @@ -1,29 +1,31 @@ |
1 | # $NetBSD: Makefile.common,v 1.25 2009/08/03 14:52:01 joerg Exp $ | | 1 | # $NetBSD: Makefile.common,v 1.26 2009/08/04 13:58:57 joerg Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | NETHACK_BASEVER= 3.4.3 | | 4 | NETHACK_BASEVER= 3.4.3 |
5 | NETHACK_VERSION= ${NETHACK_BASEVER} | | 5 | NETHACK_VERSION= ${NETHACK_BASEVER} |
6 | NETHACK_DISTVER= ${NETHACK_BASEVER:S/.//g} | | 6 | NETHACK_DISTVER= ${NETHACK_BASEVER:S/.//g} |
7 | NETHACK_DIR= nethackdir340 | | 7 | NETHACK_DIR= nethackdir340 |
8 | | | 8 | |
9 | DISTNAME= nethack-${NETHACK_DISTVER}-src | | 9 | DISTNAME= nethack-${NETHACK_DISTVER}-src |
10 | CATEGORIES= games | | 10 | CATEGORIES= games |
11 | MASTER_SITES= ftp://ftp.sourceforge.net/pub/sourceforge/n/ne/nethack/ | | 11 | MASTER_SITES= ftp://ftp.sourceforge.net/pub/sourceforge/n/ne/nethack/ |
12 | EXTRACT_SUFX= .tgz | | 12 | EXTRACT_SUFX= .tgz |
13 | | | 13 | |
14 | MAINTAINER= pooka@NetBSD.org | | 14 | MAINTAINER= pooka@NetBSD.org |
15 | HOMEPAGE= http://www.nethack.org/ | | 15 | HOMEPAGE= http://www.nethack.org/ |
16 | | | 16 | |
| | | 17 | MAKE_JOBS_SAFE= no |
| | | 18 | |
17 | .if !defined(META_PACKAGE) | | 19 | .if !defined(META_PACKAGE) |
18 | | | 20 | |
19 | WRKSRC= ${WRKDIR}/nethack-${NETHACK_BASEVER} | | 21 | WRKSRC= ${WRKDIR}/nethack-${NETHACK_BASEVER} |
20 | HAS_CONFIGURE= yes | | 22 | HAS_CONFIGURE= yes |
21 | CONFIGURE_SCRIPT= ./sys/unix/setup.sh | | 23 | CONFIGURE_SCRIPT= ./sys/unix/setup.sh |
22 | USE_TOOLS+= gzip yacc lex | | 24 | USE_TOOLS+= gzip yacc lex |
23 | | | 25 | |
24 | .include "../../mk/bsd.prefs.mk" | | 26 | .include "../../mk/bsd.prefs.mk" |
25 | | | 27 | |
26 | .if ${OPSYS} == "Darwin" || ${OPSYS} == "Linux" | | 28 | .if ${OPSYS} == "Darwin" || ${OPSYS} == "Linux" |
27 | SUBST_CLASSES+= ttylib | | 29 | SUBST_CLASSES+= ttylib |
28 | SUBST_MESSAGE.ttylib= Configuring to use ncurses | | 30 | SUBST_MESSAGE.ttylib= Configuring to use ncurses |
29 | SUBST_STAGE.ttylib= post-patch | | 31 | SUBST_STAGE.ttylib= post-patch |