mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
Support stage
This commit is contained in:
parent
2cba368306
commit
c56c756e69
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343554
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user