blob: bba7a5c550392401972ce8c42c21b63a1ef4b1d6 (
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
|
# $NetBSD: Makefile,v 1.5 2004/02/22 21:21:43 jschauma Exp $
#
DISTNAME= larswm-7.2.10
CATEGORIES= wm x11
MASTER_SITES= http://www-personal.umich.edu/~larsb/larswm/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DOCFILES}
MAINTAINER= jschauma@NetBSD.org
HOMEPAGE= http://www.fnurt.net/larswm/
COMMENT= 9wm-like window manager
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
DOCFILES= keyboard_refcard.pdf mouse_refcard.pdf
USE_PKGINSTALL= YES
USE_IMAKE= YES
EGDIR= ${PREFIX}/share/examples/larswm
CONF_FILES= ${EGDIR}/sample.larswmrc ${PKG_SYSCONFDIR}/larswmrc
CPPFLAGS= -DPKG_SYSCONFDIR=\"\\\"${PKG_SYSCONFDIR}\\\"\"
post-patch:
@cd ${WRKSRC} && \
( \
${MV} larswm.man larswm.man.orig; \
${SED} ${FILES_SUBST_SED} larswm.man.orig > \
larswm.man; \
)
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/larswm
.for pdf in ${DOCFILES}
${INSTALL_DATA} ${DISTDIR}/${pdf} ${PREFIX}/share/doc/larswm
.endfor
${INSTALL_DATA_DIR} ${EGDIR}
${INSTALL_DATA} ${WRKSRC}/sample.* ${EGDIR}
.include "../../mk/bsd.pkg.mk"
|