aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2016-10-04 15:40:33 +0000
committerJan Beich <jbeich@FreeBSD.org>2016-10-04 15:40:33 +0000
commit12aa6d1e0475c69b7586ebf3954b9047b1f70e8b (patch)
tree6b6d335e7ead9bdb2824990acc1d5c914b3d262d
parentbb528ee948ed6333c55304c1862cdbf44eb2e5ea (diff)
downloadports-12aa6d1e0475c69b7586ebf3954b9047b1f70e8b.tar.gz
ports-12aa6d1e0475c69b7586ebf3954b9047b1f70e8b.zip
Notes
-rw-r--r--multimedia/smpeg2/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/multimedia/smpeg2/Makefile b/multimedia/smpeg2/Makefile
index 6e55057d0e29..0ece9e825b8e 100644
--- a/multimedia/smpeg2/Makefile
+++ b/multimedia/smpeg2/Makefile
@@ -11,7 +11,8 @@ MASTER_SITES= http://www.libsdl.org/projects/smpeg/release/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= Free MPEG1 video player library with sound support
-LICENSE= GPLv2
+LICENSE= MIT LGPL20+
+LICENSE_COMB= multi
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
@@ -26,16 +27,11 @@ OPTIONS_SUB= yes
CONFIGURE_ARGS= --enable-mmx
-.include <bsd.port.options.mk>
+PLAYMPEG_CONFLICTS_INSTALL= smpeg
+PLAYMPEG_VARS= LICENSE+=GPLv2+
-.if ${PORT_OPTIONS:MPLAYMPEG}
-CONFLICTS+= smpeg
-.endif
-
-post-patch:
-.if ! ${PORT_OPTIONS:MPLAYMPEG}
+post-patch-PLAYMPEG-off:
@${REINPLACE_CMD} -e '/^bin_PROGRAMS =/s/plaympeg$$(EXEEXT)// ; \
/^man_MANS =/s/plaympeg\.1//' ${WRKSRC}/Makefile.in
-.endif
.include <bsd.port.mk>