summaryrefslogtreecommitdiff
path: root/wm/wmx/Makefile
blob: 1d5c175eb09590ef0879c3cf270cb32772768b7f (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
# $NetBSD: Makefile,v 1.2 2001/02/17 17:21:54 wiz Exp $

DISTNAME=	wmx-5
PKGNAME=	wmx-5.0
CATEGORIES=	x11 wm
MASTER_SITES=	http://www.all-day-breakfast.com/wmx/

MAINTAINER=	kuebart@mathematik.uni-ulm.de
HOMEPAGE=	http://www.all-day-breakfast.com/wmx/
COMMENT=	another X11 window manager based on wm2

USE_X11BASE=	YES
USE_XPM=	YES
EVAL_PREFIX=	XPMDIR=xpm

MAKE_ENV+=	XPMDIR=${XPMDIR}

do-configure:
	cd ${WRKSRC}; \
	  ${MV} Config.h Config.h.dist; \
	  ${SED} '/SYSTEM_COMMAND_MENU/s|/usr/local/lib/wmx/menu|${PREFIX}/etc/wmx|' \
	    < Config.h.dist > Config.h; \
	  ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} depend

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/wmx ${PREFIX}/bin
	${MKDIR} ${PREFIX}/share/doc/wmx
	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/wmx
	${INSTALL_DATA} ${WRKSRC}/README.contrib ${PREFIX}/share/doc/wmx
	${MKDIR} ${PREFIX}/etc/wmx

.include "../../mk/bsd.pkg.mk"