aboutsummaryrefslogtreecommitdiffstats
path: root/www/kompozer/Makefile
blob: 3098441f2afa5b521fc753fe1ccfea289c7d56f3 (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
41
42
43
44
45
46
# New ports collection makefile for:    nvu
# Date created:     August 21, 2004
# Whom:         Thierry Thomas <thierry@pompo.net>
#
# $FreeBSD$
#    $MCom: ports/www/nvu/Makefile,v 1.5 2006/07/18 15:07:36 ahze Exp $
#

PORTNAME=   kompozer
DISTVERSION=    0.7.10
PORTREVISION=   4
CATEGORIES= www
MASTER_SITES=   SF
DISTNAME=   ${PORTNAME}-${DISTVERSION}dfsg-src

MAINTAINER= gecko@FreeBSD.org
COMMENT=    Complete Web Authoring Suite

WANT_GNOME= yes
WANT_PERL=  yes
USE_GMAKE=  yes
WRKSRC=     ${WRKDIR}/${PORTNAME}-${DISTVERSION}/mozilla
MAKEFILE=   client.mk
ALL_TARGET= build_all
MOZ_EXTENSIONS= wallet,xml-rpc,xmlextras,pref,universalchardet,spellcheck
PORT_MOZCONFIG= ${WRKSRC}/composer/config/mozconfig.linux

BROKEN= KompoZer 0.7.10 is not compatible with GTK 2.14 and higher, hence the crashes.

DESKTOP_ENTRIES="Kompozer" "${COMMENT}" \
        "${PREFIX}/lib/kompozer/icons/mozicon50.xpm" "${PORTNAME}" \
        "Application;Network;" true

NOT_FOR_ARCHS=  ia64 sparc64
NOT_FOR_ARCHS_REASON_ia64=  does not build
NOT_FOR_ARCHS_REASON_sparc64=   crashes in font selection

.include <bsd.port.pre.mk>
.include "${PORTSDIR}/www/mozilla/Makefile.common"

post-patch:
    @${RM} -f ${WRKSRC}/config.status ${WRKSRC}/config.cache
    @${ECHO_CMD} "LDFLAGS += -L${LOCALBASE}/lib" >> ${WRKSRC}/toolkit/components/Makefile.in
    @${ECHO_CMD} "LDFLAGS += -L${LOCALBASE}/lib" >> ${WRKSRC}/toolkit/components/gnome/Makefile.in

.include <bsd.port.post.mk>