aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/krss/Makefile
blob: 06250667c99c05ca81f70096c798ad29490d78f3 (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
# 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=   5
CATEGORIES= deskutils kde
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

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

USE_KDEBASE_VER=3
USE_GMAKE=  yes
USE_AUTOTOOLS=  libtool:15
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>