aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/kallery/Makefile
blob: e058277216cdb702f46514fa0087f363fd205865 (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
# New ports collection makefile for:   kallery
# Date created:        22 September 2002
# Whom:                Michael Collette
#
# $FreeBSD$
#

PORTNAME=   kallery
PORTVERSION=    1.0.2
CATEGORIES= graphics kde
MASTER_SITES=   http://www.virtualartisans.com/kde/andras/kallery/
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER=     metrol@metrol.net

LIB_DEPENDS=    Magick.5:${PORTSDIR}/graphics/ImageMagick

USE_KDELIBS_VER=3
USE_BZIP2=  yes
GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_REINPLACE=  yes
CONFIGURE_TARGET=
CONFIGURE_ARGS+=    --prefix=${LOCALBASE}

post-patch:
.if !defined(NOPORTDOCS)
    @${REINPLACE_CMD} -Ee \
        's|(dtd/kdex.dtd)|${LOCALBASE}/share/apps/ksgmltools2/customization/\1|' \
        ${WRKSRC}/doc/en/index.docbook
.else
    @${REINPLACE_CMD} -Ee 's|(kallery po) doc|\1|' ${WRKSRC}/Makefile.in
.endif

.include <bsd.port.mk>