freebsd-ports/www/kompozer/Makefile
2013-01-23 15:00:18 +00:00

61 lines
1.6 KiB
Makefile

# 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.8b3
PORTREVISION= 4
CATEGORIES= www
MASTER_SITES= SF/${PORTNAME}/current/${DISTVERSION}
DISTNAME= ${PORTNAME}-${DISTVERSION}-src
MAINTAINER= gecko@FreeBSD.org
COMMENT= Complete Web Authoring Suite
BUILD_DEPENDS= nss>=3.13.6_1:${PORTSDIR}/security/nss
WANT_GNOME= yes
WANT_PERL= yes
USE_BZIP2= yes
USE_GECKO= gecko
USE_GMAKE= yes
WRKSRC= ${WRKDIR}/mozilla
MAKEFILE= client.mk
ALL_TARGET= build_all
USE_MOZILLA= -event -ffi -hunspell -sqlite -vpx
MOZ_CHROME= jar
MOZ_TOOLKIT= gtk2
MOZ_EXTENSIONS= wallet,xml-rpc,xmlextras,pref,universalchardet,spellcheck
MOZ_OPTIONS= ${CONFIGURE_TARGET} \
--enable-xinerama \
--disable-xprint \
--enable-application=composer
DESKTOP_ENTRIES="Kompozer" "${COMMENT}" \
"${PREFIX}/lib/kompozer/icons/mozicon50.xpm" "${PORTNAME}" \
"Network;Development;WebDevelopment;" true
NOT_FOR_ARCHS= ia64
NOT_FOR_ARCHS_REASON_ia64= does not build
.include "${.CURDIR}/../../www/firefox/Makefile.options"
OPTIONS_DEFINE:=${OPTIONS_DEFINE:NDBUS:NGIO:NLIBPROXY}
OPTIONS_SINGLE:=${OPTIONS_SINGLE:NAUDIO:NTOOLKIT}
.include <bsd.port.pre.mk>
.if ${ARCH} == amd64
CONFIGURE_TARGET=x86_64-portbld-freebsd${OSREL}
.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>