pkgsrc/multimedia/ogle/Makefile
2016-03-01 20:12:01 +00:00

56 lines
1.7 KiB
Makefile

# $NetBSD: Makefile,v 1.33 2016/03/01 20:12:01 joerg Exp $
DISTNAME= ogle-0.9.2
PKGREVISION= 8
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
LICENSE= gnu-gpl-v2
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-*-*
CPPFLAGS.NetBSD+= -D_KERNTYPES
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:-mtune=pentiumpro
.endif
MESSAGE_SUBST+= PKGBASE=${PKGBASE}
BUILDLINK_API_DEPENDS.libdvdread+= libdvdread>=4.1.3
.include "../../audio/liba52/buildlink3.mk"
.include "../../audio/libmad/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/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 "../../mk/bsd.pkg.mk"