pkgsrc/wm/larswm/Makefile
rillig c7ff05f63e all: replace SUBST_SED with the simpler SUBST_VARS
pkglint -Wall -r --only "substitution command" -F

With manual review and indentation fixes since pkglint doesn't get that
part correct in every case.
2019-05-23 19:22:54 +00:00

42 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.21 2019/05/23 19:23:19 rillig Exp $
#
DISTNAME= larswm-7.5.3
PKGREVISION= 1
CATEGORIES= wm x11
#MASTER_SITES= http://home.earthlink.net/~lab1701/larswm/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DOCFILES}
MAINTAINER= pkgsrc-users@NetBSD.org
#HOMEPAGE= http://home.earthlink.net/~lab1701/larswm/
COMMENT= 9wm-like window manager
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
DOCFILES= keyboard_refcard.pdf mouse_refcard.pdf
USE_IMAKE= YES
EGDIR= ${PREFIX}/share/examples/larswm
CONF_FILES= ${EGDIR}/sample.larswmrc ${PKG_SYSCONFDIR}/larswmrc
.include "../../mk/bsd.prefs.mk"
CPPFLAGS+= -DPKG_SYSCONFDIR=\"${PKG_SYSCONFDIR:Q}\"
SUBST_CLASSES+= paths
SUBST_FILES.paths= larswm.man
SUBST_VARS.paths= PKG_SYSCONFDIR
SUBST_STAGE.paths= pre-configure
INSTALLATION_DIRS= share/doc/larswm share/examples/larswm
post-install:
.for pdf in ${DOCFILES}
${INSTALL_DATA} ${DISTDIR}/${pdf} ${DESTDIR}${PREFIX}/share/doc/larswm
.endfor
${INSTALL_DATA} ${WRKSRC}/sample.* ${DESTDIR}${EGDIR}
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXmu/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"