aboutsummaryrefslogtreecommitdiffstats
path: root/irc/kvirc/Makefile
blob: 77363ad75c3dff07a5e98ca7355e709da87b94f8 (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
# New ports collection makefile for:    kvirc
# Date created:     Mon Feb 15 02:53:29 CET 1999
# Whom:         Anders Nordby <anders@fix.no>
#
# $FreeBSD$
#

PORTNAME=   kvirc
PORTVERSION=    2.0.0
CATEGORIES= irc
MASTER_SITES=   ftp://ftp.kvirc.bz.nu/pub/mirror/kvirc/2.0.0/source/ \
        ftp://kvirc.firenze.linux.it/pub/kvirc/2.0.0/source/

MAINTAINER= trevor@jpj.net

BUILD_DEPENDS=  gettext:${PORTSDIR}/devel/gettext

ALL_TARGET= kvirc
MAN1=       kvirc.1
USE_LIBTOOL=    yes
USE_AUTOMAKE=   yes
USE_AUTOCONF=   yes
USE_NEWGCC= yes
USE_QT2=    yes
USE_X_PREFIX=   yes
USE_GMAKE=  yes
CONFIGURE_ARGS= --x-includes=$(X11BASE)/include \
        --x-libraries=$(X11BASE)/lib \
        --datadir=$(PREFIX)/share \
        --with-qt-moc=${X11BASE}/bin/moc2 \
        --with-qt-include-dir=${X11BASE}/include/qt2 \
        --with-qt-library-dir=${X11BASE}/lib \
        --without-kde-check \
        --without-pthread-check \
        --without-qt-check \
        --without-plugin-support
CONFIGURE_ENV+= SS_X_EXTRA_LIBS=-lxpg4

pre-build:
    for i in `find ${WRKSRC} -name Makefile` ; do \
        ${PERL} -pi -e "s@lqt @lqt2 @g" $$i ; \
        ${PERL} -pi -e "s@lpthread@pthread@g" $$i ; \
    done

.include <bsd.port.mk>