mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Support stage
Optionify Fix shebangs
This commit is contained in:
parent
10515a73d1
commit
fc4bad961e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=337591
@ -10,35 +10,26 @@ MASTER_SITES= http://bach.dynet.com/crip/src/
|
|||||||
MAINTAINER= philip@FreeBSD.org
|
MAINTAINER= philip@FreeBSD.org
|
||||||
COMMENT= Terminal-based ripper/encoder/tagger
|
COMMENT= Terminal-based ripper/encoder/tagger
|
||||||
|
|
||||||
|
OPTIONS_DEFINE= SOX DOCS
|
||||||
|
SOX_DESC= SoX audio support
|
||||||
|
|
||||||
RUN_DEPENDS= p5-CDDB_get>=0:${PORTSDIR}/audio/p5-CDDB_get \
|
RUN_DEPENDS= p5-CDDB_get>=0:${PORTSDIR}/audio/p5-CDDB_get \
|
||||||
cdparanoia:${PORTSDIR}/audio/cdparanoia \
|
cdparanoia:${PORTSDIR}/audio/cdparanoia \
|
||||||
oggenc:${PORTSDIR}/audio/vorbis-tools \
|
oggenc:${PORTSDIR}/audio/vorbis-tools \
|
||||||
vorbisgain:${PORTSDIR}/audio/vorbisgain
|
vorbisgain:${PORTSDIR}/audio/vorbisgain
|
||||||
|
|
||||||
.if defined(WITH_SOX)
|
SOX_RUN_DEPENDS+= sox:${PORTSDIR}/audio/sox
|
||||||
RUN_DEPENDS+= sox:${PORTSDIR}/audio/sox
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if !defined(NOPORTDOCS)
|
|
||||||
PORTDOCS= Changelog README criprc_example
|
PORTDOCS= Changelog README criprc_example
|
||||||
.endif
|
|
||||||
|
|
||||||
|
USES= shebangfix perl5
|
||||||
|
SHEBANG_FILES= crip editcomment editfilenames
|
||||||
NO_BUILD= yes
|
NO_BUILD= yes
|
||||||
USES= perl5
|
|
||||||
NO_STAGE= yes
|
|
||||||
|
|
||||||
pre-fetch:
|
|
||||||
.if !defined (WITH_SOX)
|
|
||||||
@${ECHO_MSG} "Define WITH_SOX to enable normalization with sox."
|
|
||||||
.endif
|
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL_SCRIPT} ${WRKSRC}/crip ${PREFIX}/bin
|
${INSTALL_SCRIPT} ${WRKSRC}/crip ${STAGEDIR}${PREFIX}/bin
|
||||||
${INSTALL_SCRIPT} ${WRKSRC}/editcomment ${PREFIX}/bin
|
${INSTALL_SCRIPT} ${WRKSRC}/editcomment ${STAGEDIR}${PREFIX}/bin
|
||||||
${INSTALL_SCRIPT} ${WRKSRC}/editfilenames ${PREFIX}/bin
|
${INSTALL_SCRIPT} ${WRKSRC}/editfilenames ${STAGEDIR}${PREFIX}/bin
|
||||||
.if !defined(NOPORTDOCS)
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
@${MKDIR} ${DOCSDIR}
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
||||||
@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
Loading…
Reference in New Issue
Block a user