2005-04-11 23:44:48 +02:00
|
|
|
# $NetBSD: Makefile,v 1.9 2005/04/11 21:47:42 tv Exp $
|
2003-06-23 09:20:54 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= subtitleripper-0.3-1
|
2004-10-03 02:12:51 +02:00
|
|
|
PKGREVISION= 2
|
2003-06-23 09:20:54 +02:00
|
|
|
CATEGORIES= textproc graphics
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=subtitleripper/}
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2003-07-18 00:50:55 +02:00
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
2003-06-23 09:20:54 +02:00
|
|
|
HOMEPAGE= http://sourceforge.net/projects/subtitleripper/
|
2003-07-21 19:27:24 +02:00
|
|
|
COMMENT= Sub title ripping program
|
2003-06-23 09:20:54 +02:00
|
|
|
|
|
|
|
DEPENDS+= gocr-[0-9]*:../../textproc/gocr
|
|
|
|
|
2004-01-24 16:06:57 +01:00
|
|
|
USE_GNU_TOOLS+= make
|
2004-05-09 22:19:44 +02:00
|
|
|
WRKSRC= ${WRKDIR}/subtitleripper
|
2003-06-23 09:20:54 +02:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/pgm2txt ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/subtitle2pgm ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/srttool ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/subtitle2vobsub ${PREFIX}/bin
|
|
|
|
${INSTALL_DATA_DIR} ${LOCALBASE}/share/doc/subtitleripper
|
|
|
|
cd ${WRKSRC}; ${INSTALL_DATA} README README.gocr README.srttool \
|
|
|
|
README.subtitle2pgm README.vobsub gocrfilter_en.sed \
|
|
|
|
gocrfilter_fr.sed gocrfilter_nl.sed gocrfilter_none.sed \
|
|
|
|
${LOCALBASE}/share/doc/subtitleripper
|
|
|
|
|
2004-05-09 22:19:44 +02:00
|
|
|
.include "../../graphics/netpbm/buildlink3.mk"
|
2003-06-23 09:20:54 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|