2013-11-12 20:10:06 +00:00
|
|
|
# Created by: Vladimir Kondratiev <wulf@mail.mipt.ru>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= smpeg2
|
|
|
|
PORTVERSION= 2.0.0
|
2014-07-03 00:49:39 +00:00
|
|
|
PORTREVISION= 2
|
2013-11-12 20:10:06 +00:00
|
|
|
CATEGORIES= multimedia
|
|
|
|
MASTER_SITES= http://www.libsdl.org/projects/smpeg/release/ \
|
|
|
|
http://rsync.macports.org/smpeg2/
|
|
|
|
|
2013-11-23 14:14:16 +00:00
|
|
|
MAINTAINER= wulf@cicgroup.ru
|
2013-11-12 20:10:06 +00:00
|
|
|
COMMENT= Free MPEG1 video player library with sound support
|
|
|
|
|
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2014-07-03 00:49:39 +00:00
|
|
|
USES= libtool
|
2013-11-12 20:10:06 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_SDL= sdl2
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= PLAYMPEG
|
|
|
|
OPTIONS_DEFAULT=
|
|
|
|
PLAYMPEG_DESC= Build plaympeg binary (conficts with smpeg)
|
|
|
|
OPTIONS_SUB= yes
|
|
|
|
|
|
|
|
CONFIGURE_ARGS= --enable-mmx
|
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MPLAYMPEG}
|
|
|
|
CONFLICTS+= smpeg
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
.if ! ${PORT_OPTIONS:MPLAYMPEG}
|
|
|
|
@${REINPLACE_CMD} -e '/^bin_PROGRAMS =/s/plaympeg$$(EXEEXT)// ; \
|
|
|
|
/^man_MANS =/s/plaympeg\.1//' ${WRKSRC}/Makefile.in
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|