2003-03-31 03:20:51 +02:00
|
|
|
# New ports collection makefile for: mp3c
|
|
|
|
# Date created: 11 Jul 2002
|
|
|
|
# Whom: 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
|
2010-05-31 04:01:56 +02:00
|
|
|
PORTREVISION= 1
|
2003-02-17 03:12:17 +01:00
|
|
|
CATEGORIES= audio
|
2005-10-29 15:54:29 +02:00
|
|
|
MASTER_SITES= ftp://ftp.wspse.de/linux/wspse/:src
|
2003-02-17 03:12:17 +01:00
|
|
|
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:src \
|
2005-10-29 15:54:29 +02:00
|
|
|
cdrip.sh
|
2004-06-06 02:08:24 +02:00
|
|
|
EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
|
2003-01-19 13:38:55 +01:00
|
|
|
|
2003-03-31 03:20:51 +02:00
|
|
|
MAINTAINER= joris@vandalon.nl
|
2003-02-21 12:08:38 +01:00
|
|
|
COMMENT= A CD to mp3c converter with a console frontend
|
2003-01-19 13:38:55 +01:00
|
|
|
|
2009-09-13 15:11:16 +02:00
|
|
|
RUN_DEPENDS= mp3info:${PORTSDIR}/audio/mp3info
|
2003-01-19 13:38:55 +01:00
|
|
|
|
2009-09-13 15:11:16 +02:00
|
|
|
USE_CDRTOOLS= yes
|
2003-02-17 03:12:17 +01:00
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= "--prefix=${PREFIX}"
|
2003-01-19 13:38:55 +01:00
|
|
|
|
2003-02-17 03:12:17 +01:00
|
|
|
MAN1= mp3c.1
|
|
|
|
MANCOMPRESSED= no
|
2003-01-19 13:38:55 +01:00
|
|
|
|
2009-09-13 15:11:16 +02:00
|
|
|
.if defined(WITHOUT_NLS)
|
|
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.else
|
2013-04-24 20:10:30 +02:00
|
|
|
USES= gettext
|
2009-09-13 15:11:16 +02:00
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|rcd0d|acd0|g' ${WRKSRC}/src/conf.c
|
|
|
|
@${REINPLACE_CMD} -e 's|/dev/cdrom|/dev/acd0|g' ${WRKSRC}/src/conf.c
|
|
|
|
|
2003-01-19 13:38:55 +01:00
|
|
|
post-install:
|
2003-02-17 03:12:17 +01:00
|
|
|
${INSTALL_SCRIPT} ${DISTDIR}/cdrip.sh ${LOCALBASE}/bin
|
2003-01-19 13:38:55 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|