summaryrefslogtreecommitdiff
path: root/devel/stooop
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-03 17:45:33 +0000
committerjlam <jlam>2008-03-03 17:45:33 +0000
commit7a1142123798f48c48fc2d1fe38690a6b94d1df7 (patch)
tree620d08cc8bf79f9bacb7746632192670c7d6350d /devel/stooop
parente629efdae96bb93a089e74409a36149a86e10f81 (diff)
downloadpkgsrc-7a1142123798f48c48fc2d1fe38690a6b94d1df7.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'devel/stooop')
-rw-r--r--devel/stooop/Makefile17
1 files changed, 9 insertions, 8 deletions
diff --git a/devel/stooop/Makefile b/devel/stooop/Makefile
index 72aef949d50..f4ef80e48c3 100644
--- a/devel/stooop/Makefile
+++ b/devel/stooop/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2006/03/04 21:29:30 jlam Exp $
+# $NetBSD: Makefile,v 1.12 2008/03/03 17:45:37 jlam Exp $
DISTNAME= stooop-4.1.1
CATEGORIES= x11 tcl
@@ -11,17 +11,18 @@ COMMENT= Simple Tcl Only Object Oriented Programming scheme
DEPENDS+= tcl>=8.3.2:../../lang/tcl
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
NO_CONFIGURE= yes
NO_BUILD= yes
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/lib/tcl/stooop
- ${INSTALL_DATA} ${WRKSRC}/pkgIndex.tcl ${PREFIX}/lib/tcl/stooop
- ${INSTALL_DATA} ${WRKSRC}/stooop.tcl ${PREFIX}/lib/tcl/stooop
- ${INSTALL_DATA} ${WRKSRC}/switched.tcl ${PREFIX}/lib/tcl/stooop
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tcl/stooop
- ${INSTALL_DATA} ${WRKSRC}/stooop.htm ${PREFIX}/share/doc/tcl/stooop
- ${INSTALL_DATA} ${WRKSRC}/switched.htm ${PREFIX}/share/doc/tcl/stooop
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/tcl/stooop
+ ${INSTALL_DATA} ${WRKSRC}/pkgIndex.tcl ${DESTDIR}${PREFIX}/lib/tcl/stooop
+ ${INSTALL_DATA} ${WRKSRC}/stooop.tcl ${DESTDIR}${PREFIX}/lib/tcl/stooop
+ ${INSTALL_DATA} ${WRKSRC}/switched.tcl ${DESTDIR}${PREFIX}/lib/tcl/stooop
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/tcl/stooop
+ ${INSTALL_DATA} ${WRKSRC}/stooop.htm ${DESTDIR}${PREFIX}/share/doc/tcl/stooop
+ ${INSTALL_DATA} ${WRKSRC}/switched.htm ${DESTDIR}${PREFIX}/share/doc/tcl/stooop
.include "../../mk/bsd.pkg.mk"