2005-05-14 05:32:50 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.31 2005/05/14 09:32:50 espie Exp $
|
2002-01-20 17:57:14 -05:00
|
|
|
|
2004-02-29 03:12:56 -05:00
|
|
|
ONLY_FOR_ARCHS= alpha i386 powerpc sparc64 amd64
|
2002-01-20 17:57:14 -05:00
|
|
|
|
2001-10-14 11:35:04 -04:00
|
|
|
CATEGORIES= x11
|
|
|
|
|
|
|
|
COMMENT= "DVD player"
|
2003-11-13 13:46:46 -05:00
|
|
|
DISTNAME= ogle-0.9.2
|
2005-05-14 05:32:50 -04:00
|
|
|
PKGNAME= ${DISTNAME}p1
|
2001-10-14 11:35:04 -04:00
|
|
|
HOMEPAGE= http://www.dtek.chalmers.se/groups/dvd/
|
2002-01-08 06:05:53 -05:00
|
|
|
# Authors can be reached at dvd@dtek.chalmers.se
|
2001-10-16 13:00:08 -04:00
|
|
|
MASTER_SITES= ${HOMEPAGE}dist/
|
2001-10-14 11:35:04 -04:00
|
|
|
|
|
|
|
MAINTAINER= Marc Espie <espie@openbsd.org>
|
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
|
2005-04-27 06:29:54 -04:00
|
|
|
#FAKE=all
|
2001-10-14 11:35:04 -04:00
|
|
|
# GPL
|
|
|
|
PERMIT_DISTFILES_CDROM=Yes
|
|
|
|
PERMIT_DISTFILES_FTP=Yes
|
|
|
|
PERMIT_PACKAGE_CDROM=Yes
|
|
|
|
PERMIT_PACKAGE_FTP=Yes
|
2004-12-17 10:18:31 -05:00
|
|
|
WANTLIB= ICE SM X11 Xext Xinerama Xv Xxf86vm c iconv m z
|
2001-10-14 11:35:04 -04:00
|
|
|
|
2003-08-16 18:29:59 -04:00
|
|
|
LIB_DEPENDS= a52::audio/liba52 \
|
|
|
|
dvdread.3.0::devel/libdvdread \
|
2003-11-17 14:56:38 -05:00
|
|
|
xml2.6.19:libxml->=2.4.19:textproc/libxml \
|
2002-08-18 05:38:26 -04:00
|
|
|
jpeg.62::graphics/jpeg \
|
2003-12-10 16:28:58 -05:00
|
|
|
mad.2::audio/libmad
|
2001-10-14 11:35:04 -04:00
|
|
|
|
2003-03-31 09:59:29 -05:00
|
|
|
USE_X11= Yes
|
|
|
|
|
2002-04-01 22:50:35 -05:00
|
|
|
FLAVORS= altivec
|
|
|
|
FLAVOR?=
|
|
|
|
|
2002-06-15 19:09:34 -04:00
|
|
|
CONFIGURE_ARGS=--disable-oss --disable-sunaudio --enable-obsdaudio
|
2003-02-24 17:56:35 -05:00
|
|
|
#CONFIGURE_ARGS=--disable-oss --disable-sunaudio --disable-obsdaudio
|
2002-05-18 20:27:06 -04:00
|
|
|
|
2002-04-01 22:50:35 -05:00
|
|
|
.if ${FLAVOR:L} == "altivec"
|
|
|
|
ONLY_FOR_ARCHS= powerpc
|
2002-08-27 21:34:37 -04:00
|
|
|
CONFIGURE_ARGS+=--enable-altivec
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-altivec
|
2002-04-01 22:50:35 -05:00
|
|
|
.endif
|
2005-04-27 06:29:54 -04:00
|
|
|
CONFIGURE_ARGS+=--with-libjpeg=${DEPBASE} \
|
|
|
|
--with-dvdread=${DEPBASE} \
|
|
|
|
--with-liba52=${DEPBASE} \
|
|
|
|
--with-libmad=${DEPBASE} \
|
|
|
|
--with-xml-prefix=${DEPBASE}
|
|
|
|
|
|
|
|
CONFIGURE_ENV+=xml_config_args=--prefix=${DEPBASE}
|
2002-04-01 22:50:35 -05:00
|
|
|
|
2003-02-24 18:36:18 -05:00
|
|
|
post-install:
|
|
|
|
cd ${PREFIX}/man/man5 && mv oglerc.5 oglerc.tbl
|
2004-07-14 09:15:02 -04:00
|
|
|
cd ${PREFIX}/lib && ln -sf ${TRUEPREFIX}/lib/ogle/libdvdcontrol.so.11.0
|
|
|
|
cd ${PREFIX}/lib && ln -sf ${TRUEPREFIX}/lib/ogle/libmsgevents.so.8.0
|
2003-02-24 18:36:18 -05:00
|
|
|
|
2001-10-14 11:35:04 -04:00
|
|
|
.include <bsd.port.mk>
|