blob: 438bef8e437c99d0e6f18c1e5f249d39bdf0c8d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
# $NetBSD: Makefile,v 1.37 2019/12/19 22:25:06 joerg Exp $
DISTNAME= wmii+ixp-3.9.2
PKGNAME= wmii-3.9.2
CATEGORIES= wm
MASTER_SITES= http://dl.suckless.org/wmii/
EXTRACT_SUFX= .tbz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/0intro/wmii
COMMENT= Modular and keyboard-friendly window manager
LICENSE= mit
DEPENDS+= dmenu>=3.7:../../x11/dmenu
USE_TOOLS+= tbl pkg-config
BUILD_DEFS+= PKG_SYSCONFBASE
MAKE_ENV+= PKG_SYSCONFBASE=${PKG_SYSCONFBASE}
# parallel compilations of at least cmd/util.o
MAKE_JOBS_SAFE= no
# see ${WRKSRC}/mk/wmii.mk
CONFVERSION= ${PKGNAME:S/wmii-//}
EGDIR= ${PREFIX}/share/examples/wmii
EGSUBDIR.top= # empty
EGFILES.top+= wmiirc welcome
EGSUBDIR.pygmi= python/pygmi
EGFILES.pygmi+= __init__.py event.py fs.py menu.py monitor.py
EGFILES.pygmi+= util.py
EGSUBDIR.pyxp= python/pyxp
EGFILES.pyxp+= __init__.py asyncclient.py client.py dial.py
EGFILES.pyxp+= fcall.py fields.py messages.py mux.py types.py
EGSUBDIR.python= python
EGFILES.python+= wmiirc wmiirc.py
EGSUBDIR.ruby= ruby
EGFILES.ruby+= wmiirc config.rb config.yaml
CONF_FILES_MODE= 0644
.for subdir in top pygmi pyxp python ruby
. for file in ${EGFILES.${subdir}}
CONF_FILES+= ${EGDIR}/${EGSUBDIR.${subdir}}/${file} \
${PKG_SYSCONFDIR}/wmii-${CONFVERSION}/${EGSUBDIR.${subdir}}${file}
. endfor
.endfor
LDFLAGS.SunOS+= -lsocket -lnsl -liconv
SUBST_CLASSES+= vars
SUBST_STAGE.vars= pre-configure
SUBST_FILES.vars= util/compile
SUBST_VARS.vars= EGREP SED SH AWK
post-build:
mv ${WRKSRC}/man/wmii.1 ${WRKSRC}/man/wmii.tbl
${TBL} ${WRKSRC}/man/wmii.tbl > ${WRKSRC}/man/wmii.1
.include "../../converters/libiconv/buildlink3.mk"
# bundles it's own libixp, which is needed until a new stable release is out.
#.include "../../devel/libixp/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../x11/libXft/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXinerama/buildlink3.mk"
.include "../../x11/libXrandr/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|