aboutsummaryrefslogtreecommitdiff
path: root/multimedia/subtitleripper
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2021-05-01 11:24:21 +0000
committerRene Ladan <rene@FreeBSD.org>2021-05-01 11:24:21 +0000
commit60955c0a095630cce5f46ee0a80c8372eb9ab416 (patch)
tree51c1d8446a96f58f55bf10391a0ffe42a34eefeb /multimedia/subtitleripper
parent1f182d137defe95f4b4b46a3003f203957021a9d (diff)
Diffstat (limited to 'multimedia/subtitleripper')
-rw-r--r--multimedia/subtitleripper/Makefile72
-rw-r--r--multimedia/subtitleripper/distinfo2
-rw-r--r--multimedia/subtitleripper/pkg-descr16
-rw-r--r--multimedia/subtitleripper/pkg-plist15
4 files changed, 0 insertions, 105 deletions
diff --git a/multimedia/subtitleripper/Makefile b/multimedia/subtitleripper/Makefile
deleted file mode 100644
index 6f44846f6a0e..000000000000
--- a/multimedia/subtitleripper/Makefile
+++ /dev/null
@@ -1,72 +0,0 @@
-# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
-
-PORTNAME= subtitleripper
-DISTVERSION= 0.3-4
-PORTREVISION= 10
-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
-
-DEPRECATED= Depends on expired multimedia/transcode
-EXPIRATION_DATE=2021-05-01
-
-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+= -D_WITH_GETLINE=1 -DHAVE_GETLINE=1 \
- -I${LOCALBASE}/include/netpbm
-
-WRKSRC= ${WRKDIR}/${PORTNAME}
-
-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
-
-OPTIONS_DEFINE= DOCS EXAMPLES
-
-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>
diff --git a/multimedia/subtitleripper/distinfo b/multimedia/subtitleripper/distinfo
deleted file mode 100644
index 1b2fdf5517c2..000000000000
--- a/multimedia/subtitleripper/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (subtitleripper-0.3-4.tgz) = 8af6c2ebe55361900871c731ea1098b1a03efa723cd29ee1d471435bd21f3ac4
-SIZE (subtitleripper-0.3-4.tgz) = 47299
diff --git a/multimedia/subtitleripper/pkg-descr b/multimedia/subtitleripper/pkg-descr
deleted file mode 100644
index db24afa80eb4..000000000000
--- a/multimedia/subtitleripper/pkg-descr
+++ /dev/null
@@ -1,16 +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.
-
-WWW: http://subtitleripper.sourceforge.net/
diff --git a/multimedia/subtitleripper/pkg-plist b/multimedia/subtitleripper/pkg-plist
deleted file mode 100644
index 9b250920436a..000000000000
--- a/multimedia/subtitleripper/pkg-plist
+++ /dev/null
@@ -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