summaryrefslogtreecommitdiff
path: root/net/xchat/Makefile
blob: e1b03454d488c18da934fd7a6507a84e8a8ae756 (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
# $NetBSD: Makefile,v 1.17 2000/11/17 07:54:54 tron Exp $

DISTNAME=	xchat-1.5.7
CATEGORIES=	net x11 gnome
MASTER_SITES=	${HOMEPAGE}/files/source/1.5/
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	tron@netbsd.org
HOMEPAGE=	http://xchat.org/

DEPENDS+=	gnome-core>=1.0.55:../../x11/gnome-core
DEPENDS+=	python>=1.5.2:../../lang/python

USE_GMAKE=	yes
USE_PERL5=	yes
USE_X11BASE=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ENV+=	CPPFLAGS=-I${LOCALBASE}/include

.include "../../mk/bsd.prefs.mk"
.if (${OPSYS} == NetBSD)
CONFIGURE_ENV+=	LIBS=-lutil
.endif

pre-configure:
	@${TOUCH} ${WRKSRC}/stamp-h.in

post-install:
	${MKDIR} ${PREFIX}/share/doc/xchat
	${INSTALL_DATA} ${WRKSRC}/doc/*.html ${PREFIX}/share/doc/xchat

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