openbsd-ports/devel/smpeg/Makefile

44 lines
1.1 KiB
Makefile
Raw Normal View History

2004-11-23 19:11:03 -05:00
# $OpenBSD: Makefile,v 1.17 2004/11/24 00:11:04 espie Exp $
2001-04-19 15:21:20 -04:00
COMMENT= "mpeg video player library with sound support"
2001-04-19 15:21:20 -04:00
VERSION= 0.4.4
DISTNAME= smpeg-${VERSION}
2001-04-19 15:21:20 -04:00
CATEGORIES= devel graphics
HOMEPAGE= http://www.lokigames.com/development/smpeg.php3
MAINTAINER= Peter Valchev <pvalchev@openbsd.org>
2001-04-19 15:21:20 -04:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2004-11-23 19:11:03 -05:00
WANTLIB= X11 Xext Xi c glib gmodule iconv intl m pthread usbhid
2001-04-19 15:21:20 -04:00
2002-05-13 14:50:36 -04:00
MASTER_SITES= ftp://ftp.lokigames.com/pub/open-source/smpeg/ \
ftp://sunsite.auc.dk/pub/os/linux/loki/open-source/smpeg/ \
ftp://snuffleupagus.animearchive.org/loki/open-source/smpeg/
2001-04-19 15:21:20 -04:00
2001-10-24 08:13:44 -04:00
LIB_DEPENDS= gtk.1.2,gdk.1.2::x11/gtk+ \
SDL::devel/sdl
2001-04-19 15:21:20 -04:00
USE_X11= Yes
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
2001-07-26 03:13:08 -04:00
CONFIGURE_ENV+= LDFLAGS="-L${X11BASE}/lib"
2001-04-19 15:21:20 -04:00
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
--disable-opengl-player
2003-12-29 08:45:30 -05:00
.include <bsd.own.mk>
USE_GCC3?=No
.if ${USE_GCC3:L} == "yes"
MAKE_FLAGS+=libsmpeg_la_LIBADD="audio/libaudio.la video/libvideo.la -lsupc++"
.endif
2002-12-24 21:09:03 -05:00
post-install:
${INSTALL_MAN} ${FILESDIR}/smpeg.3 ${PREFIX}/man/man3
2001-04-19 15:21:20 -04:00
.include <bsd.port.mk>