blob: 6c05f36a4a21e12877b5f90f50c918bd68e1b6f6 (
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
|
# $NetBSD: Makefile,v 1.45 2007/09/14 15:04:48 tnn Exp $
#
DISTNAME= sawfish-${SF_VERS}
SF_VERS= 1.3.1
CATEGORIES= x11 wm
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sawmill/}
MAINTAINER= tnn@NetBSD.org
HOMEPAGE= http://sawfish.wikia.com/
COMMENT= Extensible window manager that is fully configurable in Lisp
DEPENDS+= rep-gtk2>=0.18:../../x11/rep-gtk2
CONFLICTS+= sawfish-replibs-[0-9]*
CONFLICTS+= sawfish-themes-[0-9]*
CONFIGURE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR:Q}
MAKE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR:Q}
CONFIGURE_ENV+= REP_ENV_PKGSRC=${REP_ENV_PKGSRC:Q}
MAKE_ENV+= REP_ENV_PKGSRC=${REP_ENV_PKGSRC:Q}
GNU_CONFIGURE= yes
CONFIGURE_SCRIPT= ./autogen.sh
CONFIGURE_ARGS+= --disable-themer
PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= gmake makeinfo msgfmt pkg-config autoconf automake
USE_DIRS+= gnome2-1.5
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
INFO_FILES= YES
PLIST_SUBST+= SF_VERS=${SF_VERS:Q}
SUBST_CLASSES+= env
SUBST_STAGE.env= pre-configure
SUBST_FILES.env= lisp/sawfish/ui/main.jl.in po/sawfish-xgettext
SUBST_FILES.env+= scripts/sawfish-*.jl* themer/themer.in
SUBST_SED.env= -e 's,exec rep,exec env ${REP_ENV_PKGSRC} rep,g'
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD" && empty(${OS_VERSION:M1.*})
REP_ENV_PKGSRC= LD_PRELOAD=/usr/lib/libpthread.so
.else
REP_ENV_PKGSRC=
.endif
BUILDLINK_DEPMETHOD.libXt?= build
.include "../../audio/esound/buildlink3.mk"
.include "../../lang/librep/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|