diff options
author | riggs <riggs@FreeBSD.org> | 2014-06-05 03:34:50 +0800 |
---|---|---|
committer | riggs <riggs@FreeBSD.org> | 2014-06-05 03:34:50 +0800 |
commit | b9e8e6452830e8cdcd79569e3f32ba97909c7a70 (patch) | |
tree | ebb60720b54bc404cb9c8da3f2f2fa0b2a09acbb /multimedia | |
parent | 7cbb6019b445ab2f09b8a9994687254247b4bcac (diff) | |
download | freebsd-ports-gnome-b9e8e6452830e8cdcd79569e3f32ba97909c7a70.tar.gz freebsd-ports-gnome-b9e8e6452830e8cdcd79569e3f32ba97909c7a70.tar.zst freebsd-ports-gnome-b9e8e6452830e8cdcd79569e3f32ba97909c7a70.zip |
- Stagify
- USE_* -> USES
- Use ${PORT_OPTIONS:MREALPLAYER} instead of WITHOUT_REALPLAYER
- Handle permissions via @mode in pkg-plist
Approved by: mentors (implicit)
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 |