openbsd-ports/x11/ogle/Makefile

67 lines
1.6 KiB
Makefile
Raw Normal View History

2005-12-26 11:45:43 -05:00
# $OpenBSD: Makefile,v 1.32 2005/12/26 16:45:43 naddy Exp $
ONLY_FOR_ARCHS= alpha i386 powerpc sparc64 amd64
2001-10-14 11:35:04 -04:00
CATEGORIES= x11
COMMENT= "DVD player"
DISTNAME= ogle-0.9.2
2005-12-26 11:45:43 -05:00
PKGNAME= ${DISTNAME}p2
SHARED_LIBS= dvdcontrol 11.0 \
msgevents 8.0
MODGNU_SHARED_LIBS= dvdcontrol '' \
msgevents ''
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
#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 \
xml2.6.19:libxml->=2.4.19:textproc/libxml \
jpeg.62::graphics/jpeg \
mad.2::audio/libmad
2001-10-14 11:35:04 -04:00
2003-03-31 09:59:29 -05:00
USE_X11= Yes
FLAVORS= altivec
FLAVOR?=
2005-12-26 11:45:43 -05:00
USE_LIBTOOL= Yes
CONFIGURE_ARGS=--disable-oss --disable-sunaudio --enable-obsdaudio
#CONFIGURE_ARGS=--disable-oss --disable-sunaudio --disable-obsdaudio
.if ${FLAVOR:L} == "altivec"
ONLY_FOR_ARCHS= powerpc
CONFIGURE_ARGS+=--enable-altivec
.else
CONFIGURE_ARGS+=--disable-altivec
.endif
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}
post-install:
cd ${PREFIX}/man/man5 && mv oglerc.5 oglerc.tbl
2005-12-26 11:45:43 -05:00
cd ${PREFIX}/lib && \
ln -sf ${TRUEPREFIX}/lib/ogle/libdvdcontrol.so.${LIBdvdcontrol_VERSION}
cd ${PREFIX}/lib && \
ln -sf ${TRUEPREFIX}/lib/ogle/libmsgevents.so.${LIBmsgevents_VERSION}
2001-10-14 11:35:04 -04:00
.include <bsd.port.mk>