diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-05-01 02:22:39 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-05-01 02:22:39 +0800 |
commit | b83d8ba6b348cc287b05e88003590d6d6b0f1706 (patch) | |
tree | d231504d1427ee46824f62a89556e444ece85821 /net | |
parent | 96ec29822b01877c49def2d39a789a73dda89b46 (diff) | |
download | marcuscom-ports-b83d8ba6b348cc287b05e88003590d6d6b0f1706.tar.gz marcuscom-ports-b83d8ba6b348cc287b05e88003590d6d6b0f1706.tar.zst marcuscom-ports-b83d8ba6b348cc287b05e88003590d6d6b0f1706.zip |
share/gnome -> share
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8708 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'net')
-rw-r--r-- | net/liferea/Makefile | 107 | ||||
-rw-r--r-- | net/liferea/distinfo | 3 | ||||
-rw-r--r-- | net/liferea/files/patch-5.X_build_fix | 10 | ||||
-rw-r--r-- | net/liferea/files/patch-dont_install_wrapper_script | 22 | ||||
-rw-r--r-- | net/liferea/pkg-descr | 7 | ||||
-rw-r--r-- | net/liferea/pkg-plist | 145 |
6 files changed, 294 insertions, 0 deletions
diff --git a/net/liferea/Makefile b/net/liferea/Makefile new file mode 100644 index 000000000..10b86b9a9 --- /dev/null +++ b/net/liferea/Makefile @@ -0,0 +1,107 @@ +# Ports collection Makefile for: liferea +# Date created: 28 August 2003 +# Whom: Hye-Shik Chang <perky@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= liferea +PORTVERSION= 1.2.12b +PORTREVISION= 1 +CATEGORIES= net gnome +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= liferea + +MAINTAINER= pav@FreeBSD.org +COMMENT= Simple RSS/RDF feed reader + +USE_XLIB= yes +USE_GECKO= mozilla firefox +USE_GNOME= gnomeprefix gnomehack libgtkhtml +USE_GMAKE= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --mandir=${PREFIX}/man +CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/b//} + +MAN1= liferea.1 +GCONF_SCHEMAS= liferea.schemas +INSTALLS_ICONS= yes + +OPTIONS= LIBNOTIFY "Enable libnotify support" on \ + DBUS "Enable dbus support" on \ + GNUTLS "Enable SSL/HTTPS support" on \ + XPI "Firefox extension to subscribe feeds (req. dbus)" off \ + MOZILLA "Use Mozilla for rendering" off \ + XULRUNNER "Use Xulrunner for rendering" off + +.include <bsd.port.pre.mk> + +.ifdef WITHOUT_LIBNOTIFY +CONFIGURE_ARGS+=--disable-libnotify +PLIST_SUB+= NOTIFY="@comment " +.else +LIB_DEPENDS+= notify.1:${PORTSDIR}/devel/libnotify +PLIST_SUB+= NOTIFY="" +.endif + +.ifdef WITHOUT_GNUTLS +CONFIGURE_ARGS+=--disable-gnutls +.else +LIB_DEPENDS+= gnutls.15:${PORTSDIR}/security/gnutls +.endif + +.ifdef WITH_MOZILLA +.include "${PORTSDIR}/www/mozilla/bsd.gecko.mk" +CONFIGURE_ARGS+=--enable-gecko=${GECKO} +PLIST_SUB+= MOZ="" +.else +CONFIGURE_ARGS+=--disable-gecko +PLIST_SUB+= MOZ="@comment " +.endif + +.ifdef WITH_XPI +PATCH_DEPENDS+= unzip:${PORTSDIR}/archivers/unzip +RUN_DEPENDS+= firefox:${PORTSDIR}/www/firefox +PLIST_SUB+= XPI="" +.else +PLIST_SUB+= XPI="@comment " +.endif + +.ifdef WITH_XULRUNNER +BUILD_DEPENDS+= xulrunner:${PORTSDIR}/www/xulrunner +RUN_DEPENDS+= xulrunner:${PORTSDIR}/www/xulrunner +PLIST_SUB+= XUL="" +.else +CONFIGURE_ARGS+=--disable-xulrunner +PLIST_SUB+= XUL="@comment " +.endif + +.ifdef WITHOUT_DBUS +CONFIGURE_ARGS+=--disable-dbus +.else +LIB_DEPENDS+= dbus-1.3:${PORTSDIR}/devel/dbus +.endif + +post-patch: +.ifdef WITH_MOZILLA + @${REINPLACE_CMD} -e 's,firefox-,$$gecko_provider-,g' \ + -e 's,\(gecko_provider=\).*$$,\1${GECKO},' \ + -e '/INCLUDE/s,{print $$1},{print $$2},g' \ + ${WRKSRC}/configure +.endif +.ifdef WITH_XPI + @${MKDIR} ${WRKDIR}/{79ea0ec1-3fc3-4ade-8220-262d4c4825ab} + @${UNZIP_CMD} -q -d ${WRKDIR}/{79ea0ec1-3fc3-4ade-8220-262d4c4825ab} ${WRKSRC}/feedbag.xpi +.endif + +post-install: +.ifdef WITH_XPI + ${MKDIR} ${PREFIX}/lib/firefox/extensions/{79ea0ec1-3fc3-4ade-8220-262d4c4825ab}/chrome + ${INSTALL_DATA} ${WRKDIR}/{79ea0ec1-3fc3-4ade-8220-262d4c4825ab}/chrome/feedbag.jar ${PREFIX}/lib/firefox/extensions/{79ea0ec1-3fc3-4ade-8220-262d4c4825ab}/chrome + ${INSTALL_DATA} ${WRKDIR}/{79ea0ec1-3fc3-4ade-8220-262d4c4825ab}/chrome.manifest ${PREFIX}/lib/firefox/extensions/{79ea0ec1-3fc3-4ade-8220-262d4c4825ab} + ${INSTALL_DATA} ${WRKDIR}/{79ea0ec1-3fc3-4ade-8220-262d4c4825ab}/install.rdf ${PREFIX}/lib/firefox/extensions/{79ea0ec1-3fc3-4ade-8220-262d4c4825ab} +.endif + +.include <bsd.port.post.mk> diff --git a/net/liferea/distinfo b/net/liferea/distinfo new file mode 100644 index 000000000..19c4e78ef --- /dev/null +++ b/net/liferea/distinfo @@ -0,0 +1,3 @@ +MD5 (liferea-1.2.12b.tar.gz) = 87bf926986f4fc6dcd7fd2310c60a7ac +SHA256 (liferea-1.2.12b.tar.gz) = b3750a0f96cd2ab62b1ac6ffa3b30d27d62d10b7d77ade3b00f180a9b3e0f032 +SIZE (liferea-1.2.12b.tar.gz) = 1424496 diff --git a/net/liferea/files/patch-5.X_build_fix b/net/liferea/files/patch-5.X_build_fix new file mode 100644 index 000000000..a5c26d0ae --- /dev/null +++ b/net/liferea/files/patch-5.X_build_fix @@ -0,0 +1,10 @@ +--- src/net/zlib_interface.c.orig Tue Jan 24 22:28:04 2006 ++++ src/net/zlib_interface.c Sat May 20 22:46:03 2006 +@@ -29,6 +29,7 @@ + #include <stdio.h> + #include <zlib.h> + #include <string.h> ++#include <sys/types.h> + + int JG_ZLIB_DEBUG = 1; + diff --git a/net/liferea/files/patch-dont_install_wrapper_script b/net/liferea/files/patch-dont_install_wrapper_script new file mode 100644 index 000000000..d050e8eff --- /dev/null +++ b/net/liferea/files/patch-dont_install_wrapper_script @@ -0,0 +1,22 @@ +--- src/Makefile.in.orig Mon May 29 17:07:31 2006 ++++ src/Makefile.in Mon May 29 17:08:38 2006 +@@ -204,7 +204,7 @@ + + + bin_PROGRAMS = liferea-bin +-bin_SCRIPTS = liferea liferea-add-feed ++bin_SCRIPTS = liferea-add-feed + + liferea_bin_SOURCES = \ + atom10.c atom10.h \ +@@ -374,8 +374,8 @@ + || test -f $$p1 \ + ; then \ + f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ +- echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \ +- $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \ ++ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/liferea"; \ ++ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/liferea || exit 1; \ + else :; fi; \ + done + diff --git a/net/liferea/pkg-descr b/net/liferea/pkg-descr new file mode 100644 index 000000000..3f0b1f4cf --- /dev/null +++ b/net/liferea/pkg-descr @@ -0,0 +1,7 @@ +Liferea is a simple FeedReader clone. It is a reader for RSS/RDF +feeds. The problem with FeedReader: for now its only available for +Windows. There are some projects for GNU/Linux or Unices, but no +satisfying solutions for GTK/GNOME. Therefore I started to write +this program. Liferea is an abbreviation for Linux Feed Reader. + +WWW: http://liferea.sourceforge.net/ diff --git a/net/liferea/pkg-plist b/net/liferea/pkg-plist new file mode 100644 index 000000000..8c0a24012 --- /dev/null +++ b/net/liferea/pkg-plist @@ -0,0 +1,145 @@ +bin/liferea +bin/liferea-add-feed +%%XPI%%lib/firefox/extensions/{79ea0ec1-3fc3-4ade-8220-262d4c4825ab}/chrome/feedbag.jar +%%XPI%%lib/firefox/extensions/{79ea0ec1-3fc3-4ade-8220-262d4c4825ab}/chrome.manifest +%%XPI%%lib/firefox/extensions/{79ea0ec1-3fc3-4ade-8220-262d4c4825ab}/install.rdf +lib/liferea/liblihtmlg.la +lib/liferea/liblihtmlg.so +%%MOZ%%lib/liferea/liblihtmlm.la +%%MOZ%%lib/liferea/liblihtmlm.so +%%XUL%%lib/liferea/liblihtmlx.la +%%XUL%%lib/liferea/liblihtmlx.so +%%NOTIFY%%lib/liferea/liblinotiflibnotify.la +%%NOTIFY%%lib/liferea/liblinotiflibnotify.so +%%NOTIFY%%lib/liferea/liblinotiflibnotify.so.0 +%%NOTIFY%%lib/liferea/liblinotifpopup.la +%%NOTIFY%%lib/liferea/liblinotifpopup.so +%%NOTIFY%%lib/liferea/liblinotifpopup.so.0 +share/applications/liferea.desktop +share/liferea/css/adblock.css +share/liferea/css/liferea.css +share/liferea/doc/html/about_de.html +share/liferea/doc/html/about_en.html +share/liferea/doc/html/concepts_de.html +share/liferea/doc/html/concepts_en.html +share/liferea/doc/html/enclosures_de.html +share/liferea/doc/html/enclosures_en.html +share/liferea/doc/html/faq_de.html +share/liferea/doc/html/faq_en.html +share/liferea/doc/html/faq_ja.html +share/liferea/doc/html/folders_de.html +share/liferea/doc/html/folders_en.html +share/liferea/doc/html/headlines_de.html +share/liferea/doc/html/headlines_en.html +share/liferea/doc/html/help_feed_default.png +share/liferea/doc/html/help_feed_error.png +share/liferea/doc/html/help_feed_prop_adv_1.2.0.png +share/liferea/doc/html/help_feed_prop_cache_1.2.0.png +share/liferea/doc/html/help_feed_prop_downl_1.2.0.png +share/liferea/doc/html/help_feed_prop_general_1.2.0.png +share/liferea/doc/html/help_feed_prop_source_1.2.0.png +share/liferea/doc/html/help_folder.png +share/liferea/doc/html/help_item_flag.png +share/liferea/doc/html/help_item_unread.png +share/liferea/doc/html/help_opml.png +share/liferea/doc/html/help_prefs_browser_1.2.0.png +share/liferea/doc/html/help_prefs_enclosures_1.2.0.png +share/liferea/doc/html/help_prefs_feeds_1.2.0.png +share/liferea/doc/html/help_prefs_folders_1.2.0.png +share/liferea/doc/html/help_prefs_gui_1.2.0.png +share/liferea/doc/html/help_prefs_headlines_1.2.0.png +share/liferea/doc/html/help_prefs_proxy_1.2.0.png +share/liferea/doc/html/help_search_1.2.0.png +share/liferea/doc/html/help_subscribe_1.2.0.png +share/liferea/doc/html/help_vfolder_1.2.0.png +share/liferea/doc/html/preferences_de.html +share/liferea/doc/html/preferences_en.html +share/liferea/doc/html/reference.css +share/liferea/doc/html/reference_de.html +share/liferea/doc/html/reference_en.html +share/liferea/doc/html/reference_ja.html +share/liferea/doc/html/reference_nl.html +share/liferea/doc/html/searching_de.html +share/liferea/doc/html/searching_en.html +share/liferea/doc/html/subscriptions_de.html +share/liferea/doc/html/subscriptions_en.html +share/liferea/doc/html/topics_de.html +share/liferea/doc/html/topics_en.html +share/liferea/doc/html/topics_ja.html +share/liferea/doc/html/updating_de.html +share/liferea/doc/html/updating_en.html +share/liferea/dtd/html.ent +share/liferea/media/xspf_license.txt +share/liferea/media/xspf_player_slim.swf +share/liferea/opml/feedlist.opml +share/liferea/opml/feedlist_de.opml +share/liferea/opml/feedlist_es.opml +share/liferea/opml/feedlist_fr.opml +share/liferea/opml/feedlist_nl.opml +share/liferea/opml/feedlist_pl.opml +share/liferea/opml/feedlist_sk.opml +share/liferea/opml/feedlist_sv.opml +share/liferea/pixmaps/arrow.png +share/liferea/pixmaps/attachment.png +share/liferea/pixmaps/available.png +share/liferea/pixmaps/available_offline.png +share/liferea/pixmaps/bookmark.png +share/liferea/pixmaps/comments.png +share/liferea/pixmaps/default.png +share/liferea/pixmaps/directory.png +share/liferea/pixmaps/edit.png +share/liferea/pixmaps/empty.png +share/liferea/pixmaps/empty_offline.png +share/liferea/pixmaps/fl_opml.png +share/liferea/pixmaps/flag.png +share/liferea/pixmaps/grayflag.png +share/liferea/pixmaps/liferea.png +share/liferea/pixmaps/newsbin.png +share/liferea/pixmaps/ocs.png +share/liferea/pixmaps/offline.png +share/liferea/pixmaps/online.png +share/liferea/pixmaps/read.xpm +share/liferea/pixmaps/tag.png +share/liferea/pixmaps/technorati.png +share/liferea/pixmaps/unread.png +share/liferea/pixmaps/vfolder.png +share/liferea/xslt/feed.xml +share/liferea/xslt/feed.xml.in +share/liferea/xslt/folder.xml +share/liferea/xslt/folder.xml.in +share/liferea/xslt/item.xml +share/liferea/xslt/item.xml.in +share/liferea/xslt/i18n-filter.xslt +share/liferea/xslt/newsbin.xml +share/liferea/xslt/newsbin.xml.in +share/liferea/xslt/source.xml +share/liferea/xslt/source.xml.in +share/liferea/xslt/vfolder.xml +share/liferea/xslt/vfolder.xml.in +share/icons/hicolor/48x48/apps/liferea.png +share/locale/ar/LC_MESSAGES/liferea.mo +share/locale/ca/LC_MESSAGES/liferea.mo +share/locale/de/LC_MESSAGES/liferea.mo +share/locale/es/LC_MESSAGES/liferea.mo +share/locale/fr/LC_MESSAGES/liferea.mo +share/locale/it/LC_MESSAGES/liferea.mo +share/locale/ja/LC_MESSAGES/liferea.mo +share/locale/pl/LC_MESSAGES/liferea.mo +share/locale/pt_BR/LC_MESSAGES/liferea.mo +share/locale/ru/LC_MESSAGES/liferea.mo +share/locale/sv/LC_MESSAGES/liferea.mo +share/locale/tr/LC_MESSAGES/liferea.mo +@dirrm share/liferea/xslt +@dirrm share/liferea/pixmaps +@dirrm share/liferea/opml +@dirrm share/liferea/media +@dirrm share/liferea/dtd +@dirrm share/liferea/doc/html +@dirrm share/liferea/doc +@dirrm share/liferea/css +@dirrm share/liferea +@dirrm lib/liferea +%%XPI%%@dirrm lib/firefox/extensions/{79ea0ec1-3fc3-4ade-8220-262d4c4825ab}/chrome +%%XPI%%@dirrm lib/firefox/extensions/{79ea0ec1-3fc3-4ade-8220-262d4c4825ab} +@dirrmtry share/locale/pl/LC_MESSAGES +@dirrmtry share/locale/pl |