blob: 836aa142e9c21b906da39b34ba2060cebb4d3266 (
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
36
37
|
# Created by: Joris Vandalon <joris@vandalon.nl>
PORTNAME= mp3c
PORTVERSION= 0.31
PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= ftp://ftp.wspse.de/linux/wspse/
MAINTAINER= ports@FreeBSD.org
COMMENT= CD to mp3c converter with a console frontend
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= mp3info:audio/mp3info \
cdrecord:sysutils/cdrtools
USES= ncurses
GNU_CONFIGURE= yes
DEFAULT_CDROM_DEVICE?= cd0
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
post-patch:
@${REINPLACE_CMD} -e 's|rcd0d|${DEFAULT_CDROM_DEVICE}|g' \
-e 's|/dev/cdrom|/dev/${DEFAULT_CDROM_DEVICE}|g' \
${WRKSRC}/src/conf.c
post-install:
${INSTALL_SCRIPT} ${FILESDIR}/cdrip.sh ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>
|