aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/transcode
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2002-03-30 20:17:47 +0800
committerdinoex <dinoex@FreeBSD.org>2002-03-30 20:17:47 +0800
commit8511cd3802d84d28c058c5aee79ca8ac1de4bc18 (patch)
tree34bed615c17728a1fbc66efecf3544cfe69fafbd /graphics/transcode
parente121e421c4ba57e9a948de7b47d7fc463d943ae7 (diff)
downloadfreebsd-ports-gnome-8511cd3802d84d28c058c5aee79ca8ac1de4bc18.tar.gz
freebsd-ports-gnome-8511cd3802d84d28c058c5aee79ca8ac1de4bc18.tar.zst
freebsd-ports-gnome-8511cd3802d84d28c058c5aee79ca8ac1de4bc18.zip
- make portlint happier.
- add handling for optional files. PR: 32986
Diffstat (limited to 'graphics/transcode')
-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