pkgsrc/multimedia/ogle/Makefile
2009-06-02 23:38:47 +00:00

53 lines
1.6 KiB
Makefile

# $NetBSD: Makefile,v 1.23 2009/06/02 23:38:47 joerg Exp $
DISTNAME= ogle-0.9.2
PKGREVISION= 3
CATEGORIES= multimedia
MASTER_SITES= http://www.dtek.chalmers.se/groups/dvd/dist/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.dtek.chalmers.se/groups/dvd/
COMMENT= DVD player with menus
PKG_DESTDIR_SUPPORT= user-destdir
ONLY_FOR_PLATFORM= NetBSD-1.5.[23]*-i386 NetBSD-1.5[Y-Z]*-i386
ONLY_FOR_PLATFORM+= NetBSD-1.6*-i386 NetBSD-[2-9]*-i386
ONLY_FOR_PLATFORM+= NetBSD-1.6[D-Z]*-powerpc
ONLY_FOR_PLATFORM+= NetBSD-[2-9]*-powerpc
ONLY_FOR_PLATFORM+= NetBSD-1.6Z*-alpha NetBSD-[2-9]*-alpha
ONLY_FOR_PLATFORM+= NetBSD-1.6Z*-sparc64 NetBSD-[2-9]*-sparc64
ONLY_FOR_PLATFORM+= NetBSD-*-x86_64
ONLY_FOR_PLATFORM+= Linux-*-*
ONLY_FOR_PLATFORM+= SunOS-*-* DragonFly-*-*
USE_TOOLS+= gmake
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV+= CPPFLAGS=${CPPFLAGS:M*:Q}
#CONFIGURE_ARGS+= --enable-obsdaudio
#CONFIGURE_ARGS+= --disable-sunaudio
GCC_REQD+= 2.95.3
.include "../../mk/compiler.mk"
.if !empty(CC_VERSION:Mgcc-4*)
WRAPPER_TRANSFORM_CMDS+= opt:-mcpu=pentiumpro:-mschedule=pentiumpro
.endif
MESSAGE_SUBST+= PKGBASE=${PKGBASE}
.include "../../audio/liba52/buildlink3.mk"
.include "../../audio/libmad/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../multimedia/libdvdread/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXinerama/buildlink3.mk"
.include "../../x11/libXv/buildlink3.mk"
.include "../../x11/libXxf86vm/buildlink3.mk"
.include "../../x11/xextproto/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"