mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
- Convert to USES=python, limit to 2.x
- Add LICENSE - USES=shebangfix instead of post-patch - Simplify DOCS install
This commit is contained in:
parent
df6c543cb8
commit
d02a5eeba6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=370021
@ -11,12 +11,16 @@ MASTER_SITE_SUBDIR= ${PORTVERSION:R}
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Command-line {wav,mp3,m4a} to ogg converter
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
RUN_DEPENDS= faad:${PORTSDIR}/audio/faad \
|
||||
mutagen-inspect:${PORTSDIR}/audio/py-mutagen \
|
||||
mplayer:${PORTSDIR}/multimedia/mplayer \
|
||||
oggenc:${PORTSDIR}/audio/vorbis-tools
|
||||
|
||||
USE_PYTHON= yes
|
||||
USES= python:2 shebangfix
|
||||
|
||||
SHEBANG_FILES= ${PORTNAME}
|
||||
NO_BUILD= yes
|
||||
|
||||
PORTDOCS= NEWS README
|
||||
@ -25,16 +29,10 @@ PLIST_FILES= bin/${PORTNAME} \
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
'/^#!/s|/.*python|${SETENV} python|g' ${WRKSRC}/${PORTNAME}
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for doc in ${PORTDOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user