blob: 3afce0a53273ff0ab6674a383e97ee782ad79893 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Created by: ijliao
# $FreeBSD$
PORTNAME= mp32ogg
PORTVERSION= 0.11
PORTREVISION= 2
CATEGORIES= audio perl5
MASTER_SITES= ftp://ftp.faceprint.com/pub/software/scripts/ \
LOCAL/uqs
EXTRACT_SUFX= # empty
MAINTAINER= uqs@FreeBSD.org
COMMENT= Convert MP3 files to Ogg Vorbis files
RUN_DEPENDS= mpg123:audio/mpg123 \
oggenc:audio/vorbis-tools \
p5-MP3-Info>=0:audio/p5-MP3-Info \
p5-String-ShellQuote>=0:textproc/p5-String-ShellQuote
USES= shebangfix perl5
SHEBANG_FILES= mp32ogg
NO_WRKSUBDIR= yes
NO_BUILD= yes
EXTRACT_CMD= ${CP}
EXTRACT_BEFORE_ARGS= #
EXTRACT_AFTER_ARGS= ${WRKSRC}/${PORTNAME}
PLIST_FILES= bin/mp32ogg
post-patch:
@${REINPLACE_CMD} -i '' -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/mp32ogg
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/mp32ogg ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>
|