summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2002-03-30 12:17:47 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2002-03-30 12:17:47 +0000
commit1dcafc55adfa0b77dccd7f01e673f45f2f0bd1e6 (patch)
tree93ce5493760081c1c2e5f257c0bdaf025516f251 /graphics
parentcd dir && command -> cd dir; command (diff)
- make portlint happier.
- add handling for optional files. PR: 32986
Notes
Notes: svn path=/head/; revision=56947
Diffstat (limited to 'graphics')
-rw-r--r--graphics/transcode/Makefile11
-rw-r--r--graphics/transcode/pkg-comment2
-rw-r--r--graphics/transcode/pkg-descr1
-rw-r--r--graphics/transcode/pkg-plist12
4 files changed, 17 insertions, 9 deletions
diff --git a/graphics/transcode/Makefile b/graphics/transcode/Makefile
index 36cb71fe9cce..d8b16fb2fafe 100644
--- a/graphics/transcode/Makefile
+++ b/graphics/transcode/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
#
-PORTNAME= transcode
+PORTNAME= transcode
PORTVERSION= 0.6.0
PORTREVISION= 1
CATEGORIES= graphics
@@ -18,14 +18,23 @@ MAINTAINER= hendrik@scholz.net
.if !defined(WITHOUT_LAME)
BUILD_DEPENDS+= mp3rtp:${PORTSDIR}/audio/lame-devel
CONFIGURE_ARGS+= --with-lame
+PLIST_SUB+= WITH_LAME=""
+.else
+PLIST_SUB+= WITH_LAME="@comment "
.endif
.if defined(WITH_LIBDV)
BUILD_DEPENDS+= encodedv:${PORTSDIR}/graphics/libdv
CONFIGURE_ARGS+= --with-dv --with-dv-includes=${LOCALBASE} --with-dv-libs=${LOCALBASE}
+PLIST_SUB+= WITH_LIBDV=""
+.else
+PLIST_SUB+= WITH_LIBDV="@comment "
.endif
.if defined(WITH_LIBA52)
BUILD_DEPENDS+= a52dec:${PORTSDIR}/audio/liba52
CONFIGURE_ARGS+= --with-a52
+PLIST_SUB+= WITH_LIBA52=""
+.else
+PLIST_SUB+= WITH_LIBA52="@comment "
.endif
.if defined(WITH_NASM)
BUILD_DEPENDS+= nasm:${PORTSDIR}/devel/nasm
diff --git a/graphics/transcode/pkg-comment b/graphics/transcode/pkg-comment
index c8add8118114..3dc1315e6748 100644
--- a/graphics/transcode/pkg-comment
+++ b/graphics/transcode/pkg-comment
@@ -1 +1 @@
-text-console based utility for video stream processing.
+Text-console based utility for video stream processing
diff --git a/graphics/transcode/pkg-descr b/graphics/transcode/pkg-descr
index 5f9d53d59c14..08de3d12fd66 100644
--- a/graphics/transcode/pkg-descr
+++ b/graphics/transcode/pkg-descr
@@ -10,4 +10,3 @@ uncompressed AVI files with MPEG, AC3 (pass-through) or PCM audio.
(Taken from the Website)
WWW: http://www.theorie.physik.uni-goettingen.de/~ostreich/transcode/
-
diff --git a/graphics/transcode/pkg-plist b/graphics/transcode/pkg-plist
index 638df75cebf9..6efc14f17f0e 100644
--- a/graphics/transcode/pkg-plist
+++ b/graphics/transcode/pkg-plist
@@ -69,10 +69,10 @@ lib/transcode/filter_dnr.so
lib/transcode/filter_dnr.la
lib/transcode/filter_testframe.so
lib/transcode/filter_testframe.la
-lib/transcode/import_mp3.la
-lib/transcode/import_mp3.so
-lib/transcode/a52_decore.la
-lib/transcode/a52_decore.so
-lib/transcode/import_dv.la
-lib/transcode/import_dv.so
+%%WITH_LAME%%lib/transcode/import_mp3.la
+%%WITH_LAME%%lib/transcode/import_mp3.so
+%%WITH_LIBA52%%lib/transcode/a52_decore.la
+%%WITH_LIBA52%%lib/transcode/a52_decore.so
+%%WITH_LIBDV%%lib/transcode/import_dv.la
+%%WITH_LIBDV%%lib/transcode/import_dv.so
@dirrm lib/transcode