mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
38 lines
856 B
Makefile
38 lines
856 B
Makefile
# Created by: Vladimir Kondratiev <wulf@mail.mipt.ru>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= smpeg2
|
|
PORTVERSION= 2.0.0
|
|
PORTREVISION= 4
|
|
CATEGORIES= multimedia
|
|
MASTER_SITES= http://www.libsdl.org/projects/smpeg/release/ \
|
|
http://rsync.macports.org/smpeg2/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Free MPEG1 video player library with sound support
|
|
|
|
LICENSE= MIT LGPL20+
|
|
LICENSE_COMB= multi
|
|
|
|
GNU_CONFIGURE= yes
|
|
INSTALL_TARGET= install-strip
|
|
USES= libtool
|
|
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
|
|
|
|
PLAYMPEG_CONFLICTS_INSTALL= smpeg
|
|
PLAYMPEG_VARS= LICENSE+=GPLv2+
|
|
|
|
post-patch-PLAYMPEG-off:
|
|
@${REINPLACE_CMD} -e '/^bin_PROGRAMS =/s/plaympeg$$(EXEEXT)// ; \
|
|
/^man_MANS =/s/plaympeg\.1//' ${WRKSRC}/Makefile.in
|
|
|
|
.include <bsd.port.mk>
|