aboutsummaryrefslogtreecommitdiffstats
path: root/www/kompozer/Makefile
blob: 5c8e6a135e0bef69c878ccad931224799cd542da (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
# 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.3 2005/11/23 00:40:57 ahze Exp $
#

PORTNAME=   nvu
DISTVERSION=    1.0
CATEGORIES= www
MASTER_SITES=   http://cvs.nvu.com/download/
DISTNAME=   ${PORTNAME}-${DISTVERSION}-sources

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

USE_X_PREFIX=   yes
USE_BZIP2=  yes
WANT_GNOME= yes
USE_GMAKE=  yes
NVU=        ${PORTNAME}-${DISTVERSION}
MAKEFILE=   client.mk
ALL_TARGET= build_all
PORT_MOZCONFIG= ${WRKSRC}/composer/config/mozconfig.linux

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

.if ${PERL_LEVEL} < 500600
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-config_make-jars.pl
.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>