| @@ -1,26 +1,29 @@ | | | @@ -1,26 +1,29 @@ |
1 | # $NetBSD: Makefile.common,v 1.3 2008/11/04 08:36:34 adam Exp $ | | 1 | # $NetBSD: Makefile.common,v 1.4 2011/01/12 10:36:43 wiz Exp $ |
| | | 2 | # used by games/crossfire-client/Makefile |
| | | 3 | # used by games/crossfire-client-gtk/Makefile |
| | | 4 | # used by games/crossfire-client-gtk2/Makefile |
2 | | | 5 | |
3 | DISTNAME= crossfire-client-${CROSSFIRE_VERSION} | | 6 | DISTNAME= crossfire-client-${CROSSFIRE_VERSION} |
4 | CATEGORIES= games x11 | | 7 | CATEGORIES= games x11 |
5 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=crossfire/} | | 8 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=crossfire/} |
6 | | | 9 | |
7 | MAINTAINER= adam@NetBSD.org | | 10 | MAINTAINER= adam@NetBSD.org |
8 | HOMEPAGE= http://crossfire.real-time.com/ | | 11 | HOMEPAGE= http://crossfire.real-time.com/ |
9 | | | 12 | |
10 | CROSSFIRE_VERSION= 1.11.0 | | 13 | CROSSFIRE_VERSION= 1.11.0 |
11 | | | 14 | |
12 | DISTINFO_FILE= ${.CURDIR}/../../games/crossfire-client/distinfo | | 15 | DISTINFO_FILE= ${.CURDIR}/../../games/crossfire-client/distinfo |
13 | PATCHDIR= ${.CURDIR}/../../games/crossfire-client/patches | | 16 | #PATCHDIR= ${.CURDIR}/../../games/crossfire-client/patches |
14 | | | 17 | |
15 | PKG_DESTDIR_SUPPORT= user-destdir | | 18 | PKG_DESTDIR_SUPPORT= user-destdir |
16 | | | 19 | |
17 | USE_TOOLS+= gmake perl:run | | 20 | USE_TOOLS+= gmake perl:run |
18 | GNU_CONFIGURE= yes | | 21 | GNU_CONFIGURE= yes |
19 | | | 22 | |
20 | REPLACE_PERL+= common/items.pl utils/deftoheader.pl | | 23 | REPLACE_PERL+= common/items.pl utils/deftoheader.pl |
21 | | | 24 | |
22 | SUBST_CLASSES+= dsp | | 25 | SUBST_CLASSES+= dsp |
23 | SUBST_STAGE.dsp= post-patch | | 26 | SUBST_STAGE.dsp= post-patch |
24 | SUBST_MESSAGE.dsp= Adjusting path to sound device. | | 27 | SUBST_MESSAGE.dsp= Adjusting path to sound device. |
25 | SUBST_FILES.dsp= sound-src/cfsndserv.c | | 28 | SUBST_FILES.dsp= sound-src/cfsndserv.c |
26 | SUBST_SED.dsp= -e "s|/dev/dsp|${DEVOSSAUDIO}|" | | 29 | SUBST_SED.dsp= -e "s|/dev/dsp|${DEVOSSAUDIO}|" |