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

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

MAINTAINER=     metrol@metrol.net
COMMENT=    An image gallery generator for KDE

LIB_DEPENDS=    Magick.6:${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>