1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/audio/dcd/Makefile
Pietro Cerutti d3d1b3c31b - Remove dependency on audio/libmusicbrainz
PR:		170303
Submitted by:	Jason E. Hale <bsdkaffee@gmail.com>
2012-08-06 11:53:17 +00:00

37 lines
890 B
Makefile

# New ports collection Makefile for: dcd
# Date created: 20 June 2008
# Whom: gahr
#
# $FreeBSD$
#
PORTNAME= dcd
PORTVERSION= 0.99.2
PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= SF/${PORTNAME}player/${PORTNAME}player/${PORTVERSION}
MAINTAINER= gahr@FreeBSD.org
COMMENT= A simple, programmable, intelligent CD player
LIB_DEPENDS= cdaudio:${PORTSDIR}/audio/libcdaudio
USE_GMAKE= yes
MAN1= dcd.1
PLIST_FILES= bin/dcd
LATEST_LINK= audio_dcd
post-patch:
# Handle namespace collision with libcdaudio
${REINPLACE_CMD} -e 's|cd_stop|dcd_stop|g; s|cd_eject|dcd_eject|g; \
s|cd_pause|dcd_pause|g; s|cd_play_track|dcd_play_track|g' \
${WRKSRC}/dcd.c ${WRKSRC}/infinite.c
# Linux? Bugger off!
${REINPLACE_CMD} -e 's|linux/||' ${WRKSRC}/process.c
${REINPLACE_CMD} -e 's|<endian|<sys/endian|; s|__BYTE_ORDER|_BYTE_ORDER|' \
${WRKSRC}/endian.h
.include <bsd.port.mk>