From f4d6a80cde0c15fb31be04ef0586a36b30f3767e Mon Sep 17 00:00:00 2001 From: minskim Date: Tue, 9 Mar 2004 23:37:41 +0000 Subject: - Switch to Tk 8.4. - Replace mv/sed with SUBST_*. - Define NO_BUILDLINK and NO_CONFIGURE. - Enable pkgviews installation. --- finance/tclticker/Makefile | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) (limited to 'finance/tclticker') diff --git a/finance/tclticker/Makefile b/finance/tclticker/Makefile index 178d19dd27c..fcba9e372ba 100644 --- a/finance/tclticker/Makefile +++ b/finance/tclticker/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2004/03/08 20:27:14 minskim Exp $ +# $NetBSD: Makefile,v 1.9 2004/03/09 23:37:41 minskim Exp $ # DISTNAME= tclticker-1.1 @@ -8,16 +8,21 @@ MASTER_SITES= http://www.neosoft.com/tcl/ftparchive/sorted/apps/tclticker/1.1/ MAINTAINER= tech-pkg@NetBSD.org COMMENT= Stock-quote ticker tape application -DEPENDS+= tk>=8.3.2:../../x11/tk83 +DEPENDS+= tk>=8.3.2:../../x11/tk +PKG_INSTALLATINO_TYPES= overwrite pkgviews + +NO_BUILDLINK= yes +NO_CONFIGURE= yes NO_BUILD= yes -post-patch: - cd ${WRKSRC}; \ - for f in tclticker mailquote; do \ - ${MV} $$f $$f-prefix; \ - ${SED} -e 's|@PREFIX@|${PREFIX}|g' $$f-prefix > $$f; \ - done +SUBST_CLASSES+= paths +SUBST_MESSAGE.paths= "Fixing hardcoded paths and command names." +SUBST_STAGE.paths= post-patch +SUBST_FILES.paths= tclticker mailquote +SUBST_SED.paths= -e 's|@PREFIX@|${PREFIX}|g' + +INSTALLATION_DIRS= bin do-install: ${INSTALL_SCRIPT} ${WRKSRC}/tclticker ${PREFIX}/bin -- cgit v1.2.3