1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/audio/mp3c/Makefile
2021-04-06 16:31:07 +02:00

38 lines
764 B
Makefile

# 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>