summaryrefslogtreecommitdiff
path: root/chat/zircon/Makefile
blob: aec885a49e13c7a557fff41eafad6780e747f2d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# $NetBSD: Makefile,v 1.16 2012/08/21 21:41:03 marino Exp $
#

DISTNAME=	zircon-1.18.245
PKGREVISION=	2
CATEGORIES=	chat
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

PKG_DESTDIR_SUPPORT=	user-destdir

NO_CONFIGURE=	yes
NO_BUILD=	yes

USE_TOOLS+=	wish:run tclsh sed

post-extract:
	@${SED} -e 's|.8.4|.8.5|' ${WRKSRC}/installer/file84.tcl > ${WRKSRC}/installer/file85.tcl
	@${SED} -e 's|.8.4|.8.5|' ${WRKSRC}/lib/tcl84.tcl > ${WRKSRC}/lib/tcl85.tcl
	@${ECHO_MSG} 'package ifneeded unixfile 1.18.8.5 [list source [file join $$dir file85.tcl]]' \
		>> ${WRKSRC}/installer/pkgIndex.tcl

do-install:
	@( cd ${WRKSRC} && ${TCLSH} installer/install.tcl -b ${PREFIX}/bin -l ${PREFIX}/share/zircon -p ${DESTDIR:Q} -w ${WISH} -g)
	@${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/zircon
.for file in BUGS COPYRIGHT FAQ MANUAL MIRRORS README.ONS README.load README.look README.prefs TODO
	@${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DESTDIR}${PREFIX}/share/doc/zircon
.endfor

.include "../../mk/bsd.pkg.mk"