summaryrefslogtreecommitdiff
path: root/chat/zircon
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2010-09-26 08:47:59 +0000
committerobache <obache@pkgsrc.org>2010-09-26 08:47:59 +0000
commitd0da6bc70e7c4b3e05d712ba01bab0e0bcb2e231 (patch)
tree693438901c9f8f1e5b09cb39cb01161af07d64eb /chat/zircon
parentdfedc0185d747977fbef503dbc90049428ac993f (diff)
downloadpkgsrc-d0da6bc70e7c4b3e05d712ba01bab0e0bcb2e231.tar.gz
* use SUBST for replace prefix
* set LICENSE=original-bsd
Diffstat (limited to 'chat/zircon')
-rw-r--r--chat/zircon/Makefile14
-rw-r--r--chat/zircon/distinfo4
-rw-r--r--chat/zircon/patches/patch-aa6
3 files changed, 13 insertions, 11 deletions
diff --git a/chat/zircon/Makefile b/chat/zircon/Makefile
index 8ce698e2f36..d21cd0202e5 100644
--- a/chat/zircon/Makefile
+++ b/chat/zircon/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2008/04/27 18:14:03 frueauf Exp $
+# $NetBSD: Makefile,v 1.12 2010/09/26 08:47:59 obache Exp $
#
DISTNAME= zircon-1.18.245
@@ -9,18 +9,20 @@ MASTER_SITES= ftp://catless.ncl.ac.uk/pub/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://catless.ncl.ac.uk/Programs/Zircon/
COMMENT= X11 interface to Internet Relay Chat
+LICENSE= original-bsd
DEPENDS+= tk>=8.3.2:../../x11/tk
+PKG_DESTDIR_SUPPORT= user-destdir
+
INTERACTIVE_STAGE= install
NO_CONFIGURE= yes
NO_BUILD= yes
-post-patch:
- @${MV} ${WRKSRC}/installer/unix.tcl ${WRKSRC}/installer/unix.tcl.bak
- @${SED} -e 's|@@@PREFIX@@@|${PREFIX}|g' \
- < ${WRKSRC}/installer/unix.tcl.bak \
- > ${WRKSRC}/installer/unix.tcl
+SUBST_CLASSES+= prefix
+SUBST_STAGE.prefix= post-patch
+SUBST_FILES.prefix= installer/unix.tcl
+SUBST_VARS.prefix= PREFIX
do-install:
@${ECHO} ""
diff --git a/chat/zircon/distinfo b/chat/zircon/distinfo
index 9428d5db431..2a7784c5674 100644
--- a/chat/zircon/distinfo
+++ b/chat/zircon/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2005/02/23 15:59:14 agc Exp $
+$NetBSD: distinfo,v 1.4 2010/09/26 08:47:59 obache Exp $
SHA1 (zircon-1.18.245.tar.gz) = 3e6ce951111e7a71b6c2fcfba2cd40405a632386
RMD160 (zircon-1.18.245.tar.gz) = aac489bff6b0834eaa984b632f89141b915d1a8f
Size (zircon-1.18.245.tar.gz) = 326469 bytes
-SHA1 (patch-aa) = 6ce15b580fbff3e4fad5863eefba6f15880ed890
+SHA1 (patch-aa) = 4e0ce6d30338fbd23e6e24c59db0df9cb3279b40
diff --git a/chat/zircon/patches/patch-aa b/chat/zircon/patches/patch-aa
index 11eb174478b..a7fac35b181 100644
--- a/chat/zircon/patches/patch-aa
+++ b/chat/zircon/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.1.1.1 2000/12/15 00:36:28 wiz Exp $
+$NetBSD: patch-aa,v 1.2 2010/09/26 08:48:00 obache Exp $
--- installer/unix.tcl-orig Wed Mar 25 11:36:03 1998
+++ installer/unix.tcl Sat Sep 5 20:42:47 1998
@@ -32,7 +32,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2000/12/15 00:36:28 wiz Exp $
proc getLib {} {
global Lib
- switch {} $Lib {set Lib /usr/local/lib/zircon}
-+ switch {} $Lib {set Lib @@@PREFIX@@@/share/zircon}
++ switch {} $Lib {set Lib @PREFIX@/share/zircon}
}
#
proc getWish {} {
@@ -41,7 +41,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2000/12/15 00:36:28 wiz Exp $
}
}
- set Bin /usr/local/bin
-+ set Bin @@@PREFIX@@@/bin
++ set Bin @PREFIX@/bin
}
#
proc getCC {} {