diff options
author | jlam <jlam> | 2008-03-03 19:21:37 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-03 19:21:37 +0000 |
commit | 4bec39ccba022dfbd2daa6f6d25f7e86d987b4b7 (patch) | |
tree | c5e0c30c0b353fd2092305665ed106c2ef4ca346 /finance/tclticker/Makefile | |
parent | 9bb1fb4eb3cd00b14bf35efc1f775513b341c2e6 (diff) | |
download | pkgsrc-4bec39ccba022dfbd2daa6f6d25f7e86d987b4b7.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'finance/tclticker/Makefile')
-rw-r--r-- | finance/tclticker/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/finance/tclticker/Makefile b/finance/tclticker/Makefile index 0865b285444..454b34d3b06 100644 --- a/finance/tclticker/Makefile +++ b/finance/tclticker/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2006/03/10 23:53:49 rillig Exp $ +# $NetBSD: Makefile,v 1.14 2008/03/03 19:31:21 jlam Exp $ # DISTNAME= tclticker-1.1 @@ -12,6 +12,7 @@ COMMENT= Stock-quote ticker tape application DEPENDS+= tk>=8.3.2:../../x11/tk PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir NO_CONFIGURE= yes NO_BUILD= yes @@ -25,9 +26,9 @@ 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 + ${INSTALL_SCRIPT} ${WRKSRC:Q}/tclticker ${DESTDIR}${PREFIX:Q}/bin + ${INSTALL_SCRIPT} ${WRKSRC:Q}/mailquote ${DESTDIR}${PREFIX:Q}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX:Q}/share/tclticker + cd ${WRKSRC:Q}/lib && ${PAX} -rw . ${DESTDIR}${PREFIX:Q}/share/tclticker .include "../../mk/bsd.pkg.mk" |