svn commit: r423272 - head/multimedia/smpeg2
Jan Beich
jbeich at FreeBSD.org
Tue Oct 4 15:40:34 UTC 2016
Author: jbeich
Date: Tue Oct 4 15:40:33 2016
New Revision: 423272
URL: https://svnweb.freebsd.org/changeset/ports/423272
Log:
multimedia/smpeg2: clarify license and use option helpers
Modified:
head/multimedia/smpeg2/Makefile (contents, props changed)
Modified: head/multimedia/smpeg2/Makefile
==============================================================================
--- head/multimedia/smpeg2/Makefile Tue Oct 4 15:27:37 2016 (r423271)
+++ head/multimedia/smpeg2/Makefile Tue Oct 4 15:40:33 2016 (r423272)
@@ -11,7 +11,8 @@ MASTER_SITES= http://www.libsdl.org/proj
MAINTAINER= ports at 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>
More information about the svn-ports-head
mailing list