summaryrefslogtreecommitdiff
path: root/finance/tclticker
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-03-09 23:37:41 +0000
committerminskim <minskim@pkgsrc.org>2004-03-09 23:37:41 +0000
commit4e731ae912d9f7151397dc4a3ae9a2ae0b224dbd (patch)
tree2dec842cd7b381784f7ba1ed0188cfb7550de651 /finance/tclticker
parent7ec286acc6bbc61b1d395ef1466daa715f6cbbd4 (diff)
downloadpkgsrc-4e731ae912d9f7151397dc4a3ae9a2ae0b224dbd.tar.gz
- Switch to Tk 8.4.
- Replace mv/sed with SUBST_*. - Define NO_BUILDLINK and NO_CONFIGURE. - Enable pkgviews installation.
Diffstat (limited to 'finance/tclticker')
-rw-r--r--finance/tclticker/Makefile21
1 files changed, 13 insertions, 8 deletions
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