summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorkefren <kefren@pkgsrc.org>2009-01-05 20:02:44 +0000
committerkefren <kefren@pkgsrc.org>2009-01-05 20:02:44 +0000
commitf82c856ed48aa1000578381a8bd5e13f3ba0857e (patch)
tree02deb75c65dec960c800f245d51bad0b7b2d19aa /textproc
parentd27abc80fb56db66061ef74470cc579a6eabaf19 (diff)
downloadpkgsrc-f82c856ed48aa1000578381a8bd5e13f3ba0857e.tar.gz
Initial import of sub2srt 0.5.2, a small perl script that converts
.sub format (microdvd and subrip) to .srt (subviewer)
Diffstat (limited to 'textproc')
-rw-r--r--textproc/sub2srt/DESCR4
-rw-r--r--textproc/sub2srt/Makefile24
-rw-r--r--textproc/sub2srt/PLIST2
-rw-r--r--textproc/sub2srt/distinfo5
4 files changed, 35 insertions, 0 deletions
diff --git a/textproc/sub2srt/DESCR b/textproc/sub2srt/DESCR
new file mode 100644
index 00000000000..90b83c52b85
--- /dev/null
+++ b/textproc/sub2srt/DESCR
@@ -0,0 +1,4 @@
+sub2srt is a simple tool to convert 2 common subtitle formats (microdvd
+and subrip - both are known as ".sub") to subviewer ".srt" format.
+
+This is the format ogmmerge accepts for multiplexing into ogm streams.
diff --git a/textproc/sub2srt/Makefile b/textproc/sub2srt/Makefile
new file mode 100644
index 00000000000..62736935505
--- /dev/null
+++ b/textproc/sub2srt/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/01/05 20:02:44 kefren Exp $
+
+DISTNAME= sub2srt-0.5.2
+CATEGORIES= textproc
+MASTER_SITES= http://www.robelix.com/sub2srt/download/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.robelix.com/sub2srt/
+COMMENT= Simple tool to convert 2 common subtitle formats to subviewer format
+
+USE_TOOLS+= perl:run
+USE_LANGUAGES= # empty
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+REPLACE_PERL+= sub2srt
+INSTALLATION_DIRS= bin
+
+do-build: # nothing
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/sub2srt ${DESTDIR}${PREFIX}/bin
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/sub2srt/PLIST b/textproc/sub2srt/PLIST
new file mode 100644
index 00000000000..046fa29986a
--- /dev/null
+++ b/textproc/sub2srt/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/01/05 20:02:44 kefren Exp $
+bin/sub2srt
diff --git a/textproc/sub2srt/distinfo b/textproc/sub2srt/distinfo
new file mode 100644
index 00000000000..fcc95ca01dd
--- /dev/null
+++ b/textproc/sub2srt/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/01/05 20:02:44 kefren Exp $
+
+SHA1 (sub2srt-0.5.2.tar.gz) = aeb4462cefbbd2be2845e548877c5f4d579ebb22
+RMD160 (sub2srt-0.5.2.tar.gz) = 61beea24fbb44520f5ee54e58cebad23cdc416da
+Size (sub2srt-0.5.2.tar.gz) = 9994 bytes