e7ae67ece5
for Solaris and IRIX; we ship cdrom code for BSD, so theoretically we could also ship cdrom code for other platforms if anyone wanted to get it working. Hence, report it broken on those platforms instead of skipping it.
28 lines
814 B
Makefile
28 lines
814 B
Makefile
# $NetBSD: Makefile,v 1.28 2015/01/01 09:09:15 dholland Exp $
|
|
|
|
DISTNAME= xcdplayer-2.2
|
|
PKGREVISION= 6
|
|
CATEGORIES= audio
|
|
MASTER_SITES= ftp://ftp.x.org/R5contrib/
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
COMMENT= CD player for X
|
|
|
|
# cdrom interface code only exists for Solaris, SGI, and BSD.
|
|
# (and note that the BSD code doesn't come with but is in files/)
|
|
BROKEN_EXCEPT_ON_PLATFORM= SunOS-*-* IRIX-*-* \
|
|
DragonFly-*-* FreeBSD-*-* \
|
|
NetBSD-*-* OpenBSD-*-*
|
|
|
|
USE_IMAKE= yes
|
|
|
|
pre-configure:
|
|
${CP} ${FILESDIR}/cdrom_freebsd.c ${WRKSRC}
|
|
${CP} ${FILESDIR}/cdrom_freebsd.h ${WRKSRC}
|
|
${CP} ${WRKSRC}/xcdplayer.1 ${WRKSRC}/xcdplayer.man
|
|
|
|
.include "../../x11/libXaw/buildlink3.mk"
|
|
.include "../../x11/libXt/buildlink3.mk"
|
|
.include "../../x11/xbitmaps/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|