diff --git a/multimedia/smpeg2/Makefile b/multimedia/smpeg2/Makefile index bcfb5ee952ad..a74121eda156 100644 --- a/multimedia/smpeg2/Makefile +++ b/multimedia/smpeg2/Makefile @@ -1,43 +1,44 @@ PORTNAME= smpeg2 PORTVERSION= 2.0.0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= multimedia MASTER_SITES= https://www.libsdl.org/projects/smpeg/release/ \ https://distfiles.macports.org/smpeg2/ MAINTAINER= ports@FreeBSD.org COMMENT= Free MPEG1 video player library with sound support WWW= https://icculus.org/smpeg/ LICENSE= MIT LGPL20+ LICENSE_COMB= multi USES= compiler:features libtool sdl GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share INSTALL_TARGET= install-strip CFLAGS+= ${COMPILER_FEATURES:Mc++11:C/.+/-Wno-error=narrowing/} 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+ .include .if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CPPFLAGS+= -Dregister= .endif post-patch-PLAYMPEG-off: @${REINPLACE_CMD} -e '/^bin_PROGRAMS =/s/plaympeg$$(EXEEXT)// ; \ /^man_MANS =/s/plaympeg\.1//' ${WRKSRC}/Makefile.in .include diff --git a/multimedia/smpeg2/pkg-plist b/multimedia/smpeg2/pkg-plist index 4bdbbb4dc2e1..8000bbb5ca07 100644 --- a/multimedia/smpeg2/pkg-plist +++ b/multimedia/smpeg2/pkg-plist @@ -1,19 +1,19 @@ %%PLAYMPEG%%bin/plaympeg bin/smpeg2-config include/smpeg2/MPEG.h include/smpeg2/MPEGaction.h include/smpeg2/MPEGaudio.h include/smpeg2/MPEGerror.h include/smpeg2/MPEGframe.h include/smpeg2/MPEGlist.h include/smpeg2/MPEGring.h include/smpeg2/MPEGstream.h include/smpeg2/MPEGsystem.h include/smpeg2/MPEGvideo.h include/smpeg2/smpeg.h lib/libsmpeg2-2.0.so.0 lib/libsmpeg2-2.0.so.0.0.0 lib/libsmpeg2.a lib/libsmpeg2.so -%%PLAYMPEG%%man/man1/plaympeg.1.gz +%%PLAYMPEG%%share/man/man1/plaympeg.1.gz share/aclocal/smpeg2.m4