blob: 6513cf2682fe321ef35c1187c850e07394167f48 (
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 2000/07/22 06:44:53 jlam Exp $
DISTNAME= wmx-5
PKGNAME= wmx-5.0
CATEGORIES= x11
MASTER_SITES= http://www.all-day-breakfast.com/wmx/
MAINTAINER= kuebart@mathematik.uni-ulm.de
HOMEPAGE= http://www.all-day-breakfast.com/wmx/
DEPENDS= xpm-3.4k:../../graphics/xpm
USE_X11BASE= 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"
|