1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/audio/mp3c/Makefile
2017-02-05 14:33:06 +00:00

39 lines
776 B
Makefile

# Created by: Joris Vandalon <joris@vandalon.nl>
# $FreeBSD$
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>