aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2004-04-22 05:35:40 +0800
committerperky <perky@FreeBSD.org>2004-04-22 05:35:40 +0800
commit21dc5cda80d96976708cda3ef3dfb3d317bdf326 (patch)
tree6ab1a5ed4c71c1e52c7fc1f07a19458a9bc5545e /net
parent2ae8a6d7e6beb60cec19cc66c57bdaa5a268a8f7 (diff)
downloadfreebsd-ports-graphics-21dc5cda80d96976708cda3ef3dfb3d317bdf326.tar.gz
freebsd-ports-graphics-21dc5cda80d96976708cda3ef3dfb3d317bdf326.tar.zst
freebsd-ports-graphics-21dc5cda80d96976708cda3ef3dfb3d317bdf326.zip
- Fix package build on systems not having Mozilla.
- Update to 0.4.7c, the latest bugfix release. Spotted by: kris Analyzed by: steve@stevenwills.com Approved by: marcus (portmgr)
Diffstat (limited to 'net')
-rw-r--r--net/liferea/Makefile18
-rw-r--r--net/liferea/distinfo4
-rw-r--r--net/liferea/pkg-plist6
3 files changed, 21 insertions, 7 deletions
diff --git a/net/liferea/Makefile b/net/liferea/Makefile
index fb2be7777ea..834a04deb1d 100644
--- a/net/liferea/Makefile
+++ b/net/liferea/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= liferea
-PORTVERSION= 0.4.7b
-PORTREVISION= 1
+PORTVERSION= 0.4.7c
CATEGORIES= net gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= liferea
@@ -15,6 +14,11 @@ MASTER_SITE_SUBDIR= liferea
MAINTAINER= perky@FreeBSD.org
COMMENT= Simple RSS/RDF feed reader
+.ifdef WITH_MOZILLA
+BUILD_DEPENDS= mozilla:${PORTSDIR}/www/mozilla
+RUN_DEPENDS= mozilla:${PORTSDIR}/www/mozilla
+.endif
+
USE_X_PREFIX= yes
USE_GNOME= gnomeprefix gnomehack gconf2 libxml2 libgtkhtml \
gnomevfs2
@@ -23,9 +27,19 @@ USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
+.ifdef WITH_MOZILLA
+PLIST_SUB= MOZ=""
+.else
+PLIST_SUB= MOZ="@comment "
+.endif
post-patch:
+.ifdef WITH_MOZILLA
${REINPLACE_CMD} -e 's,/usr/lib/moz,${X11BASE}/lib/moz,g' \
${WRKSRC}/src/liferea
+.else
+ ${REINPLACE_CMD} -e 's,gtkmozembed,donttrythis,g' \
+ ${WRKSRC}/configure
+.endif
.include <bsd.port.mk>
diff --git a/net/liferea/distinfo b/net/liferea/distinfo
index c576e4739a9..c3f4c66b893 100644
--- a/net/liferea/distinfo
+++ b/net/liferea/distinfo
@@ -1,2 +1,2 @@
-MD5 (liferea-0.4.7b.tar.gz) = 254acfd0a469a532a264d5e2d181b219
-SIZE (liferea-0.4.7b.tar.gz) = 648421
+MD5 (liferea-0.4.7c.tar.gz) = 0d55ff698e7bebc82d48fb2434bc10a0
+SIZE (liferea-0.4.7c.tar.gz) = 640191
diff --git a/net/liferea/pkg-plist b/net/liferea/pkg-plist
index 17a67ce6380..05ca6750bfd 100644
--- a/net/liferea/pkg-plist
+++ b/net/liferea/pkg-plist
@@ -3,9 +3,9 @@ bin/liferea-bin
lib/liferea/liblihtmlg.la
lib/liferea/liblihtmlg.so
lib/liferea/liblihtmlg.so.0
-lib/liferea/liblihtmlm.la
-lib/liferea/liblihtmlm.so
-lib/liferea/liblihtmlm.so.0
+%%MOZ%%lib/liferea/liblihtmlm.la
+%%MOZ%%lib/liferea/liblihtmlm.so
+%%MOZ%%lib/liferea/liblihtmlm.so.0
lib/liferea/liblihtmlt.la
lib/liferea/liblihtmlt.so
lib/liferea/liblihtmlt.so.0