blob: f8ddd55913b20fb0016cb879597b3f632c61afc3 (
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
|
# $NetBSD: Makefile,v 1.31 2013/06/06 12:55:20 wiz Exp $
#
DISTNAME= mrxvt-0.5.4
PKGREVISION= 10
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=materm/}
PATCH_SITES= ${MASTER_SITES}
PATCHFILES= mrxvt-0.5.4-001-fix-segfault-when-wd-empty.patch
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://materm.sourceforge.net/
COMMENT= Multi-tabbed terminal emulator with Xft support
PKG_INSTALLATION_TYPES= overwrite pkgviews
GNU_CONFIGURE= YES
USE_TOOLS+= gmake
USE_FEATURES+= snprintf
CONFIGURE_ARGS+= --enable-xft
CONFIGURE_ARGS+= --enable-text-shadow
CONFIGURE_ARGS+= --enable-24bits
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "HPUX"
CONFIGURE_ARGS+= --disable-lastlog --disable-utmp --disable-wtmp
.endif
EGDIR= ${PREFIX}/share/examples
MAKE_DIRS+= ${PKG_SYSCONFDIR}/mrxvt
CONF_FILES= ${EGDIR}/mrxvt/mrxvtrc ${PKG_SYSCONFDIR}/mrxvt/mrxvtrc
CONF_FILES+= ${EGDIR}/mrxvt/default.menu ${PKG_SYSCONFDIR}/mrxvt/default.menu
CONF_FILES+= ${EGDIR}/mrxvt/submenus.menu ${PKG_SYSCONFDIR}/mrxvt/submenus.menu
INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} sysconfdir=${EGDIR:Q}
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS:M*BSD} || ${OPSYS} == "Darwin" || ${OPSYS} == "DragonFly"
# Make mrxvt setuid root so that tty ownership setting and utmp logging
# function correctly.
#
CONFIGURE_ARGS+= --enable-ttygid
SPECIAL_PERMS= ${PREFIX}/bin/mrxvt ${SETUID_ROOT_PERMS}
.endif
BUILDLINK_DEPMETHOD.libXt+= build
.include "../../mk/jpeg.buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../x11/libSM/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXft/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|