blob: 25e406ea0c1a9b08c0b9ecf3dbf2af85db7dead9 (
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
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# 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= 1
CATEGORIES= www gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Nice GNOME/GTK-based HTML editor
LIB_DEPENDS= croco-0.6.3:${PORTSDIR}/textproc/libcroco
USE_X_PREFIX= yes
USE_GNOME= desktopfileutils gnomehack gnomemenus gnomeprefix gnometarget \
gtksourceview intlhack libgnomeprintui libgnomeui libgtkhtml
USE_XPM= yes
USE_REINPLACE= yes
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
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.2:${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|$${DATADIRNAME}/$${PACKAGE}|$${DATADIRNAME}/gnome/$${PACKAGE}|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|\&\& make|\&\& $$(MAKE)|g' ${WRKSRC}/tests/Makefile.in
.include <bsd.port.mk>
|