pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/finance/tclticker - Switch to Tk 8.4.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c84c0f483737
branches:  trunk
changeset: 470516:c84c0f483737
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Tue Mar 09 23:37:41 2004 +0000

description:
- Switch to Tk 8.4.
- Replace mv/sed with SUBST_*.
- Define NO_BUILDLINK and NO_CONFIGURE.
- Enable pkgviews installation.

diffstat:

 finance/tclticker/Makefile |  21 +++++++++++++--------
 1 files changed, 13 insertions(+), 8 deletions(-)

diffs (38 lines):

diff -r 4bfb809ded01 -r c84c0f483737 finance/tclticker/Makefile
--- a/finance/tclticker/Makefile        Tue Mar 09 23:32:59 2004 +0000
+++ b/finance/tclticker/Makefile        Tue Mar 09 23:37:41 2004 +0000
@@ -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 @@
 MAINTAINER=    tech-pkg%NetBSD.org@localhost
 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



Home | Main Index | Thread Index | Old Index