aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/screem-devel/Makefile20
-rw-r--r--www/screem-devel/distinfo5
-rw-r--r--www/screem/Makefile20
-rw-r--r--www/screem/distinfo5
4 files changed, 38 insertions, 12 deletions
diff --git a/www/screem-devel/Makefile b/www/screem-devel/Makefile
index 039943c19a98..2dd419df207b 100644
--- a/www/screem-devel/Makefile
+++ b/www/screem-devel/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= screem
-PORTVERSION= 0.16.0
+PORTVERSION= 0.16.1
CATEGORIES= www gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -14,8 +14,7 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Nice GNOME/GTK-based HTML editor
-LIB_DEPENDS= dbus-1.1:${PORTSDIR}/devel/dbus \
- croco-0.6.3:${PORTSDIR}/textproc/libcroco
+LIB_DEPENDS= croco-0.6.3:${PORTSDIR}/textproc/libcroco
USE_X_PREFIX= yes
USE_GNOME= desktopfileutils gnomehack gnomemenus gnomeprefix gnometarget \
@@ -26,11 +25,24 @@ USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-CONFIGURE_ARGS= --disable-enchant
INSTALLS_OMF= yes
GCONF_SCHEMAS= screem.schemas
+.if defined(WITHOUT_DBUS)
+CONFIGURE_ARGS+= --disable-dbus
+.else
+LIB_DEPENDS+= dbus-1.1:${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
diff --git a/www/screem-devel/distinfo b/www/screem-devel/distinfo
index 67d85aa3f3d1..88c95080c080 100644
--- a/www/screem-devel/distinfo
+++ b/www/screem-devel/distinfo
@@ -1,2 +1,3 @@
-MD5 (screem-0.16.0.tar.gz) = 31fdaad416d1d845fc267d8c27d59036
-SIZE (screem-0.16.0.tar.gz) = 3850088
+MD5 (screem-0.16.1.tar.gz) = 88bfc0afadb905ddbed9bdfbc869602a
+SHA256 (screem-0.16.1.tar.gz) = 8ceed299ebaa85da0f542e727b725b9b55e449347818625863e7ef45fac1951e
+SIZE (screem-0.16.1.tar.gz) = 3851388
diff --git a/www/screem/Makefile b/www/screem/Makefile
index 039943c19a98..2dd419df207b 100644
--- a/www/screem/Makefile
+++ b/www/screem/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= screem
-PORTVERSION= 0.16.0
+PORTVERSION= 0.16.1
CATEGORIES= www gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -14,8 +14,7 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Nice GNOME/GTK-based HTML editor
-LIB_DEPENDS= dbus-1.1:${PORTSDIR}/devel/dbus \
- croco-0.6.3:${PORTSDIR}/textproc/libcroco
+LIB_DEPENDS= croco-0.6.3:${PORTSDIR}/textproc/libcroco
USE_X_PREFIX= yes
USE_GNOME= desktopfileutils gnomehack gnomemenus gnomeprefix gnometarget \
@@ -26,11 +25,24 @@ USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-CONFIGURE_ARGS= --disable-enchant
INSTALLS_OMF= yes
GCONF_SCHEMAS= screem.schemas
+.if defined(WITHOUT_DBUS)
+CONFIGURE_ARGS+= --disable-dbus
+.else
+LIB_DEPENDS+= dbus-1.1:${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
diff --git a/www/screem/distinfo b/www/screem/distinfo
index 67d85aa3f3d1..88c95080c080 100644
--- a/www/screem/distinfo
+++ b/www/screem/distinfo
@@ -1,2 +1,3 @@
-MD5 (screem-0.16.0.tar.gz) = 31fdaad416d1d845fc267d8c27d59036
-SIZE (screem-0.16.0.tar.gz) = 3850088
+MD5 (screem-0.16.1.tar.gz) = 88bfc0afadb905ddbed9bdfbc869602a
+SHA256 (screem-0.16.1.tar.gz) = 8ceed299ebaa85da0f542e727b725b9b55e449347818625863e7ef45fac1951e
+SIZE (screem-0.16.1.tar.gz) = 3851388