summaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-11 06:35:57 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-11 06:35:57 +0800
commit9bccdae2b4d5a9dfd3f2ca5203660728ab8732f2 (patch)
tree37184919d34b3010cc9c51e6e53a6ea157ddd44d /Mk
parent7ed2631cdb1614ac80fff91a817d014fa2621474 (diff)
downloadmarcuscom-ports-9bccdae2b4d5a9dfd3f2ca5203660728ab8732f2.tar
marcuscom-ports-9bccdae2b4d5a9dfd3f2ca5203660728ab8732f2.tar.gz
marcuscom-ports-9bccdae2b4d5a9dfd3f2ca5203660728ab8732f2.tar.bz2
marcuscom-ports-9bccdae2b4d5a9dfd3f2ca5203660728ab8732f2.tar.lz
marcuscom-ports-9bccdae2b4d5a9dfd3f2ca5203660728ab8732f2.tar.xz
marcuscom-ports-9bccdae2b4d5a9dfd3f2ca5203660728ab8732f2.tar.zst
marcuscom-ports-9bccdae2b4d5a9dfd3f2ca5203660728ab8732f2.zip
- Consolidate a few .for loops
- Remove .if defined(USE_GST...), the .for x in ${USE_GST... takes care of that - Sync with ports tree git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6528 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.gstreamer.mk21
1 files changed, 6 insertions, 15 deletions
diff --git a/Mk/bsd.gstreamer.mk b/Mk/bsd.gstreamer.mk
index dcc09fd3b..f78efe487 100644
--- a/Mk/bsd.gstreamer.mk
+++ b/Mk/bsd.gstreamer.mk
@@ -7,7 +7,7 @@
# Date: 4 Oct 2004
#
# $FreeBSD: ports/Mk/bsd.gstreamer.mk,v 1.18 2006/05/16 01:43:00 ahze Exp $
-# $MCom: ports/Mk/bsd.gstreamer.mk,v 1.31 2006/07/06 19:32:34 ahze Exp $
+# $MCom: ports/Mk/bsd.gstreamer.mk,v 1.32 2006/07/06 19:48:44 ahze Exp $
.if !defined(_POSTMKINCLUDED) && !defined(Gstreamer_Pre_Include)
@@ -250,33 +250,24 @@ ${ext}_GST80_SUFX?= 80
${ext}_GST80_PREFIX?= gstreamer-plugins-
${ext}_GST80_VERSION?= ${GST80_VERSION}${GST80_MINOR_VERSION}
${ext}_NAME?= ${ext}
-.endfor
-.for ext in ${USE_GSTREAMER}
-${ext}_GST_PREFIX?= gstreamer-plugins-
-${ext}_GST_VERSION?= ${GST_VERSION}${GST_MINOR_VERSION}
-${ext}_NAME?= ${ext}
-.endfor
-
-.if defined(USE_GSTREAMER80)
-.for ext in ${USE_GSTREAMER80}
. if ${_USE_GSTREAMER80_ALL:M${ext}}!= "" && exists(${PORTSDIR}/${${ext}_DEPENDS}${${ext}_GST80_SUFX})
BUILD_DEPENDS+= ${${ext}_GST80_PREFIX}${${ext}_NAME}${${ext}_GST80_SUFX}>=${${ext}_GST80_VERSION}:${PORTSDIR}/${${ext}_DEPENDS}${${ext}_GST80_SUFX}
RUN_DEPENDS+= ${${ext}_GST80_PREFIX}${${ext}_NAME}${${ext}_GST80_SUFX}>=${${ext}_GST80_VERSION}:${PORTSDIR}/${${ext}_DEPENDS}${${ext}_GST80_SUFX}
. else
-BROKEN= Unknown gstreamer-plugin -- ${ext}
+IGNORE= cannot install: unknown gstreamer-plugin -- ${ext}
. endif
.endfor
-.endif
-.if defined(USE_GSTREAMER)
.for ext in ${USE_GSTREAMER}
+${ext}_GST_PREFIX?= gstreamer-plugins-
+${ext}_GST_VERSION?= ${GST_VERSION}${GST_MINOR_VERSION}
+${ext}_NAME?= ${ext}
. if ${_USE_GSTREAMER_ALL:M${ext}}!= "" && exists(${PORTSDIR}/${${ext}_DEPENDS})
BUILD_DEPENDS+= ${${ext}_GST_PREFIX}${${ext}_NAME}>=${${ext}_GST_VERSION}:${PORTSDIR}/${${ext}_DEPENDS}
RUN_DEPENDS+= ${${ext}_GST_PREFIX}${${ext}_NAME}>=${${ext}_GST_VERSION}:${PORTSDIR}/${${ext}_DEPENDS}
. else
-BROKEN= Unknown gstreamer-plugin -- ${ext}
+IGNORE= cannot install: unknown gstreamer-plugin -- ${ext}
. endif
.endfor
-.endif
# The End
.endif