pkgsrc/finance/tclticker/Makefile
2006-03-10 23:53:49 +00:00

33 lines
894 B
Makefile

# $NetBSD: Makefile,v 1.13 2006/03/10 23:53:49 rillig Exp $
#
DISTNAME= tclticker-1.1
PKGREVISION= 1
CATEGORIES= finance tk
MASTER_SITES= http://www.neosoft.com/tcl/ftparchive/sorted/apps/tclticker/1.1/
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Stock-quote ticker tape application
DEPENDS+= tk>=8.3.2:../../x11/tk
PKG_INSTALLATION_TYPES= overwrite pkgviews
NO_CONFIGURE= yes
NO_BUILD= yes
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:Q}/tclticker ${PREFIX:Q}/bin
${INSTALL_SCRIPT} ${WRKSRC:Q}/mailquote ${PREFIX:Q}/bin
${INSTALL_DATA_DIR} ${PREFIX:Q}/share/tclticker
cd ${WRKSRC:Q}/lib && ${PAX} -rw . ${PREFIX:Q}/share/tclticker
.include "../../mk/bsd.pkg.mk"