aboutsummaryrefslogtreecommitdiffstats
path: root/www/nvu/Makefile
blob: 0b508931205e9d8c2cddaf9daacd156f418f162e (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
47
48
49
50
51
52
53
54
55
56
57
58
# 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=   nvu
DISTVERSION=    1.0
PORTREVISION=   7
CATEGORIES= www
MASTER_SITES=   http://cvs.nvu.com/download/
DISTNAME=   ${PORTNAME}-${DISTVERSION}-sources

MAINTAINER= gnome@FreeBSD.org
COMMENT=    A complete Web Authoring System similar to Dreamweaver or Frontpage

DEPRECATED= NVU 1.0, released June 2005, is the last official release of NVU. \
        Kompozer has picked up where NVU has left off. Please consider using \
        ${PORTSDIR}/www/kompozer instead

USE_BZIP2=  yes
WANT_GNOME= yes
WANT_PERL=  yes
USE_GMAKE=  yes
NVU=        ${PORTNAME}-${DISTVERSION}
MAKEFILE=   client.mk
ALL_TARGET= build_all
MOZ_EXTENSIONS= wallet,xml-rpc,xmlextras,pref,universalchardet,editor/cascades,spellcheck
PORT_MOZCONFIG= ${WRKSRC}/composer/config/mozconfig.linux
CFLAGS+=    -I${LOCALBASE}/include

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

.if ${ARCH} == "ia64"
BROKEN=     does not build
.endif

.if ${ARCH}=="amd64"
.if ${OSVERSION} >= 700042
BROKEN=     does not build
.endif
.endif

.if ${ARCH}=="sparc64"
.if ${OSVERSION} < 601101 || ${OSVERSION} >= 700042
IGNORE=     does not build
.endif
.endif

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>