diff options
author | jbeich <jbeich@FreeBSD.org> | 2016-10-04 15:40:33 +0000 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2016-10-04 15:40:33 +0000 |
commit | 604de60bfa2042ced8214a7192ddbf9399e2db36 (patch) | |
tree | 6b6d335e7ead9bdb2824990acc1d5c914b3d262d | |
parent | 84fd8c49a7ef905782c81567ac4300b52ce1557a (diff) | |
download | FreeBSD-ports-604de60bfa2042ced8214a7192ddbf9399e2db36.zip FreeBSD-ports-604de60bfa2042ced8214a7192ddbf9399e2db36.tar.gz |
multimedia/smpeg2: clarify license and use option helpers
-rw-r--r-- | multimedia/smpeg2/Makefile | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/multimedia/smpeg2/Makefile b/multimedia/smpeg2/Makefile index 6e55057..0ece9e8 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> |