summaryrefslogtreecommitdiffstats
path: root/www/screem/Makefile
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-08 03:59:37 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-08 03:59:37 +0800
commit7258c62c89b51ae822a29626a4158759ae7aca19 (patch)
tree5407f2ab401b3982e3a6a68d888cde12b3f8879f /www/screem/Makefile
parent333ad182fc54febd7d70b8635be3285fd9e832ad (diff)
downloadmarcuscom-ports-7258c62c89b51ae822a29626a4158759ae7aca19.tar
marcuscom-ports-7258c62c89b51ae822a29626a4158759ae7aca19.tar.gz
marcuscom-ports-7258c62c89b51ae822a29626a4158759ae7aca19.tar.bz2
marcuscom-ports-7258c62c89b51ae822a29626a4158759ae7aca19.tar.lz
marcuscom-ports-7258c62c89b51ae822a29626a4158759ae7aca19.tar.xz
marcuscom-ports-7258c62c89b51ae822a29626a4158759ae7aca19.tar.zst
marcuscom-ports-7258c62c89b51ae822a29626a4158759ae7aca19.zip
Chase dbus in the remaining ports.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7628 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'www/screem/Makefile')
-rw-r--r--www/screem/Makefile54
1 files changed, 54 insertions, 0 deletions
diff --git a/www/screem/Makefile b/www/screem/Makefile
new file mode 100644
index 000000000..551d4616d
--- /dev/null
+++ b/www/screem/Makefile
@@ -0,0 +1,54 @@
+# 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= 4
+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_GETTEXT= yes
+USE_GNOME= desktopfileutils gnomehack gnomemenus gnomeprefix gnometarget \
+ gtksourceview intlhack libgnomeprintui libgnomeui libgtkhtml
+USE_XPM= yes
+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|$${DATADIRNAME}/$${PACKAGE}|$${DATADIRNAME}/gnome/$${PACKAGE}|g ; \
+ 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>