aboutsummaryrefslogtreecommitdiffstats
path: root/irc/irssi/Makefile
blob: 1c6324d70c662e60b7d66dae0c3710fc49d4ccf1 (plain) (blame)
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
44
45
46
47
48
49
50
# New ports collection makefile for:    irssi
# Version required:     0.7.13
# Date created:         14 Apr 1999
# Whom:             Jim Mock <jim@FreeBSD.org>
#
# $Id: Makefile,v 1.6 1999/07/10 02:40:12 cpiazza Exp $
#

DISTNAME=   irssi-0.7.13-2
PKGNAME=    irssi-0.7.13
CATEGORIES= irc
MASTER_SITES=   http://xlife.dhs.org/irssi/files/

MAINTAINER= jim@FreeBSD.org

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
USE_LIBTOOL=    yes

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --without-pthreads --without-socks --without-textui

.if defined(USE_GNOME)
CONFIGURE_ARGS+= --with-gnome
.if defined(USE_PANEL)
CONFIGURE_ARGS+= --with-gnome-panel
.else
CONFIGURE_ARGS+= --without-gnome-panel
.endif
.else
CONFIGURE_ARGS+= --without-gnome
.endif

CONFIGURE_ENV=  GTK_CONFIG="${GTK_CONFIG}" \
        GLIB_CONFIG="${GLIB_CONFIG}"

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

.include <bsd.port.mk>