freebsd-ports/audio/mp3c/Makefile
Jimmy Olgeni 37e782dfbc Remove indefinite articles and trailing periods from COMMENT, plus
minor COMMENT typos and surrounding whitespace fixes. Categories A-C.

CR:		D196
Approved by:	portmgr (bapt)
2014-06-09 11:21:52 +00:00

41 lines
975 B
Makefile

# Created by: Joris Vandalon <joris@vandalon.nl>
# $FreeBSD$
PORTNAME= mp3c
PORTVERSION= 0.31
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= ftp://ftp.wspse.de/linux/wspse/:src
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:src \
cdrip.sh
EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= joris@vandalon.nl
COMMENT= CD to mp3c converter with a console frontend
RUN_DEPENDS= mp3info:${PORTSDIR}/audio/mp3info \
cdrecord:${PORTSDIR}/sysutils/cdrtools
HAS_CONFIGURE= yes
CONFIGURE_ARGS= "--prefix=${PREFIX}"
OPTIONS_DEFINE= NLS
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.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
post-install:
${INSTALL_SCRIPT} ${DISTDIR}/cdrip.sh ${STAGEDIR}${LOCALBASE}/bin
.include <bsd.port.mk>