aboutsummaryrefslogtreecommitdiffstats
path: root/palm/kpilot/Makefile
blob: b12bd17ab40a21086456e53745537365b201d63f (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
# 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.16 1998/10/11 23:34:36 jseger Exp $
#

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

MAINTAINER= dima@freebsd.org

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

USE_QT=     yes
KDEDIR?=    $(PREFIX)
PILOTDIR?=  $(LOCALBASE)/pilot
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}" \
        LDFLAGS="-L${PILOTDIR}/lib"

MAKE_ENV=   KDEDIR="${KDEDIR}"

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

.include <bsd.port.mk>