2013-04-26 14:35:50 +02:00
|
|
|
# Created by: Joris Vandalon <joris@vandalon.nl>
|
2003-01-19 13:38:55 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2003-02-17 03:12:17 +01:00
|
|
|
PORTNAME= mp3c
|
2009-09-13 15:11:16 +02:00
|
|
|
PORTVERSION= 0.31
|
2015-06-17 18:11:47 +02:00
|
|
|
PORTREVISION= 2
|
2003-02-17 03:12:17 +01:00
|
|
|
CATEGORIES= audio
|
2015-06-17 18:11:47 +02:00
|
|
|
MASTER_SITES= ftp://ftp.wspse.de/linux/wspse/
|
2003-01-19 13:38:55 +01:00
|
|
|
|
2016-12-31 18:41:17 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2014-06-09 13:21:52 +02:00
|
|
|
COMMENT= CD to mp3c converter with a console frontend
|
2003-01-19 13:38:55 +01:00
|
|
|
|
2017-01-09 10:39:45 +01:00
|
|
|
LICENSE= GPLv2+
|
2015-06-17 18:11:47 +02:00
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
RUN_DEPENDS= mp3info:audio/mp3info \
|
|
|
|
cdrecord:sysutils/cdrtools
|
2003-01-19 13:38:55 +01:00
|
|
|
|
2016-02-07 14:06:59 +01:00
|
|
|
USES= ncurses
|
2017-01-09 10:39:45 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
|
|
|
DEFAULT_CDROM_DEVICE?= cd0
|
2003-01-19 13:38:55 +01:00
|
|
|
|
2014-02-21 14:35:10 +01:00
|
|
|
OPTIONS_DEFINE= NLS
|
2015-06-17 18:11:47 +02:00
|
|
|
OPTIONS_SUB= yes
|
|
|
|
|
|
|
|
NLS_USES= gettext
|
|
|
|
NLS_CONFIGURE_ENABLE= nls
|
2014-02-10 14:54:26 +01:00
|
|
|
|
2009-09-13 15:11:16 +02:00
|
|
|
post-patch:
|
2015-06-17 18:11:47 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|rcd0d|${DEFAULT_CDROM_DEVICE}|g' \
|
|
|
|
-e 's|/dev/cdrom|/dev/${DEFAULT_CDROM_DEVICE}|g' \
|
|
|
|
${WRKSRC}/src/conf.c
|
2009-09-13 15:11:16 +02:00
|
|
|
|
2003-01-19 13:38:55 +01:00
|
|
|
post-install:
|
2017-02-05 15:33:06 +01:00
|
|
|
${INSTALL_SCRIPT} ${FILESDIR}/cdrip.sh ${STAGEDIR}${PREFIX}/bin
|
2003-01-19 13:38:55 +01:00
|
|
|
|
2017-01-09 10:39:45 +01:00
|
|
|
.include <bsd.port.mk>
|