1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/audio/dcd/Makefile
Mathieu Arnold 7f4572eae4 Remove ${PORTSDIR}/ from dependencies, Mk and categories a, b, and c.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 13:29:15 +00:00

33 lines
808 B
Makefile

# Created by: gahr
# $FreeBSD$
PORTNAME= dcd
PORTVERSION= 0.99.2
PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= SF/${PORTNAME}player/${PORTNAME}player/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple, programmable, intelligent CD player
LICENSE= GPLv2
LIB_DEPENDS= libcdaudio.so:audio/libcdaudio
USES= gmake
PLIST_FILES= bin/dcd \
man/man1/dcd.1.gz
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>