diff options
author | bapt <bapt@FreeBSD.org> | 2014-02-10 07:10:58 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-02-10 07:10:58 +0800 |
commit | 9a8a16479f4a25c97ff7513b51e2de5312e662b4 (patch) | |
tree | 76f6161dc37fc1825d5932e7dbbbc888c6d09e92 /multimedia | |
parent | 971fe29119a60f4253ec8e6c40afd6f6bf5e82f7 (diff) | |
download | freebsd-ports-gnome-9a8a16479f4a25c97ff7513b51e2de5312e662b4.tar.gz freebsd-ports-gnome-9a8a16479f4a25c97ff7513b51e2de5312e662b4.tar.zst freebsd-ports-gnome-9a8a16479f4a25c97ff7513b51e2de5312e662b4.zip |
Support stage
Diffstat (limited to 'multimedia')
-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> |