aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/lineak-kdeplugins/Makefile
blob: a362c3bdcc93fba7a9c6bfba8b4d3488f5423a36 (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
# New ports collection makefile for:    lineak-kdeplugins
# Date created:     2004-12-29
# Whom:         Kay Lehmann <kay_lehmann@web.de>
#
# $FreeBSD$
#

PORTNAME=   lineak-kdeplugins
PORTVERSION=    0.9
CATEGORIES= sysutils deskutils
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= lineak
DIST_SUBDIR=    lineak

MAINTAINER= kay_lehmann@web.de
COMMENT=    KDE plugins for lineakd

LIB_DEPENDS=    lineak.8:${PORTSDIR}/sysutils/lineakd

USE_KDELIBS_VER=3
USE_GMAKE=  yes
USE_AUTOTOOLS=  libtool:15
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
        LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
CONFIGURE_ARGS+=    --program-prefix=''

MAN1=       lineak_kdeplugins.1
#MANCOMPRESSED= yes

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
IGNORE=     needs KDE to be compiled with gcc 3.4
.endif

post-patch:
    @${REINPLACE_CMD} -e 's|-ldl||' ${WRKSRC}/configure
    @${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/configure

.include <bsd.port.post.mk>