aboutsummaryrefslogtreecommitdiffstats
path: root/palm/kpilot/Makefile
blob: d09abdd417e88eaff022781e27e8b8eaf2bbf689 (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.8 1998/08/12 06:29:24 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\\.0\\.9[0-9]:${PORTSDIR}/x11/kdelibs \
        kdeui\\.0\\.9[1-9]:${PORTSDIR}/x11/kdelibs \
        jscript\\.0\\.9[0-9]:${PORTSDIR}/x11/kdelibs \
        khtmlw\\.0\\.9[1-9]:${PORTSDIR}/x11/kdelibs \
        kfm\\.0\\.9[0-9]:${PORTSDIR}/x11/kdelibs \
        mediatool\\.0\\.[6-9]:${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>