pkgsrc/wm/musca/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

33 lines
980 B
Makefile

# $NetBSD: Makefile,v 1.6 2019/05/23 19:23:19 rillig Exp $
DISTNAME= musca-0.9.24
PKGREVISION= 2
CATEGORIES= wm
MASTER_SITES= http://aerosuidae.net/
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
#HOMEPAGE= http://aerosuidae.net/musca/Musca_Window_Manager
COMMENT= Simple dynamic window manager for X
LICENSE= gnu-gpl-v3
NO_CONFIGURE= yes
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
SUBST_CLASSES+= makefile
SUBST_STAGE.makefile= pre-build
SUBST_MESSAGE.makefile= Fixing Makefile
SUBST_FILES.makefile= Makefile
SUBST_VARS.makefile= X11BASE
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/apis ${DESTDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/musca ${DESTDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/xlisten ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/musca.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/xorgproto/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"