openbsd-ports/devel/smpeg/Makefile

46 lines
1.1 KiB
Makefile
Raw Normal View History

2006-01-06 02:57:01 -05:00
# $OpenBSD: Makefile,v 1.19 2006/01/06 07:57:01 steven 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
2005-07-03 17:35:23 -04:00
DISTNAME= smpeg-0.4.4
2006-01-06 02:57:01 -05:00
PKGNAME= ${DISTNAME}p1
SHARED_LIBS= smpeg 1.3
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
2005-07-03 17:35:23 -04:00
WANTLIB= X11 Xext c 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
2005-07-03 17:35:23 -04:00
LIB_DEPENDS= SDL::devel/sdl
2001-04-19 15:21:20 -04:00
USE_X11= Yes
2006-01-06 02:57:01 -05:00
USE_LIBTOOL= Yes
2001-04-19 15:21:20 -04:00
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} \
2005-07-03 17:35:23 -04:00
--disable-opengl-player \
--disable-gtk-player
2001-04-19 15:21:20 -04:00
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>