pkgsrc/audio/juke/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
864 B
Makefile

# $NetBSD: Makefile,v 1.20 2019/05/23 19:22:55 rillig Exp $
#
DISTNAME= juke-0.7
PKGREVISION= 5
CATEGORIES= audio
MASTER_SITES= http://www.moll.no/oyvind/distfiles/
MAINTAINER= mob@bicekru.org
#HOMEPAGE= http://johan.nocrew.org/nav10/unix/juke/
COMMENT= Simple ncurses based jukebox
LICENSE= gnu-gpl-v2
GNU_CONFIGURE= YES
FAKE_NCURSES= yes
EGDIR= ${PREFIX}/share/examples/juke
CONF_FILES= ${EGDIR}/juke.conf.default ${PKG_SYSCONFDIR}/juke.conf
SUBST_CLASSES+= paths
SUBST_FILES.paths= doc/juke.1 MANUAL src/conf.c
SUBST_STAGE.paths= pre-configure
SUBST_VARS.paths= PKG_SYSCONFDIR
INSTALLATION_DIRS= ${EGDIR} share/doc/juke
post-install:
${INSTALL_DATA} ${WRKSRC}/juke.conf ${DESTDIR}${EGDIR}/juke.conf.default
${INSTALL_DATA} ${WRKSRC}/MANUAL ${DESTDIR}${PREFIX}/share/doc/juke/
.include "../../mk/curses.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"