| @@ -1,48 +1,50 @@ | | | @@ -1,48 +1,50 @@ |
1 | # $NetBSD: Makefile,v 1.29 2016/08/21 11:18:37 ryoon Exp $ | | 1 | # $NetBSD: Makefile,v 1.30 2016/10/10 13:22:22 tsutsui Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= jwm-2.3.6 | | 4 | DISTNAME= jwm-2.3.6 |
| | | 5 | PKGREVISION= 1 |
5 | CATEGORIES= wm x11 | | 6 | CATEGORIES= wm x11 |
6 | MASTER_SITES= http://www.joewing.net/programs/jwm/releases/ | | 7 | MASTER_SITES= http://www.joewing.net/programs/jwm/releases/ |
7 | EXTRACT_SUFX= .tar.xz | | 8 | EXTRACT_SUFX= .tar.xz |
8 | | | 9 | |
9 | MAINTAINER= tsutsui@NetBSD.org | | 10 | MAINTAINER= tsutsui@NetBSD.org |
10 | HOMEPAGE= http://www.joewing.net/programs/jwm/ | | 11 | HOMEPAGE= http://www.joewing.net/programs/jwm/ |
11 | COMMENT= Lightweight window manager with virtual desktops | | 12 | COMMENT= Lightweight window manager with virtual desktops |
12 | LICENSE= gnu-gpl-v2 | | 13 | LICENSE= mit |
13 | | | 14 | |
14 | USE_TOOLS+= pkg-config | | 15 | USE_TOOLS+= pkg-config |
15 | | | 16 | |
16 | GNU_CONFIGURE= yes | | 17 | GNU_CONFIGURE= yes |
17 | | | 18 | |
18 | .include "../../mk/bsd.prefs.mk" | | 19 | .include "../../mk/bsd.prefs.mk" |
19 | | | 20 | |
20 | .if ${X11_TYPE} != "native" || exists(${X11BASE}/include/X11/extensions/Xinerama.h) | | 21 | .if ${X11_TYPE} != "native" || exists(${X11BASE}/include/X11/extensions/Xinerama.h) |
21 | CONFIGURE_ARGS+= --enable-xinerama | | 22 | CONFIGURE_ARGS+= --enable-xinerama |
22 | # XXX maybe set some build variable about that | | 23 | # XXX maybe set some build variable about that |
23 | .endif | | 24 | .endif |
24 | | | 25 | |
25 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} | | 26 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} |
26 | | | 27 | |
27 | SUBST_CLASSES+= egdir | | 28 | SUBST_CLASSES+= egdir |
28 | SUBST_STAGE.egdir= pre-configure | | 29 | SUBST_STAGE.egdir= pre-configure |
29 | SUBST_FILES.egdir= Makefile.in | | 30 | SUBST_FILES.egdir= Makefile.in |
30 | SUBST_SED.egdir= -e 's,@@EGDIR@@,${EGDIR},g' | | 31 | SUBST_SED.egdir= -e 's,@@EGDIR@@,${EGDIR},g' |
31 | | | 32 | |
32 | SUBST_CLASSES+= icondir | | 33 | SUBST_CLASSES+= icondir |
33 | SUBST_STAGE.icondir= post-patch | | 34 | SUBST_STAGE.icondir= pre-configure |
34 | SUBST_FILES.icondir= example.jwmrc | | 35 | SUBST_FILES.icondir= example.jwmrc |
35 | SUBST_SED.icondir= -e 's|/usr/share/icons|${PREFIX}/share/icons|g' | | 36 | SUBST_SED.icondir= -e 's|/usr/share/icons|${PREFIX}/share/icons|g' |
| | | 37 | SUBST_SED.icondir+= -e 's|/usr/local/share|${PREFIX}/share|g' |
36 | | | 38 | |
37 | PKG_SYSCONFSUBDIR= jwm | | 39 | PKG_SYSCONFSUBDIR= jwm |
38 | EGDIR= ${PREFIX}/share/examples/jwm | | 40 | EGDIR= ${PREFIX}/share/examples/jwm |
39 | CONF_FILES= ${EGDIR}/system.jwmrc ${PKG_SYSCONFDIR}/system.jwmrc | | 41 | CONF_FILES= ${EGDIR}/system.jwmrc ${PKG_SYSCONFDIR}/system.jwmrc |
40 | | | 42 | |
41 | INSTALLATION_DIRS= bin | | 43 | INSTALLATION_DIRS= bin |
42 | | | 44 | |
43 | .include "options.mk" | | 45 | .include "options.mk" |
44 | | | 46 | |
45 | BUILDLINK_DEPMETHOD.libXt?= build | | 47 | BUILDLINK_DEPMETHOD.libXt?= build |
46 | | | 48 | |
47 | .include "../../devel/gettext-lib/buildlink3.mk" | | 49 | .include "../../devel/gettext-lib/buildlink3.mk" |
48 | .include "../../x11/libXft/buildlink3.mk" | | 50 | .include "../../x11/libXft/buildlink3.mk" |