1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/audio/dekagen/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

44 lines
1.2 KiB
Makefile

# Created by: Martin Kraft <martin.kraft@fal.de>
# $FreeBSD$
PORTNAME= dekagen
PORTVERSION= 1.0.2
PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= ftp://ftp.ibiblio.org/pub/linux/apps/sound/convert/
MAINTAINER= martin.kraft@fal.de
COMMENT= Frontend to rip, convert, and name MP3/Ogg
# The only reason for installing xmcd is, that dekagen uses cda
# for CDDB inquiries. You can safely 'make -DWITHOUT_XMCD', if you
# can do without inquiring the CDDB database. Dependencies of
# the xmcd package will install the encoders lame and oggenc (vorbis-tools),
# both of them are supported by dekagen.
.if !defined(WITHOUT_XMCD)
RUN_DEPENDS+= cda:${PORTSDIR}/audio/xmcd
.endif
# If you want to use another ripper, eg. tosha or dagrab,
# you can safely 'make -DWITHOUT_CDPARANOIA'.
.if !defined(WITHOUT_CDPARANOIA)
RUN_DEPENDS+= cdparanoia:${PORTSDIR}/audio/cdparanoia
.endif
NO_BUILD= Shell Script
PLIST_FILES= bin/dekagen man/man1/dekagen.1.gz
DEFAULT_CDROM_DEVICE?= /dev/acd0
post-patch:
@${REINPLACE_CMD} -e \
's|/dev/cdrom|${DEFAULT_CDROM_DEVICE}|' \
${WRKSRC}/dekagen
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/dekagen ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/dekagen.1.gz ${STAGEDIR}${PREFIX}/man/man1
.include <bsd.port.mk>