aboutsummaryrefslogtreecommitdiff
path: root/multimedia/gnome-subtitles
diff options
context:
space:
mode:
authorTom McLaughlin <tmclaugh@FreeBSD.org>2007-04-14 19:01:44 +0000
committerTom McLaughlin <tmclaugh@FreeBSD.org>2007-04-14 19:01:44 +0000
commit8ca923591554752f652aba8fb0c313fd11535861 (patch)
tree3fc47bec71fcf79bd656138845cb9b6a3c6a1a83 /multimedia/gnome-subtitles
parent7fa27fc0e19e3dbe3be62bb45ca4e39c35fd6adf (diff)
downloadports-8ca923591554752f652aba8fb0c313fd11535861.tar.gz
ports-8ca923591554752f652aba8fb0c313fd11535861.zip
Add gnome-subtitles:
Gnome Subtitles is a subtitle editor for the GNOME desktop. It supports the most common text-based subtitle formats and allows for subtitle editing, conversion and synchronization. WWW: http://gnome-subtitles.sourceforge.net PR: 110982 Submitted by: Marcin Simonides
Notes
Notes: svn path=/head/; revision=189964
Diffstat (limited to 'multimedia/gnome-subtitles')
-rw-r--r--multimedia/gnome-subtitles/Makefile30
-rw-r--r--multimedia/gnome-subtitles/distinfo3
-rw-r--r--multimedia/gnome-subtitles/files/patch-src_GnomeSubtitles_Execution_gnome-subtitles.in8
-rw-r--r--multimedia/gnome-subtitles/pkg-descr5
-rw-r--r--multimedia/gnome-subtitles/pkg-plist6
5 files changed, 52 insertions, 0 deletions
diff --git a/multimedia/gnome-subtitles/Makefile b/multimedia/gnome-subtitles/Makefile
new file mode 100644
index 000000000000..4378b237cccd
--- /dev/null
+++ b/multimedia/gnome-subtitles/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: gnome-subtitles
+# Date created: 23 March 2007
+# Whom: Marcin Simonides <marcin@studio4plus.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gnome-subtitles
+PORTVERSION= 0.3
+CATEGORIES= multimedia
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= marcin@studio4plus.com
+COMMENT= Subtitle editor with video preview
+
+BUILD_DEPENDS= mono:${PORTSDIR}/lang/mono
+RUN_DEPENDS= mono:${PORTSDIR}/lang/mono
+
+USE_GNOME= gnomeprefix gtksharp20 gnomesharp20
+GNU_CONFIGURE= yes
+GCONF_SCHEMAS= gnome-subtitles.schemas
+
+.if !defined(WITHOUT_MPLAYER)
+ RUN_DEPENDS+= mplayer:${PORTSDIR}/multimedia/mplayer
+.endif
+
+.include <bsd.port.pre.mk>
+.include "${.CURDIR}/../../lang/mono/bsd.mono.mk"
+.include <bsd.port.post.mk>
diff --git a/multimedia/gnome-subtitles/distinfo b/multimedia/gnome-subtitles/distinfo
new file mode 100644
index 000000000000..2bf3f747fbae
--- /dev/null
+++ b/multimedia/gnome-subtitles/distinfo
@@ -0,0 +1,3 @@
+MD5 (gnome-subtitles-0.3.tar.gz) = 12dad36b683458ae1ecfae4a16481b1e
+SHA256 (gnome-subtitles-0.3.tar.gz) = 0c778320f5dca10e37e65b68d9243f358c348dc2a34ef21cb57405669ff7ba4c
+SIZE (gnome-subtitles-0.3.tar.gz) = 351554
diff --git a/multimedia/gnome-subtitles/files/patch-src_GnomeSubtitles_Execution_gnome-subtitles.in b/multimedia/gnome-subtitles/files/patch-src_GnomeSubtitles_Execution_gnome-subtitles.in
new file mode 100644
index 000000000000..b652261bd305
--- /dev/null
+++ b/multimedia/gnome-subtitles/files/patch-src_GnomeSubtitles_Execution_gnome-subtitles.in
@@ -0,0 +1,8 @@
+--- src/GnomeSubtitles/Execution/gnome-subtitles.in.orig Sat Mar 24 10:30:55 2007
++++ src/GnomeSubtitles/Execution/gnome-subtitles.in Sat Mar 24 10:31:09 2007
+@@ -1,3 +1,3 @@
+-#!/bin/bash
+-exec -a gnome-subtitles @MONO@ @prefix@/lib/gnome-subtitles/gnome-subtitles.exe "$@"
++#!/bin/sh
++exec @MONO@ @prefix@/lib/gnome-subtitles/gnome-subtitles.exe "$@"
+
diff --git a/multimedia/gnome-subtitles/pkg-descr b/multimedia/gnome-subtitles/pkg-descr
new file mode 100644
index 000000000000..62eb1537ba02
--- /dev/null
+++ b/multimedia/gnome-subtitles/pkg-descr
@@ -0,0 +1,5 @@
+Gnome Subtitles is a subtitle editor for the GNOME desktop. It supports
+the most common text-based subtitle formats and allows for subtitle
+editing, conversion and synchronization.
+
+WWW: http://gnome-subtitles.sourceforge.net
diff --git a/multimedia/gnome-subtitles/pkg-plist b/multimedia/gnome-subtitles/pkg-plist
new file mode 100644
index 000000000000..433765058c4f
--- /dev/null
+++ b/multimedia/gnome-subtitles/pkg-plist
@@ -0,0 +1,6 @@
+bin/gnome-subtitles
+lib/gnome-subtitles/gnome-subtitles.exe
+lib/gnome-subtitles/sublib.dll
+share/gnome/applications/gnome-subtitles.desktop
+share/gnome/pixmaps/gnome-subtitles.png
+@dirrm lib/gnome-subtitles