| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.88 2011/04/22 13:42:03 obache Exp $ | | 1 | # $NetBSD: Makefile,v 1.89 2011/05/15 10:28:51 hans Exp $ |
2 | | | 2 | |
3 | DISTNAME= WindowMaker-0.92.0 | | 3 | DISTNAME= WindowMaker-0.92.0 |
4 | PKGNAME= ${DISTNAME:S/WindowMaker/windowmaker/} | | 4 | PKGNAME= ${DISTNAME:S/WindowMaker/windowmaker/} |
5 | PKGREVISION= 16 | | 5 | PKGREVISION= 16 |
6 | CATEGORIES= x11 wm windowmaker | | 6 | CATEGORIES= x11 wm windowmaker |
7 | MASTER_SITES= http://windowmaker.info/pub/source/release/ \ | | 7 | MASTER_SITES= http://windowmaker.info/pub/source/release/ \ |
8 | ftp://ftp.dti.ad.jp/pub/X/WindowMaker/source/release/ | | 8 | ftp://ftp.dti.ad.jp/pub/X/WindowMaker/source/release/ |
9 | EXTRACT_SUFX= .tar.bz2 | | 9 | EXTRACT_SUFX= .tar.bz2 |
10 | | | 10 | |
11 | MAINTAINER= pkgsrc-users@NetBSD.org | | 11 | MAINTAINER= pkgsrc-users@NetBSD.org |
12 | HOMEPAGE= http://www.windowmaker.info/ | | 12 | HOMEPAGE= http://www.windowmaker.info/ |
13 | COMMENT= GNUStep-compliant NEXTSTEP(tm) window manager clone | | 13 | COMMENT= GNUStep-compliant NEXTSTEP(tm) window manager clone |
14 | | | 14 | |
| @@ -26,26 +26,30 @@ CONFIGURE_ARGS+= --with-nlsdir=${PREFIX} | | | @@ -26,26 +26,30 @@ CONFIGURE_ARGS+= --with-nlsdir=${PREFIX} |
26 | CONFIGURE_ENV+= LINGUAS=yes | | 26 | CONFIGURE_ENV+= LINGUAS=yes |
27 | CONFIGURE_ENV+= CPP_PATH=${CPP:Q} | | 27 | CONFIGURE_ENV+= CPP_PATH=${CPP:Q} |
28 | USE_TOOLS+= perl:run | | 28 | USE_TOOLS+= perl:run |
29 | REPLACE_PERL+= util/wkdemenu.pl | | 29 | REPLACE_PERL+= util/wkdemenu.pl |
30 | | | 30 | |
31 | PKG_DESTDIR_SUPPORT= user-destdir | | 31 | PKG_DESTDIR_SUPPORT= user-destdir |
32 | | | 32 | |
33 | INSTALLATION_DIRS= share/WindowMaker/SoundSets | | 33 | INSTALLATION_DIRS= share/WindowMaker/SoundSets |
34 | INSTALLATION_DIRS+= share/WindowMaker/Sounds | | 34 | INSTALLATION_DIRS+= share/WindowMaker/Sounds |
35 | INSTALLATION_DIRS+= share/doc/WindowMaker | | 35 | INSTALLATION_DIRS+= share/doc/WindowMaker |
36 | | | 36 | |
37 | .include "../../mk/compiler.mk" | | 37 | .include "../../mk/compiler.mk" |
38 | | | 38 | |
| | | 39 | .if !empty(MACHINE_PLATFORM:MSunOS-5.11-*) |
| | | 40 | CONFIGURE_ENV+= ac_cv_lib_Xext_XineramaGetInfo=no |
| | | 41 | .endif |
| | | 42 | |
39 | .if ${MACHINE_ARCH} != "i386" | | 43 | .if ${MACHINE_ARCH} != "i386" |
40 | CONFIGURE_ENV+= ac_cv_c_inline_asm=no | | 44 | CONFIGURE_ENV+= ac_cv_c_inline_asm=no |
41 | .endif | | 45 | .endif |
42 | | | 46 | |
43 | .if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32" | | 47 | .if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32" |
44 | GCC_REQD+= 3.0 | | 48 | GCC_REQD+= 3.0 |
45 | .endif | | 49 | .endif |
46 | | | 50 | |
47 | PKG_SYSCONFSUBDIR= WindowMaker | | 51 | PKG_SYSCONFSUBDIR= WindowMaker |
48 | EGDIR= ${PREFIX}/share/examples/WindowMaker | | 52 | EGDIR= ${PREFIX}/share/examples/WindowMaker |
49 | CONF_FILES= | | 53 | CONF_FILES= |
50 | .for f in WMGLOBAL WMRootMenu WMState WMWindowAttributes WindowMaker | | 54 | .for f in WMGLOBAL WMRootMenu WMState WMWindowAttributes WindowMaker |
51 | CONF_FILES+= ${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f} | | 55 | CONF_FILES+= ${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f} |