summaryrefslogtreecommitdiff
path: root/lang/tcl-itcl-current
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-02-04 01:32:00 +0000
committerjoerg <joerg@pkgsrc.org>2010-02-04 01:32:00 +0000
commit73a0e8d3e8e268d0d184fd627346fc10b7a6a6d7 (patch)
tree539416307033ba4918e210f8c2bc1676c3f3521c /lang/tcl-itcl-current
parent9ca229703bf644bd8d0c2a460fe36ef77cf31e94 (diff)
downloadpkgsrc-73a0e8d3e8e268d0d184fd627346fc10b7a6a6d7.tar.gz
DESTDIR support
Diffstat (limited to 'lang/tcl-itcl-current')
-rw-r--r--lang/tcl-itcl-current/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/lang/tcl-itcl-current/Makefile b/lang/tcl-itcl-current/Makefile
index 28317794524..b565ccf7310 100644
--- a/lang/tcl-itcl-current/Makefile
+++ b/lang/tcl-itcl-current/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2009/10/07 23:58:50 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.15 2010/02/04 01:32:00 joerg Exp $
DISTNAME= tcl-itcl-20040920
PKGNAME= ${DISTNAME:S/itcl/itcl-current/}
@@ -12,6 +12,7 @@ HOMEPAGE= http://incrtcl.sourceforge.net/itcl/
COMMENT= [incr Tcl] object-oriented extension to Tcl/Tk. CVS snapshot
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
CONFLICTS+= tcl-itcl-[0-9]*
@@ -34,6 +35,10 @@ SUBST_SED.tcl-itcl+= -e s\|${WRKSRC:Q}/itcl\|${PREFIX:Q}/lib/tcl/itcl${ITCL_VERS
SUBST_SED.tcl-itcl+= -e s\|${PREFIX:Q}/lib/itcl${ITCL_VERS:Q}\|${PREFIX:Q}/lib/tcl/itcl${ITCL_VERS:Q}\|
SUBST_SED.tcl-itcl+= -e s\|${WRKDIR:Q}/${DISTNAME:C/-src//:Q}\|${PREFIX:Q}\|
+INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} \
+ exec_prefix=${DESTDIR}${PREFIX} \
+ mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}
+
BUILDLINK_DEPMETHOD.libXt?= build
# the version of configure in the distfile is from autoconf-2.13 and is not compatible