summaryrefslogtreecommitdiff
path: root/chat/epic4/Makefile
blob: 84eb260ed72b61104a84d7e627ce54eb9bee1c8e (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
35
36
37
38
39
40
41
42
43
# $NetBSD: Makefile,v 1.9 2001/03/27 03:19:48 hubertf Exp $
#

DISTNAME=	epic4-0.10.1
CATEGORIES=	chat
MASTER_SITES=	ftp://ftp.magenet.com/pub/epic/EPIC4-BETA/		\
		ftp://ftp.icm.edu.pl/vol/rzm0/irc/EPIC/EPIC4-BETA/	\
		ftp://ftp.archive.de.uu.net/pub/unix/irc/epic/EPIC4-BETA/ \
		ftp://ftp.nl.uu.net/pub/unix/irc/epic/EPIC4-BETA/
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}				\
		epic4pre2-help.tar.gz
EXTRACT_SUFX=	.tar.bz2

# to get USE_INET6
.include "../../mk/bsd.prefs.mk"
.if defined(USE_INET6) && ${USE_INET6} == "YES"
PATCH_SITES=    http://www.t17.ds.pwr.wroc.pl/~misiek/ipv6/		\
		http://zuntum.net/patches/				\
		http://flis.utech.lublin.pl/~zuntum/patches/
PATCHFILES=     epic4-0.9.16-ipv6-20010217.patch.gz
PATCH_DIST_STRIP=	-p1
.endif

MAINTAINER=	zuntum@netbsd.org
HOMEPAGE=	http://www.epicsol.org/
COMMENT=	The (E)nhanced (P)rogrammable (I)RC-II (C)lient

EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}

GNU_CONFIGURE=	YES

.if defined(USE_INET6) && ${USE_INET6} == "YES"
BUILD_DEPENDS+=	autoconf-2.13:../../devel/autoconf

post-patch:
	cd ${WRKSRC}; ${LOCALBASE}/bin/autoheader; ${LOCALBASE}/bin/autoconf
.endif

post-install:
	cd ${PREFIX}/share/epic &&					\
	( ${GUNZIP_CMD} -c ${DISTDIR}/epic4pre2-help.tar.gz | ${GTAR} xf - )

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