diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-02-09 23:10:58 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-02-09 23:10:58 +0000 |
commit | c56c756e6934cfcd1017fb6c0aef3821160279b7 (patch) | |
tree | 76f6161dc37fc1825d5932e7dbbbc888c6d09e92 /multimedia/subtools | |
parent | 2cba36830696fa194b3383188fc785af807492c2 (diff) | |
download | ports-c56c756e6934cfcd1017fb6c0aef3821160279b7.tar.gz ports-c56c756e6934cfcd1017fb6c0aef3821160279b7.zip |
Notes
Diffstat (limited to 'multimedia/subtools')
-rw-r--r-- | multimedia/subtools/Makefile | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/multimedia/subtools/Makefile b/multimedia/subtools/Makefile index ae6f6fdf736f..aa997e971219 100644 --- a/multimedia/subtools/Makefile +++ b/multimedia/subtools/Makefile @@ -10,6 +10,8 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}alpha MAINTAINER= ports@FreeBSD.org COMMENT= Command-line tools for movie subtitles in SubRipper format +OPTIONS_DEFINE= DOCS + USE_PYTHON= yes WRKSRC= ${WRKDIR}/${PORTNAME}/src EXECS= srtshift srtrate @@ -17,7 +19,6 @@ PYEXECS= udvd2srt.py udvdshift.py PORTDOCS= CHANGELOG.TXT LICENSE.TXT README.TXT TODO.TXT PLIST_FILES= ${EXECS:S/^/bin\//} ${PYEXECS:S/^/bin\//} -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's,
,,g;s,^.*#!.*python.*$$,#!${PYTHON_CMD},' ${WRKSRC}/* @@ -27,11 +28,9 @@ do-build: .endfor 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}/ -.endif + ${INSTALL_PROGRAM} ${EXECS:S/^/${WRKSRC}\//} ${STAGEDIR}${PREFIX}/bin/ + ${INSTALL_SCRIPT} ${PYEXECS:S/^/${WRKSRC}\//} ${STAGEDIR}${PREFIX}/bin/ + ${INSTALL} -d ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S/^/${WRKSRC}\//} ${STAGEDIR}${DOCSDIR}/ .include <bsd.port.mk> |