openbsd-ports/devel/smpeg/Makefile
espie 04d06f7b44 bump C++ shared libs after typedef changes.
note that all SDL libs link with supc++ (potentially, and thus are affected)
-> don't take a chance, bump.
2006-01-13 23:40:22 +00:00

46 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.20 2006/01/13 23:40:24 espie Exp $
COMMENT= "mpeg video player library with sound support"
DISTNAME= smpeg-0.4.4
PKGNAME= ${DISTNAME}p2
SHARED_LIBS= smpeg 2.0
CATEGORIES= devel graphics
HOMEPAGE= http://www.lokigames.com/development/smpeg.php3
MAINTAINER= Peter Valchev <pvalchev@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= X11 Xext c m pthread usbhid
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/
LIB_DEPENDS= SDL::devel/sdl
USE_X11= Yes
USE_LIBTOOL= Yes
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
CONFIGURE_ENV+= LDFLAGS="-L${X11BASE}/lib"
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
--disable-opengl-player \
--disable-gtk-player
.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
post-install:
${INSTALL_MAN} ${FILESDIR}/smpeg.3 ${PREFIX}/man/man3
.include <bsd.port.mk>