summaryrefslogtreecommitdiffstats
path: root/irc/irssi/Makefile
blob: c3661f9e1a9ebb4aa2499c7113d1c2b82ad0e762 (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
# New ports collection makefile for:	irssi
# Version required:		0.7.9
# Date created:			14 Apr 1999
# Whom:				Jim Mock <jim@phrantic.phear.net>
#
# $Id: Makefile,v 1.2 1999/05/09 14:29:10 flathill Exp $
#

DISTNAME=	irssi-0.7.9
CATEGORIES=	net
MASTER_SITES=	http://www.sicom.fi/~ikioma/irssi/

MAINTAINER=	jim@phrantic.phear.net

LIB_DEPENDS=	gtk12.2:${PORTSDIR}/x11-toolkits/gtk12

GTK_CONFIG?=	${X11BASE}/bin/gtk12-config
GLIB_CONFIG?=	${LOCALBASE}/bin/glib12-config

USE_BZIP2=	yes
USE_GMAKE=	yes
USE_PERL5=	yes
USE_X_PREFIX=	yes

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--without-gnome --without-dock --without-pthreads \
		--without-socks --with-textui=none
CONFIGURE_ENV=	GTK_CONFIG="${GTK_CONFIG}" \
		GLIB_CONFIG="${GLIB_CONFIG}"

post-install:
	@${ECHO} "		"
	@${ECHO} "---------------------------------------------------------------------------"
	@${ECHO} "===> Installing example irssi.conf to ${PREFIX}/share/examples/irssi"
	@${ECHO} "===> You will find a ~/.irssi.conf after running irssi for the first time."
	@${ECHO} "---------------------------------------------------------------------------"
	@${ECHO} "		"
	@${MKDIR} ${PREFIX}/share/examples/irssi && chmod a+rx ${PREFIX}/share/examples/irssi
	${INSTALL_DATA} ${WRKSRC}/irssi.conf ${PREFIX}/share/examples/irssi
	strip ${PREFIX}/bin/irssi
	strip ${PREFIX}/bin/irssi-bot

.include <bsd.port.mk>
OpenPOWER on IntegriCloud