multimedia/subtitleripper: Remove expired port:
2023-03-31 multimedia/subtitleripper: Depends on broken transcode port
This commit is contained in:
parent
04fc062de5
commit
441dfd20d5
6 changed files with 1 additions and 106 deletions
1
MOVED
1
MOVED
|
@ -17872,3 +17872,4 @@ x11-wm/i3-gaps||2023-03-31|Has expired: Upstream merged with i3, please switch t
|
|||
www/horde-wicked||2023-03-31|Has expired: Requires php74
|
||||
www/horde-passwd||2023-03-31|Has expired: Requires php74
|
||||
www/horde-ansel||2023-03-31|Has expired: Requires php74
|
||||
multimedia/subtitleripper||2023-03-31|Has expired: Depends on broken transcode port
|
||||
|
|
|
@ -363,7 +363,6 @@
|
|||
SUBDIR += subsync
|
||||
SUBDIR += subtitlecomposer
|
||||
SUBDIR += subtitleoffsetmodifier
|
||||
SUBDIR += subtitleripper
|
||||
SUBDIR += subtools
|
||||
SUBDIR += svt-av1
|
||||
SUBDIR += svt-hevc
|
||||
|
|
|
@ -1,73 +0,0 @@
|
|||
PORTNAME= subtitleripper
|
||||
DISTVERSION= 0.3-4
|
||||
PORTREVISION= 11
|
||||
CATEGORIES= multimedia
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-0.3-4
|
||||
|
||||
MAINTAINER= multimedia@FreeBSD.org
|
||||
COMMENT= Convert DVD subtitles into text format (subrip srt) or VobSub format
|
||||
WWW= http://subtitleripper.sourceforge.net/
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
DEPRECATED= Depends on broken transcode port
|
||||
EXPIRATION_DATE= 2023-03-31
|
||||
|
||||
LIB_DEPENDS= libnetpbm.so:graphics/netpbm \
|
||||
libpng.so:graphics/png
|
||||
RUN_DEPENDS= gocr:graphics/gocr \
|
||||
xv:graphics/xv \
|
||||
transcode:multimedia/transcode
|
||||
|
||||
USES= gmake tar:tgz
|
||||
CFLAGS+= -DHAVE_GETLINE=1 \
|
||||
-I${LOCALBASE}/include/netpbm
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
|
||||
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||
|
||||
DOC_FILES= \
|
||||
ChangeLog \
|
||||
README \
|
||||
README.gocr \
|
||||
README.srttool \
|
||||
README.subtitle2pgm \
|
||||
README.vobsub
|
||||
EXAMPLES_FILES= \
|
||||
gocrfilter_en.sed \
|
||||
gocrfilter_fr.sed \
|
||||
gocrfilter_nl.sed \
|
||||
gocrfilter_none.sed
|
||||
PROGRAM_FILES= \
|
||||
srttool \
|
||||
subtitle2pgm \
|
||||
subtitle2vobsub \
|
||||
vobsub2pgm
|
||||
SCRIPT_FILES= \
|
||||
pgm2txt
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -E \
|
||||
-e 's|^(CC[[:space:]]*=).*$$|\1${CC}|' \
|
||||
-e 's|^(COPT[[:space:]]*=).*$$|\1${CFLAGS}|' \
|
||||
-e 's|^(INCLUDES[[:space:]]*:=).*$$|\1 -I${LOCALBASE}/include|' \
|
||||
-e 's|^(LIBS[[:space:]]*:=).*$$|\1 -lm -L${LOCALBASE}/lib|' \
|
||||
-e 's|-lppm|-lnetpbm|' \
|
||||
${BUILD_WRKSRC}/${MAKEFILE}
|
||||
@${REINPLACE_CMD} -E \
|
||||
-e 's|^(DB_PATH[[:space:]]*=).*$$|\1\$${HOME}/.db/|' \
|
||||
-e 's|^(IMAGE_VIWER[[:space:]]*=).*$$|\1${LOCALBASE}/bin/xv|' \
|
||||
-e 's|^(PATH_TO_LANGUAGE_FILTER[[:space:]]*=).*$$|\1${EXAMPLESDIR}/|' \
|
||||
-e 's|(gocr[[:space:]]+)|${LOCALBASE}/bin/\1|' \
|
||||
${WRKSRC}/pgm2txt
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
cd ${WRKSRC}; ${INSTALL_DATA} ${DOC_FILES} ${STAGEDIR}${DOCSDIR}
|
||||
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
cd ${WRKSRC}; ${INSTALL_SCRIPT} ${EXAMPLES_FILES} ${STAGEDIR}${EXAMPLESDIR}
|
||||
cd ${WRKSRC}; ${INSTALL_PROGRAM} ${PROGRAM_FILES} ${STAGEDIR}${PREFIX}/bin
|
||||
cd ${WRKSRC}; ${INSTALL_SCRIPT} ${SCRIPT_FILES} ${STAGEDIR}${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.mk>
|
|
@ -1,3 +0,0 @@
|
|||
TIMESTAMP = 1619892106
|
||||
SHA256 (subtitleripper-0.3-4.tgz) = 8af6c2ebe55361900871c731ea1098b1a03efa723cd29ee1d471435bd21f3ac4
|
||||
SIZE (subtitleripper-0.3-4.tgz) = 47299
|
|
@ -1,14 +0,0 @@
|
|||
[ excerpt from developer's www site ]
|
||||
|
||||
If you want to convert DVD subtitles into text format (e.g. subrip
|
||||
format) or VobSub format this program could be useful for you.
|
||||
However, it is only one tiny tool that you need in the process of
|
||||
producing srt files. This software depends heavily on transcode
|
||||
for its input and is therefore part of the transcode package (see
|
||||
transcode's contrib directory). So, if you want to convert some
|
||||
subtitles, grap a copy of the lates transcode distribution.
|
||||
|
||||
For srt file production the output of this program should be processed
|
||||
by some OCR software. Currently, I work with GOCR for this purpose.
|
||||
|
||||
For VobSub output no other tools are required.
|
|
@ -1,15 +0,0 @@
|
|||
bin/pgm2txt
|
||||
bin/srttool
|
||||
bin/subtitle2pgm
|
||||
bin/subtitle2vobsub
|
||||
bin/vobsub2pgm
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README.gocr
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README.srttool
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README.subtitle2pgm
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README.vobsub
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gocrfilter_en.sed
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gocrfilter_fr.sed
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gocrfilter_nl.sed
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gocrfilter_none.sed
|
Loading…
Reference in a new issue