diff options
author | Andrew Pantyukhin <sat@FreeBSD.org> | 2006-05-10 19:28:50 +0000 |
---|---|---|
committer | Andrew Pantyukhin <sat@FreeBSD.org> | 2006-05-10 19:28:50 +0000 |
commit | eaecec2c4b9b83eb74cec55f6920aa947309f38a (patch) | |
tree | 6012e836780674834efa164e466cd39b0ada75ac /multimedia/subtools/Makefile | |
parent | - Update my e-mail address (diff) |
- Update to 20060508
Approved by: osa (co-mentor)
Diffstat (limited to 'multimedia/subtools/Makefile')
-rw-r--r-- | multimedia/subtools/Makefile | 18 |
1 files changed, 10 insertions, 8 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}/ |