aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authortmclaugh <tmclaugh@FreeBSD.org>2007-04-15 03:01:44 +0800
committertmclaugh <tmclaugh@FreeBSD.org>2007-04-15 03:01:44 +0800
commit98e8fa650c922e28812035b254227102962c05b8 (patch)
tree6d05f4d00bd36b847493687850f12f48d21d9a0a /multimedia
parent78a8444baa0996b56c6dc63658fd5ccb6e1a4654 (diff)
downloadfreebsd-ports-gnome-98e8fa650c922e28812035b254227102962c05b8.tar.gz
freebsd-ports-gnome-98e8fa650c922e28812035b254227102962c05b8.tar.zst
freebsd-ports-gnome-98e8fa650c922e28812035b254227102962c05b8.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
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/Makefile1
-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
6 files changed, 53 insertions, 0 deletions
diff --git a/multimedia/Makefile b/multimedia/Makefile
index 39bc8eed1b21..236fdd8235f3 100644
--- a/multimedia/Makefile
+++ b/multimedia/Makefile
@@ -46,6 +46,7 @@
SUBDIR += gdvrecv
SUBDIR += ggrab
SUBDIR += gmencoder
+ SUBDIR += gnome-subtitles
SUBDIR += gnustep-mplayer
SUBDIR += goggles
SUBDIR += gopchop
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