diff options
Diffstat (limited to 'multimedia/subtools')
-rw-r--r-- | multimedia/subtools/Makefile | 18 | ||||
-rw-r--r-- | multimedia/subtools/distinfo | 6 |
2 files changed, 13 insertions, 11 deletions
diff --git a/multimedia/subtools/Makefile b/multimedia/subtools/Makefile index 0fdf2d1e4151..1d46303a1e57 100644 --- a/multimedia/subtools/Makefile +++ b/multimedia/subtools/Makefile @@ -1,28 +1,29 @@ # New ports collection makefile for: subtools -# Date created: 10 January 2005 +# Date created: 10 January 2006 # Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org> # # $FreeBSD$ # PORTNAME= subtools -PORTVERSION= 20051215 +PORTVERSION= 20060508 +DISTVERSIONSUFFIX= alpha CATEGORIES= multimedia MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED} MASTER_SITE_SUBDIR= ${PORTNAME} -DISTNAME= ${PORTNAME}-${PORTVERSION}alpha MAINTAINER= infofarmer@FreeBSD.org COMMENT= Command-line tools for movie subtitles in SubRipper format -PLIST_FILES= bin/laudio -PORTDOCS= readme.txt - +USE_PYTHON= yes WRKSRC= ${WRKDIR}/${PORTNAME}/src EXECS= srtshift srtrate - +PYEXECS= udvd2srt.py udvdshift.py PORTDOCS= CHANGELOG.TXT LICENSE.TXT README.TXT TODO.TXT -PLIST_FILES= ${EXECS:S/^/bin\//} +PLIST_FILES= ${EXECS:S/^/bin\//} ${PYEXECS:S/^/bin\//} + +post-patch: + @${REINPLACE_CMD} -e 's,
,,g;s,^.*#!.*python.*$$,#!${PYTHON_CMD},' ${WRKSRC}/* do-build: .for EXEC in ${EXECS} @@ -31,6 +32,7 @@ do-build: do-install: ${INSTALL_PROGRAM} ${EXECS:S/^/${WRKSRC}\//} ${PREFIX}/bin/ + ${INSTALL_SCRIPT} ${PYEXECS:S/^/${WRKSRC}\//} ${PREFIX}/bin/ .ifndef(NOPORTDOCS) ${INSTALL} -d ${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S/^/${WRKSRC}\//} ${DOCSDIR}/ diff --git a/multimedia/subtools/distinfo b/multimedia/subtools/distinfo index 20de5bf008aa..20b5dfc733da 100644 --- a/multimedia/subtools/distinfo +++ b/multimedia/subtools/distinfo @@ -1,3 +1,3 @@ -MD5 (subtools-20051215alpha.tar.gz) = 4e9b88fb0074ff118f14f5882203391c -SHA256 (subtools-20051215alpha.tar.gz) = 8d4dc8fc9ab4fb4e86c0758c199d7fefbcbcde8831dc873e95c7f5cff5b68ba7 -SIZE (subtools-20051215alpha.tar.gz) = 67063 +MD5 (subtools-20060508alpha.tar.gz) = 6bec6be0415dc223bbe16d97998cabfd +SHA256 (subtools-20060508alpha.tar.gz) = e07dab5951d787ab8d364f8c72d726ddfcfffb660ca3d90e36b23ad0a9a64da5 +SIZE (subtools-20060508alpha.tar.gz) = 94411 |