openbsd-ports/x11/ogle/Makefile

68 lines
1.5 KiB
Makefile
Raw Normal View History

2011-09-16 08:29:12 -04:00
# $OpenBSD: Makefile,v 1.51 2011/09/16 12:29:16 espie Exp $
2010-10-25 04:46:49 -04:00
ONLY_FOR_ARCHS = alpha i386 powerpc sparc64 amd64
2010-10-25 04:46:49 -04:00
CATEGORIES = x11
2001-10-14 11:35:04 -04:00
2010-10-25 04:46:49 -04:00
COMMENT = DVD player
DISTNAME = ogle-0.9.2
2011-09-16 08:29:12 -04:00
REVISION = 14
2010-10-25 04:46:49 -04:00
SHARED_LIBS = dvdcontrol 11.0 \
2005-12-26 11:45:43 -05:00
msgevents 8.0
2010-10-25 04:46:49 -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
2010-10-25 04:46:49 -04:00
MASTER_SITES = ${HOMEPAGE}dist/
2001-10-14 11:35:04 -04:00
2010-10-25 04:46:49 -04:00
MAINTAINER = Marc Espie <espie@openbsd.org>
2001-10-14 11:35:04 -04:00
2010-10-25 04:46:49 -04:00
CONFIGURE_STYLE = gnu
2001-10-14 11:35:04 -04:00
#FAKE=all
2001-10-14 11:35:04 -04:00
# GPL
2010-10-25 04:46:49 -04:00
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
2008-11-28 12:44:37 -05:00
2011-04-17 14:19:37 -04:00
WANTLIB += ICE SM X11 Xau Xdmcp Xext Xinerama Xv Xxf86vm a52 c
WANTLIB += dvdread jpeg m mad pthread-stubs sndio xcb xml2 z
2001-10-14 11:35:04 -04:00
2010-10-25 04:46:49 -04:00
MODULES = converters/libiconv
2010-11-22 03:36:47 -05:00
LIB_DEPENDS = audio/liba52 \
devel/libdvdread \
textproc/libxml>=2.4.19 \
graphics/jpeg \
audio/libmad
2001-10-14 11:35:04 -04:00
2010-10-19 04:13:56 -04:00
USE_GROFF = Yes
2003-03-31 09:59:29 -05:00
2010-10-25 04:46:49 -04:00
FLAVORS = altivec
FLAVOR ?=
2010-10-25 04:46:49 -04:00
USE_LIBTOOL = Yes
CONFIGURE_ARGS = --disable-oss --disable-sunaudio --enable-obsdaudio
.if ${FLAVOR:L} == "altivec"
2010-10-25 04:46:49 -04:00
ONLY_FOR_ARCHS = powerpc
CONFIGURE_ARGS += --enable-altivec
.else
2010-10-25 04:46:49 -04:00
CONFIGURE_ARGS += --disable-altivec
.endif
2010-10-25 04:46:49 -04:00
CONFIGURE_ARGS += --with-libjpeg=${DEPBASE} \
--with-dvdread=${DEPBASE} \
--with-liba52=${DEPBASE} \
--with-libmad=${DEPBASE} \
--with-xml-prefix=${DEPBASE}
2010-10-25 04:46:49 -04:00
CONFIGURE_ENV += xml_config_args=--prefix=${DEPBASE} \
LIBOGLEAO_LIBS="-lsndio"
post-install:
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>