aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/krss/Makefile
blob: 587bf667b0a37a52669153f05b84b360c3a15fb7 (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
# ex:ts=8
# Ports collection makefile for:    K.R.S.S.
# Date created:         Apr 17, 2002
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   krss
PORTVERSION=    2.6
PORTREVISION=   11
CATEGORIES= deskutils kde
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    KDE Rich Site Summary viewer

USE_KDEBASE_VER=3
USE_GMAKE=  yes
USE_AUTOTOOLS=  libtool:22
CONFIGURE_ENV=  LIBQT="-lqt-mt ${PTHREAD_LIBS}" KDB2HTML=${TRUE}
MAKE_ENV=   LIBQT="-lqt-mt ${PTHREAD_LIBS}" KDB2HTML=${TRUE}

QTCPPFLAGS+=    ${PTHREAD_CFLAGS}
QTCFGLIBS+= ${PTHREAD_LIBS}

post-patch:
    ${REINPLACE_CMD} -e 's|$$(LIB_KFILE)|-lkio|' ${WRKSRC}/krss/Makefile.in
    ${REINPLACE_CMD} -e 's|-pedantic||;s|-Wmissing-prototypes||' \
        ${WRKSRC}/configure

.include <bsd.port.mk>