1f40f3a084
alternative from mk/jpeg.buildlink3.mk This allows selection of an alternative jpeg library (namely the x86 MMX, SSE, SSE2 accelerated libjpeg-turbo) via JPEG_DEFAULT=libjpeg-turbo, and follows the current standard model for alternatives (fam, motif, fuse etc). The mechanical edits were applied via the following script: #!/bin/sh for d in */*; do [ -d "$d" ] || continue for i in "$d/"Makefile* "$d/"*.mk; do case "$i" in *.orig|*"*"*) continue;; esac out="$d/x" sed -e 's;graphics/jpeg/buildlink3\.mk;mk/jpeg.buildlink3.mk;g' \ -e 's;BUILDLINK_PREFIX\.jpeg;JPEGBASE;g' \ < "$i" > "$out" if cmp -s "$i" "$out"; then rm -f "$out" else echo "Edited $i" mv -f "$i" "$i.orig" && mv "$out" "$i" fi done done
53 lines
1.6 KiB
Makefile
53 lines
1.6 KiB
Makefile
# $NetBSD: Makefile,v 1.27 2010/12/23 11:44:51 dsainty Exp $
|
|
|
|
DISTNAME= ogle-0.9.2
|
|
PKGREVISION= 5
|
|
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:-mtune=pentiumpro
|
|
.endif
|
|
|
|
MESSAGE_SUBST+= PKGBASE=${PKGBASE}
|
|
|
|
.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 "../../x11/xextproto/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|