Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / wm / larswm / Makefile
bloba3d3b10879295709ed0715af21d7d2a0c67381e4
1 # $NetBSD: Makefile,v 1.17 2012/10/08 12:42:21 asau Exp $
4 DISTNAME= larswm-7.5.3
5 PKGREVISION= 1
6 CATEGORIES= wm x11
7 MASTER_SITES= http://home.earthlink.net/~lab1701/larswm/
8 DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DOCFILES}
10 MAINTAINER= pkgsrc-users@NetBSD.org
11 HOMEPAGE= http://home.earthlink.net/~lab1701/larswm/
12 COMMENT= 9wm-like window manager
14 EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
16 DOCFILES= keyboard_refcard.pdf mouse_refcard.pdf
18 USE_IMAKE= YES
20 EGDIR= ${PREFIX}/share/examples/larswm
21 CONF_FILES= ${EGDIR}/sample.larswmrc ${PKG_SYSCONFDIR}/larswmrc
23 .include "../../mk/bsd.prefs.mk"
25 CPPFLAGS+= -DPKG_SYSCONFDIR=\"${PKG_SYSCONFDIR:Q}\"
27 SUBST_CLASSES+= paths
28 SUBST_FILES.paths= larswm.man
29 SUBST_SED.paths+= -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g'
30 SUBST_STAGE.paths= post-patch
32 INSTALLATION_DIRS= share/doc/larswm share/examples/larswm
34 post-install:
35 .for pdf in ${DOCFILES}
36 ${INSTALL_DATA} ${DISTDIR}/${pdf} ${DESTDIR}${PREFIX}/share/doc/larswm
37 .endfor
38 ${INSTALL_DATA} ${WRKSRC}/sample.* ${DESTDIR}${EGDIR}
40 .include "../../x11/libXext/buildlink3.mk"
41 .include "../../x11/libXmu/buildlink3.mk"
42 .include "../../mk/bsd.pkg.mk"