mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-31 10:46:16 +00:00
d64a4c2605
Approved by: portmgr (blanket)
35 lines
919 B
Makefile
35 lines
919 B
Makefile
PORTNAME= smpeg
|
|
PORTVERSION= 0.4.4
|
|
PORTREVISION= 18
|
|
CATEGORIES= multimedia
|
|
MASTER_SITES= GENTOO
|
|
|
|
MAINTAINER= acm@FreeBSD.org
|
|
COMMENT= Free MPEG1 video player library with sound support
|
|
WWW= https://www.lokigames.com/development/smpeg.php3
|
|
|
|
LICENSE= LGPL20
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USES= compiler gmake libtool:build sdl
|
|
USE_SDL= sdl
|
|
USE_LDCONFIG= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
|
|
CONFIGURE_ENV= GLBASE="${LOCALBASE}" \
|
|
CC="${CC}" CXX="${CXX} -std=gnu++98" \
|
|
SDL_CONFIG="${SDL_CONFIG}"
|
|
#If you want to try the opengl/gtk player (which doesn't seem to work)
|
|
#comment out the following line.
|
|
CONFIGURE_ARGS= --disable-opengl-player \
|
|
--disable-gtk-player \
|
|
--enable-mmx
|
|
CFLAGS+= ${CFLAGS_${CHOSEN_COMPILER_TYPE}}
|
|
CFLAGS_clang= -Wno-c++11-narrowing
|
|
LDFLAGS_i386= -Wl,-znotext
|
|
MAKE_ARGS= LIBTOOL=${LOCALBASE}/bin/libtool
|
|
INSTALL_TARGET= install-strip
|
|
|
|
.include <bsd.port.mk>
|