[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / wm / jwm

File: [cvs.NetBSD.org] / pkgsrc / wm / jwm / Makefile (download)

Revision 1.41, Mon Nov 4 21:50:16 2019 UTC (3 years, 2 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4
Changes since 1.40: +2 -2 lines

wm: align variable assignments

pkglint -Wall -F --only aligned --only indent -r

No manual corrections.

# $NetBSD: Makefile,v 1.41 2019/11/04 21:50:16 rillig Exp $

DISTNAME=		jwm-2.3.7
PKGREVISION=		6
CATEGORIES=		wm x11
MASTER_SITES=		http://www.joewing.net/programs/jwm/releases/
EXTRACT_SUFX=		.tar.xz

MAINTAINER=		tsutsui@NetBSD.org
HOMEPAGE=		http://joewing.net/projects/jwm/
COMMENT=		Lightweight window manager with virtual desktops
LICENSE=		mit

USE_TOOLS+=		pkg-config

GNU_CONFIGURE=		yes

.include "../../mk/bsd.prefs.mk"

.if ${X11_TYPE} != "native" || exists(${X11BASE}/include/X11/extensions/Xinerama.h)
CONFIGURE_ARGS+=	--enable-xinerama
# XXX maybe set some build variable about that
.endif

CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFDIR:Q}

SUBST_CLASSES+=		egdir
SUBST_STAGE.egdir=	pre-configure
SUBST_FILES.egdir=	Makefile.in
SUBST_SED.egdir=	-e 's,@@EGDIR@@,${EGDIR},g'

SUBST_CLASSES+=		icondir
SUBST_STAGE.icondir=	pre-configure
SUBST_FILES.icondir=	example.jwmrc
SUBST_SED.icondir=	-e 's|/usr/share/icons|${PREFIX}/share/icons|g'
SUBST_SED.icondir+=	-e 's|/usr/local/share|${PREFIX}/share|g'

PKG_SYSCONFSUBDIR=	jwm
EGDIR=			${PREFIX}/share/examples/jwm
CONF_FILES=		${EGDIR}/system.jwmrc ${PKG_SYSCONFDIR}/system.jwmrc

INSTALLATION_DIRS=	bin

.include "options.mk"

BUILDLINK_DEPMETHOD.libXt?=	build

.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../x11/libXft/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
.include "../../x11/libXinerama/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../x11/xorgproto/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"