1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/multimedia/smpeg2/Makefile
Tijl Coosemans 95d970b60b - Convert multimedia/smpeg* to USES=libtool and bump dependent ports
- Add INSTALL_TARGET=install-strip
2014-07-15 18:58:59 +00:00

42 lines
877 B
Makefile

# Created by: Vladimir Kondratiev <wulf@mail.mipt.ru>
# $FreeBSD$
PORTNAME= smpeg2
PORTVERSION= 2.0.0
PORTREVISION= 3
CATEGORIES= multimedia
MASTER_SITES= http://www.libsdl.org/projects/smpeg/release/ \
http://rsync.macports.org/smpeg2/
MAINTAINER= wulf@cicgroup.ru
COMMENT= Free MPEG1 video player library with sound support
LICENSE= GPLv2
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
.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>