Add new port: p5-Subtitles.

This commit is contained in:
Sergey A. Osokin 2005-12-29 08:26:54 +00:00
parent 9e620a2a36
commit 7617a4be02
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=152341
5 changed files with 57 additions and 0 deletions

View file

@ -143,6 +143,7 @@
SUBDIR += p5-MP4-Info
SUBDIR += p5-GStreamer
SUBDIR += p5-RIFF-Info
SUBDIR += p5-Subtitles
SUBDIR += p5-Video-Info
SUBDIR += p5-Video-OpenQuicktime
SUBDIR += pitivi

View file

@ -0,0 +1,37 @@
# New ports collection makefile for: p5-Subtitles
# Date created: 2005-12-28
# Whom: osa
#
# $FreeBSD$
#
PORTNAME= Subtitles
PORTVERSION= 0.08
CATEGORIES= multimedia perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Prima/KARASIK
PKGNAMEPREFIX= p5-
MAINTAINER= osa@FreeBSD.org
COMMENT= A Perl5 backend for fix subtitles timing
USE_REINPLACE= yes
PERL_CONFIGURE= yes
MAN1= subs.1
MAN3= Subtitles.3
.if defined(WITH_SUBTITLES_SUBPLAY)
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Prima.pm:${PORTSDIR}/x11-toolkits/p5-Prima \
${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes
PLIST_SUB+= SUBPLAY=""
MAN1+= subplay.1
post-patch:
@${REINPLACE_CMD} -e "s|\('subs'\), 'subplay'|\1|" ${WRKSRC}/Makefile.PL
.else
PLIST_SUB+= SUBPLAY="@comment "
.endif
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
MD5 (Subtitles-0.08.tar.gz) = 8d444216d0a03765ddf0bd965c9e200a
SHA256 (Subtitles-0.08.tar.gz) = 66a1f0145d3e347bea0e7988255fb7119223238d687b3dec03437301192ccfdd
SIZE (Subtitles-0.08.tar.gz) = 15538

View file

@ -0,0 +1,11 @@
Movie files can be viewed with subtitles, which are currently
very popular as text files. Subtitles provides means for
simple loading, re-timing, and storing these subtitle files.
A command-line tool subs for the same purpose and using Subtitles
interface is included in the distribution.
The module supports srt, sub, smi subtitle formats.
Time values are floats, in seconds with millisecond precision.
WWW: http://search.cpan.org/~karasik/

View file

@ -0,0 +1,5 @@
bin/subs
%%SUBPLAY%%bin/subplay
%%SITE_PERL%%/Subtitles.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Subtitles/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Subtitles