pkgsrc/finance/tclticker/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
844 B
Makefile

# $NetBSD: Makefile,v 1.20 2019/05/23 19:23:00 rillig Exp $
#
DISTNAME= tclticker-1.1
PKGREVISION= 1
CATEGORIES= finance tk
MASTER_SITES= ${MASTER_SITE_BACKUP}
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Stock-quote ticker tape application
DEPENDS+= tk>=8.3.2:../../x11/tk
USE_TOOLS+= pax
NO_CONFIGURE= yes
NO_BUILD= yes
SUBST_CLASSES+= paths
SUBST_MESSAGE.paths= Fixing hardcoded paths and command names.
SUBST_STAGE.paths= pre-configure
SUBST_FILES.paths= tclticker mailquote
SUBST_VARS.paths= PREFIX
INSTALLATION_DIRS= bin
do-install:
${INSTALL_SCRIPT} ${WRKSRC:Q}/tclticker ${DESTDIR}${PREFIX:Q}/bin
${INSTALL_SCRIPT} ${WRKSRC:Q}/mailquote ${DESTDIR}${PREFIX:Q}/bin
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX:Q}/share/tclticker
cd ${WRKSRC:Q}/lib && pax -rw . ${DESTDIR}${PREFIX:Q}/share/tclticker
.include "../../mk/bsd.pkg.mk"