freebsd-ports/multimedia/gstreamer-plugins-all/Makefile
Baptiste Daroussin 4a4ec28d37 Convert all :U to :tu and :L to :tl
Since FreeBSD 8.4 and FreeBSD 9.1 make(1) do support :tu and :tl as a
replacement for :U and :L (which has been marked as deprecated)

bmake which is the default on FreeBSD 10+ only support by default
:tu/:tl a hack has been added at the time to support :U and :L to ease
migration. This hack is now not necessary anymore

Note that this makes the ports tree incompatible with make(1) from
FreeBSD 8.3 or earlier

With hat:	portmgr
2014-05-05 09:45:36 +00:00

49 lines
1.2 KiB
Makefile

# Created by: Michael Johnson <ahze@FreeBSD.org>
# $FreeBSD$
# $MCom: ports/multimedia/gstreamer-plugins-all/Makefile,v 1.8 2006/01/25 18:54:32 ahze Exp $
PORTNAME= gstreamer-plugins-all
PORTVERSION= 1.3.${GST_VERSION}.${GST_SHLIB_VERSION}
PORTREVISION= 14
CATEGORIES= multimedia
MASTER_SITES= # empty
DISTFILES= # empty
EXTRACT_ONLY= # empty
MAINTAINER= multimedia@FreeBSD.org
COMMENT= Meta-port of all gstreamer plugins with options
NO_BUILD= yes
NO_INSTALL= yes
NO_MTREE= yes
USE_GSTREAMER= yes
.include "${.CURDIR}/../../Mk/bsd.gstreamer.mk"
.for all in ${_GSTREAMER_PLUGINS}
OPTIONS_DEFINE+= ${all:tu}
${all:tu}_DESC= ${all} plugin
OPTIONS_DEFAULT+= ${all:tu}
.endfor
.include <bsd.port.pre.mk>
# Weed out gst-plugins that can not be packaged. or are broken.
.if defined(PACKAGE_BUILDING)
PORT_OPTIONS:= ${PORT_OPTIONS:NFAAC} # Mp4 Dolby license , no package
PORT_OPTIONS:= ${PORT_OPTIONS:NLAME} # MP3 License , no package
PORT_OPTIONS:= ${PORT_OPTIONS:NPEG2ENC} # Broken
PORT_OPTIONS:= ${PORT_OPTIONS:NVDPAU} # Needs to be build agains running kernel
.endif
.if ${ARCH} != "i386"
PORT_OPTIONS:= ${PORT_OPTIONS:NSPC} # i386 only
.endif
.for f in ${OPTIONS_DEFINE}
.if ${PORT_OPTIONS:M${f:tu}}
USE_GSTREAMER+= ${f:tl}
.endif
.endfor
.include <bsd.port.post.mk>