summaryrefslogtreecommitdiff
path: root/www/nvu/Makefile
blob: a5f523f0ceddab21d42b8cf63e29aaa02c1ecb85 (plain)
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
# $NetBSD: Makefile,v 1.16 2014/05/29 23:37:58 wiz Exp $
#

DISTNAME=	nvu-1.0-sources
PKGNAME=	${DISTNAME:S/-sources//}
PKGREVISION=	8
CATEGORIES=	www
MASTER_SITES=	http://cvs.nvu.com/download/
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.nvu.com/
COMMENT=	Web Authoring System

WRKSRC=		${WRKDIR}/mozilla
GNU_CONFIGURE=	yes
CONFIGURE_ENV+=	ORBIT_CONFIG=orbit2-config
USE_TOOLS+=	gmake perl pkg-config unzip zip
USE_LANGUAGES=	c c++

PKGCONFIG_OVERRIDE+=	build/unix/mozilla-gtkmozembed.pc.in
PKGCONFIG_OVERRIDE+=	build/unix/mozilla-js.pc.in
PKGCONFIG_OVERRIDE+=	build/unix/mozilla-nspr.pc.in
PKGCONFIG_OVERRIDE+=	build/unix/mozilla-nss.pc.in
PKGCONFIG_OVERRIDE+=	build/unix/mozilla-plugin.pc.in
PKGCONFIG_OVERRIDE+=	build/unix/mozilla-xpcom.pc.in

CPPFLAGS+=	-I${BUILDLINK_PREFIX.libIDL}/include/libIDL-2.0
BUILDLINK_TRANSFORM+=	l:IDL:IDL-2

LDFLAGS+=	-Wl,-rpath,${PREFIX}/lib/nvu-1.0

.include "../../net/libIDL/buildlink3.mk"
.include "../../net/ORBit2/buildlink3.mk"
.include "../../x11/gtk/buildlink3.mk"
.include "../../x11/libXp/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"