aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorshaun <shaun@FreeBSD.org>2006-11-22 06:38:52 +0800
committershaun <shaun@FreeBSD.org>2006-11-22 06:38:52 +0800
commit9cc80ea43b96a9030b740e781e3d7325f12e7307 (patch)
tree3ec6998175f1c65527fa52a2f991b53e5eaf368a /multimedia
parent59f6c785e3750cce53364f002e569cd41a609d28 (diff)
downloadfreebsd-ports-gnome-9cc80ea43b96a9030b740e781e3d7325f12e7307.tar.gz
freebsd-ports-gnome-9cc80ea43b96a9030b740e781e3d7325f12e7307.tar.zst
freebsd-ports-gnome-9cc80ea43b96a9030b740e781e3d7325f12e7307.zip
Fix plist when the REALPLAYER option is not selected.
PR: ports/105725 (partial) Submitted by: Christian Laursen <xi@borderworlds.dk>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/win32-codecs/Makefile6
-rw-r--r--multimedia/win32-codecs/pkg-plist4
2 files changed, 7 insertions, 3 deletions
diff --git a/multimedia/win32-codecs/Makefile b/multimedia/win32-codecs/Makefile
index 52a210c11c9b..0f45d8b6c849 100644
--- a/multimedia/win32-codecs/Makefile
+++ b/multimedia/win32-codecs/Makefile
@@ -26,7 +26,7 @@ EXTRACT_ONLY= all-20060611.tar.bz2
MAINTAINER= ports@FreeBSD.org
COMMENT= Huge compilation of Win32 binary video codecs
-RESTRICTED= Unsure of codec\'s license
+RESTRICTED= Unsure of codec's license # '
ONLY_FOR_ARCHS= i386
USE_BZIP2= yes
@@ -86,7 +86,11 @@ post-extract:
do-install:
@${MKDIR} ${PREFIX}/lib/win32
@${CHMOD} 0755 ${PREFIX}/lib/win32
+.if !defined(WITHOUT_REALPLAYER)
@${INSTALL_DATA} ${WRKSRC}/* ${PREFIX}/lib/win32
+.else
+ @${INSTALL_DATA} ${WRKSRC}/*[^0] ${PREFIX}/lib/win32
+.endif
# marker file
@${CP} /dev/null ${PREFIX}/lib/win32/${PKGNAME}
@${CHMOD} 0444 ${PREFIX}/lib/win32/${PKGNAME}
diff --git a/multimedia/win32-codecs/pkg-plist b/multimedia/win32-codecs/pkg-plist
index 6074323518f3..4d40da0fe147 100644
--- a/multimedia/win32-codecs/pkg-plist
+++ b/multimedia/win32-codecs/pkg-plist
@@ -1,7 +1,5 @@
@comment Readmes
lib/win32/README
-lib/win32/NOTE
-lib/win32/Readme.txt
@comment win32codecs
lib/win32/wmv8ds32.ax
lib/win32/vp5vfw.dll
@@ -134,6 +132,8 @@ lib/win32/wvc1dmod.dll
%%REALPLAYER%%lib/win32/sipr.so.6.0
%%REALPLAYER%%lib/win32/tokf.so.6.0
@comment rp9codecs-win32
+%%REALPLAYER%%lib/win32/NOTE
+%%REALPLAYER%%lib/win32/Readme.txt
%%REALPLAYER%%lib/win32/atrc3260.dll
%%REALPLAYER%%lib/win32/cook3260.dll
%%REALPLAYER%%lib/win32/drv13260.dll