summaryrefslogtreecommitdiffstats
path: root/net/blam
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-08-07 01:23:57 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-08-07 01:23:57 +0800
commit71b8934e32a67a5b445b0bcb08ca55f70d696841 (patch)
treeb1cf6d34c2185d1fc1874ef24048cf55776c80f3 /net/blam
parent2084883ea11d55197ceac371510c1422e667d5a1 (diff)
downloadmarcuscom-ports-71b8934e32a67a5b445b0bcb08ca55f70d696841.tar
marcuscom-ports-71b8934e32a67a5b445b0bcb08ca55f70d696841.tar.gz
marcuscom-ports-71b8934e32a67a5b445b0bcb08ca55f70d696841.tar.bz2
marcuscom-ports-71b8934e32a67a5b445b0bcb08ca55f70d696841.tar.lz
marcuscom-ports-71b8934e32a67a5b445b0bcb08ca55f70d696841.tar.xz
marcuscom-ports-71b8934e32a67a5b445b0bcb08ca55f70d696841.tar.zst
marcuscom-ports-71b8934e32a67a5b445b0bcb08ca55f70d696841.zip
share/gnome/ -> share/.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9356 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'net/blam')
-rw-r--r--net/blam/Makefile45
-rw-r--r--net/blam/distinfo3
-rw-r--r--net/blam/files/patch-blam.exe.config8
-rw-r--r--net/blam/files/patch-blam.in9
-rw-r--r--net/blam/files/patch-src-Application.cs25
-rw-r--r--net/blam/pkg-descr13
-rw-r--r--net/blam/pkg-plist91
7 files changed, 194 insertions, 0 deletions
diff --git a/net/blam/Makefile b/net/blam/Makefile
new file mode 100644
index 000000000..de8b7d4cc
--- /dev/null
+++ b/net/blam/Makefile
@@ -0,0 +1,45 @@
+# New ports collection makefile for: blam
+# Date created: 20040812
+# Whom: Tom McLaughlin <tmclaugh@sdf.lonestar.org>
+#
+# $FreeBSD$
+# $Id: Makefile,v 1.1 2007-08-06 16:43:19 mezz Exp $
+#
+
+PORTNAME= blam
+PORTVERSION= 1.8.4
+PORTREVISION= 1
+CATEGORIES= net gnome
+MASTER_SITES= http://www.cmartin.tk/blam/
+
+MAINTAINER= bsd-sharp-list@forge.novell.com
+COMMENT= Mono based RSS feed reader
+
+BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/gecko-sharp-2.0.pc:${PORTSDIR}/www/gecko-sharp20
+RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/gecko-sharp-2.0.pc:${PORTSDIR}/www/gecko-sharp20
+
+USE_GECKO= firefox mozilla
+USE_GNOME= gnomeprefix gnomehack intlhack intltool libgnomeui gnomesharp20
+USE_BZIP2= yes
+USE_GETTEXT= yes
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-mozilla=${GECKO}
+CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+MAN1= blam.1
+
+GCONF_SCHEMAS= blam.schemas
+
+post-patch:
+ @${REINPLACE_CMD} 's|img src="|img src="file://${PREFIX}/share/blam/themes/blam/|g' \
+ ${WRKSRC}/themes/blam/theme.html
+ @${REINPLACE_CMD} 's|img src="|img src="file://${PREFIX}/share/blam/themes/pimped/|g' \
+ ${WRKSRC}/themes/pimped/theme.html
+
+
+.include "${.CURDIR}/../../lang/mono/bsd.mono.mk"
+.include <bsd.port.pre.mk>
+.include "${.CURDIR}/../../www/mozilla/bsd.gecko.mk"
+.include <bsd.port.post.mk>
diff --git a/net/blam/distinfo b/net/blam/distinfo
new file mode 100644
index 000000000..29bd42e95
--- /dev/null
+++ b/net/blam/distinfo
@@ -0,0 +1,3 @@
+MD5 (blam-1.8.4.tar.bz2) = 7ec48fece9994ed71dbb53ffa35b633e
+SHA256 (blam-1.8.4.tar.bz2) = c867ce3638d31705d484538f0cd18ff7f8209eea56466b430db63267adde1c13
+SIZE (blam-1.8.4.tar.bz2) = 517873
diff --git a/net/blam/files/patch-blam.exe.config b/net/blam/files/patch-blam.exe.config
new file mode 100644
index 000000000..a8ce8acc9
--- /dev/null
+++ b/net/blam/files/patch-blam.exe.config
@@ -0,0 +1,8 @@
+--- blam.exe.config.orig Sat Jun 18 20:38:30 2005
++++ blam.exe.config Sat Feb 4 21:12:35 2006
+@@ -1,4 +1,4 @@
+ <configuration>
+ <dllmap dll="gdk-x11-2.0" target="libgdk-x11-2.0.so.0"/>
+- <dllmap dll="libX11" target="libX11.so.6"/>
++ <dllmap dll="libX11" target="libX11.so"/>
+ </configuration>
diff --git a/net/blam/files/patch-blam.in b/net/blam/files/patch-blam.in
new file mode 100644
index 000000000..1ea7ec1c8
--- /dev/null
+++ b/net/blam/files/patch-blam.in
@@ -0,0 +1,9 @@
+--- blam.in.orig Sun Apr 15 16:58:55 2007
++++ blam.in Sun Apr 15 16:59:02 2007
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!/bin/sh
+
+ LD_LIBRARY_PATH="@prefix@/lib/blam:@MOZILLA_HOME@${LD_LIBRARY_PATH+:$LD_LIBRARY_PATH}" MOZILLA_FIVE_HOME=@MOZILLA_HOME@ \
+-MOZILLA_HOME=@MOZILLA_HOME@ exec -a 'blam' mono @prefix@/lib/blam/blam.exe $@
++MOZILLA_HOME=@MOZILLA_HOME@ exec mono @prefix@/lib/blam/blam.exe $@
diff --git a/net/blam/files/patch-src-Application.cs b/net/blam/files/patch-src-Application.cs
new file mode 100644
index 000000000..bfde35042
--- /dev/null
+++ b/net/blam/files/patch-src-Application.cs
@@ -0,0 +1,25 @@
+--- src/Application.cs.orig Sun Apr 15 16:59:40 2007
++++ src/Application.cs Sun Apr 15 17:00:45 2007
+@@ -23,8 +23,7 @@
+ public class Application : Program {
+
+ [DllImport("libc")]
+- private static extern int prctl(int option, byte [] arg2, ulong arg3,
+- ulong arg4, ulong arg5);
++ private static extern void setproctitle(byte [] fmt, byte [] str_arg);
+
+ public static Application TheApp;
+
+@@ -723,11 +722,7 @@
+
+ public static void SetProcessName(string name)
+ {
+- if(prctl(15 /* PR_SET_NAME */, Encoding.ASCII.GetBytes(name + "\0"),
+- 0, 0, 0) != 0) {
+- throw new ApplicationException("Error setting process name: " +
+- Mono.Unix.Native.Stdlib.GetLastError());
+- }
++ setproctitle(Encoding.ASCII.GetBytes("%s\0"), Encoding.ASCII.GetBytes(name + "\0"));
+ }
+
+ public static void Main(string[] args)
diff --git a/net/blam/pkg-descr b/net/blam/pkg-descr
new file mode 100644
index 000000000..2641a920c
--- /dev/null
+++ b/net/blam/pkg-descr
@@ -0,0 +1,13 @@
+Blam is a tool that helps you keep track of the growing number of news
+feeds distributed as RSS. Blam lets you subscribe to any number of feeds
+and provides an easy to use and clean interface to stay up to date. It
+is written in C# and uses Mono, GTK#, and RSS.NET.
+
+Among the features are:
+
+* Support for RSS and RDF feeds
+* Very easy to use interface
+* Print the news entries you like
+* Automatically update the feeds at regular intervals
+
+WWW: http://www.cmartin.tk/blam.html
diff --git a/net/blam/pkg-plist b/net/blam/pkg-plist
new file mode 100644
index 000000000..e5570ae58
--- /dev/null
+++ b/net/blam/pkg-plist
@@ -0,0 +1,91 @@
+bin/blam
+lib/blam/Atom.NET.dll
+lib/blam/RSS.NET.dll
+lib/blam/blam.exe
+lib/blam/blam.exe.config
+lib/blam/libblam.a
+lib/blam/libblam.la
+lib/blam/libblam.so
+lib/blam/libblam.so.0
+share/applications/blam.desktop
+share/blam/themes/planet/theme.html
+share/blam/themes/planet/planet.css
+share/blam/themes/planet/bubble-top.png
+share/blam/themes/planet/bubble-top-right.png
+share/blam/themes/planet/bubble-top-left.png
+share/blam/themes/planet/bubble-right.png
+share/blam/themes/planet/bubble-nipple.png
+share/blam/themes/planet/bubble-left.png
+share/blam/themes/planet/bubble-bottom.png
+share/blam/themes/planet/bubble-bottom-right.png
+share/blam/themes/planet/bubble-bottom-left.png
+share/blam/themes/pimped/theme.html
+share/blam/themes/pimped/pimped.css
+share/blam/themes/pimped/news.png
+share/blam/themes/pimped/blam.png
+share/blam/themes/blam/theme.html
+share/blam/themes/blam/blam-box-top-right.png
+share/blam/themes/blam/blam-box-top-left.png
+share/blam/themes/blam/blam-box-pad.png
+share/blam/themes/blam/blam-box-bottom-right.png
+share/blam/themes/blam/blam-box-bottom-left.png
+share/blam/themes/akregator/theme.html
+share/blam/collection.xml
+share/pixmaps/blam.png
+share/locale/bg/LC_MESSAGES/blam.mo
+share/locale/bs/LC_MESSAGES/blam.mo
+share/locale/ca/LC_MESSAGES/blam.mo
+share/locale/cs/LC_MESSAGES/blam.mo
+share/locale/da/LC_MESSAGES/blam.mo
+share/locale/de/LC_MESSAGES/blam.mo
+share/locale/el/LC_MESSAGES/blam.mo
+share/locale/en_CA/LC_MESSAGES/blam.mo
+share/locale/en_GB/LC_MESSAGES/blam.mo
+share/locale/es/LC_MESSAGES/blam.mo
+share/locale/eu/LC_MESSAGES/blam.mo
+share/locale/fi/LC_MESSAGES/blam.mo
+share/locale/fr/LC_MESSAGES/blam.mo
+share/locale/ga/LC_MESSAGES/blam.mo
+share/locale/gu/LC_MESSAGES/blam.mo
+share/locale/he/LC_MESSAGES/blam.mo
+share/locale/hr/LC_MESSAGES/blam.mo
+share/locale/hu/LC_MESSAGES/blam.mo
+share/locale/it/LC_MESSAGES/blam.mo
+share/locale/ja/LC_MESSAGES/blam.mo
+share/locale/lt/LC_MESSAGES/blam.mo
+share/locale/lv/LC_MESSAGES/blam.mo
+share/locale/nb/LC_MESSAGES/blam.mo
+share/locale/ne/LC_MESSAGES/blam.mo
+share/locale/nl/LC_MESSAGES/blam.mo
+share/locale/pa/LC_MESSAGES/blam.mo
+share/locale/pl/LC_MESSAGES/blam.mo
+share/locale/pt/LC_MESSAGES/blam.mo
+share/locale/pt_BR/LC_MESSAGES/blam.mo
+share/locale/rw/LC_MESSAGES/blam.mo
+share/locale/ru/LC_MESSAGES/blam.mo
+share/locale/sq/LC_MESSAGES/blam.mo
+share/locale/sr/LC_MESSAGES/blam.mo
+share/locale/sr@Latn/LC_MESSAGES/blam.mo
+share/locale/sv/LC_MESSAGES/blam.mo
+share/locale/sk/LC_MESSAGES/blam.mo
+share/locale/tr/LC_MESSAGES/blam.mo
+share/locale/uk/LC_MESSAGES/blam.mo
+share/locale/vi/LC_MESSAGES/blam.mo
+share/locale/zh_CN/LC_MESSAGES/blam.mo
+share/locale/zh_HK/LC_MESSAGES/blam.mo
+share/locale/zh_TW/LC_MESSAGES/blam.mo
+@dirrmtry share/locale/zh_HK/LC_MESSAGES
+@dirrmtry share/locale/zh_HK
+@dirrmtry share/locale/sk/LC_MESSAGES
+@dirrmtry share/locale/sk
+@dirrmtry share/locale/rw/LC_MESSAGES
+@dirrmtry share/locale/rw
+@dirrmtry share/locale/ne/LC_MESSAGES
+@dirrmtry share/locale/ne
+@dirrm share/blam/themes/planet
+@dirrm share/blam/themes/pimped
+@dirrm share/blam/themes/blam
+@dirrm share/blam/themes/akregator
+@dirrm share/blam/themes
+@dirrm share/blam
+@dirrm lib/blam