1 # $NetBSD: Makefile,v 1.17 2012/10/08 12:42:21 asau Exp $
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
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
}\"
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
35 .for pdf in
${DOCFILES}
36 ${INSTALL_DATA} ${DISTDIR}/${pdf} ${DESTDIR}${PREFIX}/share
/doc
/larswm
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"