diff options
author | Thomas Zander <riggs@FreeBSD.org> | 2014-06-04 19:34:50 +0000 |
---|---|---|
committer | Thomas Zander <riggs@FreeBSD.org> | 2014-06-04 19:34:50 +0000 |
commit | e881939ed5c8b025cbcffd76cb7bb905790b7eee (patch) | |
tree | ebb60720b54bc404cb9c8da3f2f2fa0b2a09acbb /multimedia | |
parent | bf1b55a7635a555f10fb38a42e550880d4c307f0 (diff) | |
download | ports-e881939ed5c8b025cbcffd76cb7bb905790b7eee.tar.gz ports-e881939ed5c8b025cbcffd76cb7bb905790b7eee.zip |
Notes
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/win32-codecs/Makefile | 16 | ||||
-rw-r--r-- | multimedia/win32-codecs/pkg-plist | 2 |
2 files changed, 9 insertions, 9 deletions
diff --git a/multimedia/win32-codecs/Makefile b/multimedia/win32-codecs/Makefile index 779026d3712a..d5a105f67e45 100644 --- a/multimedia/win32-codecs/Makefile +++ b/multimedia/win32-codecs/Makefile @@ -19,8 +19,9 @@ COMMENT= Huge compilation of Win32 binary video codecs RESTRICTED= Unsure of codec's license +USES= tar:bzip2 + ONLY_FOR_ARCHS= i386 -USE_BZIP2= yes NO_BUILD= yes WRKSRC= ${WRKDIR}/w32codec-${DISTVERSION} @@ -43,7 +44,6 @@ OPTIONS_DEFINE= REALPLAYER OPTIONS_DEFAULT= REALPLAYER REALPLAYER_DESC= Install realplayer codec -NO_STAGE= yes .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MREALPLAYER} @@ -67,15 +67,13 @@ post-extract: .endfor do-install: - @${MKDIR} ${PREFIX}/lib/win32 - @${CHMOD} 0755 ${PREFIX}/lib/win32 -.if !defined(WITHOUT_REALPLAYER) - @${INSTALL_DATA} ${WRKSRC}/* ${PREFIX}/lib/win32 + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/win32 +.if ${PORT_OPTIONS:MREALPLAYER} + @${INSTALL_DATA} ${WRKSRC}/* ${STAGEDIR}${PREFIX}/lib/win32 .else - @${INSTALL_DATA} ${WRKSRC}/*[^0] ${PREFIX}/lib/win32 + @${INSTALL_DATA} ${WRKSRC}/*[^0] ${STAGEDIR}${PREFIX}/lib/win32 .endif # marker file - @${CP} /dev/null ${PREFIX}/lib/win32/${PKGNAME} - @${CHMOD} 0444 ${PREFIX}/lib/win32/${PKGNAME} + @${CP} /dev/null ${STAGEDIR}${PREFIX}/lib/win32/${PKGNAME} .include <bsd.port.mk> diff --git a/multimedia/win32-codecs/pkg-plist b/multimedia/win32-codecs/pkg-plist index 38e39f0565ca..c401f7f04df2 100644 --- a/multimedia/win32-codecs/pkg-plist +++ b/multimedia/win32-codecs/pkg-plist @@ -234,5 +234,7 @@ lib/win32/zmbv.dll %%REALPLAYER%%lib/win32/pncrt.dll %%REALPLAYER%%lib/win32/sipr3260.dll %%REALPLAYER%%lib/win32/tokr3260.dll +@mode 0444 lib/win32/%%PKGNAME%% +@mode @dirrm lib/win32 |