aboutsummaryrefslogtreecommitdiffstats
path: root/palm/kpilot/Makefile
blob: c3b006c4270af4f039bcbcb4ee4b74706c1c6c77 (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
# New ports collection makefile for:   kpilot
# Version required:    3.0.2
# Date created:        09 April 1998
# Whom:                Stefan Eßer <se@freebsd.org>
#
# $Id: Makefile,v 1.11 1998/08/25 10:31:50 asami Exp $
#

DISTNAME=   kpilot-3.0.2
CATEGORIES= x11 kde
MASTER_SITES=   http://www.slac.com/pilone/kpilot_home/download/

MAINTAINER= dima@freebsd.org

LIB_DEPENDS=    gif\\.[23]\\.:${PORTSDIR}/graphics/giflib \
        jpeg.9:${PORTSDIR}/graphics/jpeg \
        kdecore\\.1\\.:${PORTSDIR}/x11/kdelibs \
        kdeui\\.1\\.:${PORTSDIR}/x11/kdelibs \
        jscript\\.0\\.9[0-9]:${PORTSDIR}/x11/kdelibs \
        khtmlw\\.1\\.:${PORTSDIR}/x11/kdelibs \
        kfm\\.1\\.:${PORTSDIR}/x11/kdelibs \
        mediatool\\.1\\.:${PORTSDIR}/x11/kdelibs

USE_QT=     yes
KDEDIR?=    $(PREFIX)
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= "--with-extra-includes=$(PREFIX)/include/giflib"
USE_GMAKE=  yes

CONFIGURE_ENV=  CXXFLAGS="$(CFLAGS)" \
        INSTALL_SCRIPT="install -c -m 555" \
        KDEDIR="${KDEDIR}"

MAKE_ENV=   KDEDIR="${KDEDIR}"

OSVERSION!=     sysctl -n kern.osreldate
.if ${OSVERSION} >= 300000
BROKEN= "Fails build"
.endif

pre-configure:
        ${CP} ${FILESDIR}/libtool ${FILESDIR}/ltmain.sh $(WRKSRC)/kpilot/libpilot

.include <bsd.port.mk>