02fe8f34a7
Never built there, brad had a potential fix that stayed in my tree for 8+ months..
32 lines
819 B
Makefile
32 lines
819 B
Makefile
# $OpenBSD: Makefile,v 1.2 2014/04/20 07:07:56 landry Exp $
|
|
|
|
BROKEN-hppa= video/mmxflags_asm.S:54: Error: unknown pseudo-op: `.note.gnu'
|
|
COMMENT= MPEG video player library with sound support
|
|
|
|
DISTNAME= smpeg2-2.0.0
|
|
CATEGORIES= devel graphics
|
|
MASTER_SITES= http://www.libsdl.org/projects/smpeg/release/
|
|
|
|
SHARED_LIBS= smpeg2 2.0
|
|
|
|
HOMEPAGE= http://icculus.org/smpeg/
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
WANTLIB= SDL2 c m pthread sndio stdc++ usbhid
|
|
|
|
LIB_DEPENDS= devel/sdl2
|
|
|
|
SEPARATE_BUILD= Yes
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
CONFIGURE_ENV+= LDFLAGS="-L${X11BASE}/lib"
|
|
|
|
post-install:
|
|
mv ${PREFIX}/bin/plaympeg ${PREFIX}/bin/plaympeg2
|
|
mv ${PREFIX}/man/man1/plaympeg.1 ${PREFIX}/man/man1/plaympeg2.1
|
|
perl -pi -e s#plaympeg#plaympeg2#g ${PREFIX}/man/man1/plaympeg2.1
|
|
|
|
.include <bsd.port.mk>
|