1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/www/screem-devel/Makefile
Edwin Groothuis 090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00

53 lines
1.3 KiB
Makefile

# New ports collection makefile for: SCREEM
# Date created: 05 Nov 1999
# Whom: Will Andrews <andrews@technologist.com>
#
# $FreeBSD$
#
PORTNAME= screem
PORTVERSION= 0.16.1
PORTREVISION= 9
CATEGORIES= www gnome
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Nice GNOME/GTK-based HTML editor
LIB_DEPENDS= croco-0.6.3:${PORTSDIR}/textproc/libcroco
USE_GETTEXT= yes
USE_GNOME= desktopfileutils gnomehack gnomemenus gnomeprefix gnometarget \
gtksourceview intlhack libgnomeprintui libgnomeui libgtkhtml
USE_XORG= xpm
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
INSTALLS_OMF= yes
GCONF_SCHEMAS= screem.schemas
.if defined(WITHOUT_DBUS)
CONFIGURE_ARGS+= --disable-dbus
.else
LIB_DEPENDS+= dbus-1.3:${PORTSDIR}/devel/dbus
CONFIGURE_ARGS+= --enable-dbus
.endif
.if defined(WITHOUT_ENCHANT)
CONFIGURE_ARGS+= --disable-enchant
.else
LIB_DEPENDS+= enchant.1:${PORTSDIR}/textproc/enchant
CONFIGURE_ARGS+= --enable-enchant
.endif
post-patch:
@${REINPLACE_CMD} -e 's|-DGNOME_DISABLE_DEPRECATED||g ; \
s|-DGNOMEUI_DISABLE_DEPRECATED||g ; \
s|-DGTK_DISABLE_DEPRECATED||g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|\&\& make|\&\& $$(MAKE)|g' \
${WRKSRC}/tests/Makefile.in
.include <bsd.port.mk>