summaryrefslogtreecommitdiff
path: root/finance/tclticker
diff options
context:
space:
mode:
authorminskim <minskim>2004-03-09 23:37:41 +0000
committerminskim <minskim>2004-03-09 23:37:41 +0000
commitf4d6a80cde0c15fb31be04ef0586a36b30f3767e (patch)
tree2dec842cd7b381784f7ba1ed0188cfb7550de651 /finance/tclticker
parenta90d18579df116077c3f9275c889bb1dcd6f2e16 (diff)
downloadpkgsrc-f4d6a80cde0c15fb31be04ef0586a36b30f3767e.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