2013-08-30 23:01:05 +00:00
|
|
|
# Created by: gahr
|
2008-06-20 21:13:54 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= dcd
|
|
|
|
PORTVERSION= 0.99.2
|
2012-08-06 11:53:17 +00:00
|
|
|
PORTREVISION= 2
|
2008-06-20 21:13:54 +00:00
|
|
|
CATEGORIES= audio
|
2009-08-22 00:13:26 +00:00
|
|
|
MASTER_SITES= SF/${PORTNAME}player/${PORTNAME}player/${PORTVERSION}
|
2008-06-20 21:13:54 +00:00
|
|
|
|
|
|
|
MAINTAINER= gahr@FreeBSD.org
|
2014-01-30 08:37:11 +00:00
|
|
|
COMMENT= Simple, programmable, intelligent CD player
|
|
|
|
|
|
|
|
LICENSE= GPLv2
|
2008-06-20 21:13:54 +00:00
|
|
|
|
2013-12-11 14:35:36 +00:00
|
|
|
LIB_DEPENDS= libcdaudio.so:${PORTSDIR}/audio/libcdaudio
|
2008-06-20 21:13:54 +00:00
|
|
|
|
2013-08-30 23:01:05 +00:00
|
|
|
USES= gmake
|
2008-06-20 21:13:54 +00:00
|
|
|
|
2014-01-30 08:37:11 +00:00
|
|
|
PLIST_FILES= bin/dcd \
|
|
|
|
man/man1/dcd.1.gz
|
2009-06-11 15:21:28 +00:00
|
|
|
|
2008-06-20 21:13:54 +00:00
|
|
|
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>
|