2005-06-17 06:49:45 +02:00
|
|
|
# $NetBSD: Makefile,v 1.12 2005/06/17 04:49:49 jlam 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
|
|
|
|
|
2005-05-22 22:07:36 +02:00
|
|
|
USE_TOOLS+= gmake
|
2004-05-09 22:19:44 +02:00
|
|
|
WRKSRC= ${WRKDIR}/subtitleripper
|
2005-06-17 05:50:19 +02:00
|
|
|
INSTALLATION_DIRS= bin
|
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
|
2005-06-17 06:49:45 +02:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/subtitleripper
|
2003-06-23 09:20:54 +02:00
|
|
|
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 \
|
2005-06-17 06:49:45 +02:00
|
|
|
${PREFIX}/share/doc/subtitleripper
|
2003-06-23 09:20:54 +02:00
|
|
|
|
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"
|