pkgsrc/audio/xcdplayer/Makefile
dholland 4f796efffe Fix void main, caught by clang.
While here, fix other problems caught by gcc:
 - casting malloc instead of including <stdlib.h>
 - casting calloc instead of including <stdlib.h>
 - failing to include <time.h> with bad consequences for -current.

PKGREVISION -> 5.
2011-09-04 22:05:39 +00:00

27 lines
742 B
Makefile

# $NetBSD: Makefile,v 1.25 2011/09/04 22:05:39 dholland Exp $
DISTNAME= xcdplayer-2.2
PKGREVISION= 5
CATEGORIES= audio
MASTER_SITES= ftp://ftp.x.org/R5contrib/
EXTRACT_SUFX= .tar.Z
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= CD player for X
PKG_DESTDIR_SUPPORT= user-destdir
ONLY_FOR_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/libXp/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../x11/xbitmaps/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"