47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.13 2002/07/16 13:38:04 espie Exp $
|
|
|
|
ONLY_FOR_ARCHS= alpha i386 powerpc sparc64
|
|
|
|
CATEGORIES= x11
|
|
NEED_VERSION= 1.500
|
|
|
|
COMMENT= "DVD player"
|
|
DISTNAME= ogle-0.8.4
|
|
HOMEPAGE= http://www.dtek.chalmers.se/groups/dvd/
|
|
# Authors can be reached at dvd@dtek.chalmers.se
|
|
MASTER_SITES= ${HOMEPAGE}dist/
|
|
|
|
MAINTAINER= Marc Espie <espie@openbsd.org>
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
# GPL
|
|
PERMIT_DISTFILES_CDROM=Yes
|
|
PERMIT_DISTFILES_FTP=Yes
|
|
PERMIT_PACKAGE_CDROM=Yes
|
|
PERMIT_PACKAGE_FTP=Yes
|
|
|
|
BUILD_DEPENDS= ::audio/liba52
|
|
|
|
LIB_DEPENDS= dvdread::devel/libdvdread \
|
|
xml2.6.19:libxml>=2.4.19:textproc/libxml \
|
|
jpeg.62::graphics/jpeg
|
|
|
|
FLAVORS= altivec
|
|
FLAVOR?=
|
|
|
|
CONFIGURE_ARGS=--disable-oss --disable-sunaudio --enable-obsdaudio
|
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
|
BUILD_DEPENDS+= ::devel/binutils/stable
|
|
MAKE_ENV=GAS_DIR=${TRUEPREFIX}/${MACHINE_ARCH}-unknown-openbsd${OPSYS_VER}/bin
|
|
.endif
|
|
|
|
.if ${FLAVOR:L} == "altivec"
|
|
ONLY_FOR_ARCHS= powerpc
|
|
BUILD_DEPENDS+= ::devel/binutils/stable
|
|
PORTPATH=${TRUEPREFIX}/${MACHINE_ARCH}-unknown-openbsd${OPSYS_VER}/bin:/usr/bin:/bin:/usr/sbin:/sbin:${LOCALBASE}/bin:${LOCALBASE}/sbin
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|