[Midnightbsd-cvs] mports [19457] trunk/multimedia/linux-realplayer: update realplayer

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Wed Jun 10 18:29:19 EDT 2015


Revision: 19457
          http://svnweb.midnightbsd.org/mports/?rev=19457
Author:   laffer1
Date:     2015-06-10 18:29:18 -0400 (Wed, 10 Jun 2015)
Log Message:
-----------
update realplayer

Modified Paths:
--------------
    trunk/multimedia/linux-realplayer/Makefile
    trunk/multimedia/linux-realplayer/distinfo
    trunk/multimedia/linux-realplayer/pkg-plist

Modified: trunk/multimedia/linux-realplayer/Makefile
===================================================================
--- trunk/multimedia/linux-realplayer/Makefile	2015-06-10 22:24:11 UTC (rev 19456)
+++ trunk/multimedia/linux-realplayer/Makefile	2015-06-10 22:29:18 UTC (rev 19457)
@@ -1,64 +1,68 @@
-# New ports collection makefile for:   linux-realplayer
-# Date created:        31 January 1999
-# Whom:                Kris Kennaway <kkennawa at physics.adelaide.edu.au>
-#
 # $MidnightBSD$
 # $FreeBSD: ports/multimedia/linux-realplayer/Makefile,v 1.44 2006/03/27 19:06:35 mnag Exp $
-#
 
 PORTNAME=	linux-realplayer
-PORTREVISION=	1
 DISTVERSION=	10.0.9.809-20070726
+PORTREVISION=	2
 CATEGORIES=	multimedia audio linux
-MASTER_SITES=	https://helixcommunity.org/download.php/2479/:player \
-		http://ftp.nluug.nl/ftp/pub/os/Linux/distr/pardusrepo/sources/:playeralt \
-		ftp://fr2.rpmfind.net/linux/sourceforge/m/project/mp/mplayer-tru/mplayer-codecs/20040704/:codecs \
-		http://mirror.therek.net/freebsd/distfiles/mplayer/:codecs
-DISTFILES=	RealPlayer-${DISTVERSION}.i586.rpm:player,playeralt \
+MASTER_SITES=	ftp://ftp.tw.freebsd.org/pub/distfiles/:player \
+		http://freeheimdall.spdns.org/files/:player \
+		http://freeheimdall.spdns.org/files/:codecs \
+		http://mirror.therek.net/freebsd/distfiles/mplayer/:codecs \
+		SF/mplayer-tru/mplayer-codecs/20040704:codecs \
+		ftp://fr2.rpmfind.net/linux/sourceforge/m/mp/mplayer-tru/mplayer-codecs/20040704/:codecs \
+
+DISTFILES=	RealPlayer10GOLD.rpm:player \
 		mplayer-codecs-linux-real-20040626-1.i386.rpm:codecs
 
 MAINTAINER=	ports at MidnightBSD.org
 COMMENT=	Linux RealPlayer 10 from RealNetworks
-LICENSE=	restricted
 
-EXTRACT_DEPENDS=	rpm2cpio.pl:${PORTSDIR}/archivers/rpm2cpio
+LICENSE=	RealPlayer
+LICENSE_NAME=	Helix DNA Technology Binary Research Use License
+LICENSE_FILE=	${WRKSRC}/LICENSE
+LICENSE_PERMS=	auto-accept
 
 WRKSRC=		${WRKDIR}/usr/local/RealPlayer
-USE_GCPIO=	yes
-USE_LINUX=	yes
+ONLY_FOR_ARCHS=	i386 amd64
+USES=		webplugin:linux
+WEBPLUGIN_FILES=nphelix.so nphelix.xpt
+USE_LINUX=	f10
 USE_LINUX_APPS=	gtk2 xorglibs
 RESTRICTED=	Redistribution not allowed
 NO_BUILD=	yes
-WANT_GNOME=	yes
-FETCH_ARGS=	-pRr
 
 RADIR=		${PREFIX}/lib/RealPlayer
-PLUGINSDIR=	${PREFIX}/lib/linux-mozilla/plugins
 RABINDIR=	${PREFIX}/bin
 
-.if defined(WITHOUT_NLS)
+OPTIONS_DEFINE=	GNOME ICONS NLS
+OPTIONS_DEFAULT=	ICONS
+
+ICONS_DESC=	Install set of icons
+
+.include <bsd.mport.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
+USES+=		gettext
+PLIST_SUB+=	NLS="" LINUXBASE="${LINUXBASE}"
+.else
 PLIST_SUB+=	NLS="@comment "
-.else
-PLIST_SUB+=	NLS="" LINUXBASE="${LINUXBASE}"
 .endif
 
-.include <bsd.port.pre.mk>
-
-.if exists(${LOCALBASE}/share/icons)
-WITH_ICONS=	yes
+.if ${PORT_OPTIONS:MICONS}
 PLIST_SUB+=	ICONS=""
 .else
 PLIST_SUB+=	ICONS="@comment "
 .endif
 
-.if ${HAVE_GNOME:Mgnomehier}!=""
-WITH_GNOME=	yes
+.if ${PORT_OPTIONS:MGNOME}
+USES+=		desktop-file-utils
 PLIST_SUB+=	GNOME=""
 .else
 PLIST_SUB+=	GNOME="@comment "
 .endif
 
-.if defined(WITH_ICONS) || defined(WITH_GNOME)
+.if ${PORT_OPTIONS:MICONS} || ${PORT_OPTIONS:MGNOME}
 PLIST_SUB+=	X11=""
 .else
 PLIST_SUB+=	X11="@comment "
@@ -66,22 +70,19 @@
 
 do-extract:
 	@${MKDIR} ${WRKDIR}
-	@set -x; for f in ${_DISTFILES}; do\
-		cd ${WRKDIR}; rpm2cpio.pl ${DISTDIR}/$$f | \
-		    ${CPIO} -idm --quiet; \
+	@for f in ${_DISTFILES}; do\
+		cd ${WRKDIR}; ${TAR} -xf ${DISTDIR}/$$f ; \
 	done
 
 post-patch:
-	@${SED} 's|/usr/local|${LOCALBASE}|' \
+	@${SED} 's|/usr/local|${PREFIX}|' \
 		< ${FILESDIR}/realplay > ${WRKSRC}/realplay
 
 do-install:
 	@${MKDIR} ${RADIR}
-	${MKDIR} ${PREFIX}/share/icons/hicolor/192x192/apps/
-	${MKDIR} ${PREFIX}/share/icons/hicolor/16x16/apps/
-	${INSTALL_DATA} ${WRKSRC}/LICENSE ${WRKSRC}/README ${RADIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${RADIR}
+	${BRANDELF} -t Linux ${WRKSRC}/realplay.bin
 	${INSTALL_PROGRAM} ${WRKSRC}/realplay.bin ${RADIR}
-	${BRANDELF} -t Linux ${RADIR}/realplay.bin
 .for dir in codecs common lib plugins share/default share/realplay
 	@${MKDIR} ${RADIR}/${dir}
 	${INSTALL_DATA} ${WRKSRC}/${dir}/* ${RADIR}/${dir}
@@ -90,56 +91,56 @@
 # Extra codecs from the RealPlayer-9 -- no longer shipped by Real,
 # but still in use by major content providers, such as Amazon:
 .for c in dnet ddnt
-	${INSTALL_DATA} ${WRKDIR}/usr/lib/codecs/$c.so.6.0	\
+	${INSTALL_DATA} ${WRKDIR}/usr/lib/codecs/$c.so.6.0 \
 		${RADIR}/codecs/
-	${LN} -s $c.so.6.0 ${RADIR}/codecs/$c.so
+	${LN} -sf $c.so.6.0 ${RADIR}/codecs/$c.so
 .endfor
 
-.if !defined(WITHOUT_NLS)
+.if ${PORT_OPTIONS:MNLS}
 	@${MKDIR} ${RADIR}/share/locale
 	${CP} -Rp ${WRKSRC}/share/locale/* ${RADIR}/share/locale
-	${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${RADIR}/share/locale
 .for c in de es fr hi it ja ko pl pt_BR zh_CN zh_TW
-	${LN} -sf ${RADIR}/share/locale/${c}/player.mo \
-		${LINUXBASE}/usr/share/locale/${c}/LC_MESSAGES/realplay.mo
+	@${MKDIR} ${LINUXBASE}/usr/share/locale/${c}/LC_MESSAGES
+	${INSTALL_DATA} ${STAGEDIR}${RADIR}/share/locale/${c}/player.mo \
+		${STAGEDIR}${LINUXBASE}/usr/share/locale/${c}/LC_MESSAGES/realplay.mo
 .endfor
 .endif
 
-	@${MKDIR} ${PLUGINSDIR}
-	${INSTALL_DATA} ${WRKSRC}/mozilla/* ${PLUGINSDIR}
+	@${MKDIR} ${WEBPLUGIN_DIR}
+	${INSTALL_DATA} ${WRKSRC}/mozilla/* ${WEBPLUGIN_DIR}
 
 	@${MKDIR} ${PREFIX}/bin
 	${INSTALL_SCRIPT} ${WRKSRC}/realplay ${PREFIX}/bin
 
-.if defined(WITH_ICONS)
+.if ${PORT_OPTIONS:MICONS}
 . for size in 16x16 32x32 48x48 192x192
-	${MKDIR} ${PREFIX}/share/icons/hicolor/${size}/apps
+	@${MKDIR} ${FAKE_DESTDIR}${LOCALBASE}/share/icons/hicolor/${size}/apps
 	${INSTALL_DATA} ${WRKSRC}/share/icons/realplay_${size}.png \
-		${PREFIX}/share/icons/hicolor/${size}/apps
+		${FAKE_DESTDIR}${LOCALBASE}/share/icons/hicolor/${size}/apps
 . endfor
 . for size in 48x48 192x192
-	@${MKDIR} ${PREFIX}/share/icons/hicolor/${size}/mimetypes
+	@${MKDIR} ${FAKE_DESTDIR}${LOCALBASE}/share/icons/hicolor/${size}/mimetypes
 	${INSTALL_DATA} ${WRKSRC}/share/icons/mime-*_${size}.png \
-		${PREFIX}/share/icons/hicolor/${size}/mimetypes
+		${FAKE_DESTDIR}${LOCALBASE}/share/icons/hicolor/${size}/mimetypes
 . endfor
 .endif
 
-.if defined(WITH_GNOME)
-	${MKDIR} ${PREFIX}/share/pixmaps
+.if ${PORT_OPTIONS:MGNOME}
+	@${MKDIR} ${FAKE_DESTDIR}${LOCALBASE}/share/pixmaps
 	${INSTALL_DATA} ${WRKSRC}/share/realplay.png \
-		${PREFIX}/share/pixmaps
+		${FAKE_DESTDIR}${LOCALBASE}/share/pixmaps
 
-	${MKDIR} ${PREFIX}/share/applications
+	@${MKDIR} ${FAKE_DESTDIR}${LOCALBASE}/share/applications
 	${INSTALL_DATA} ${WRKSRC}/share/realplay.desktop \
-		${PREFIX}/share/applications
+		${FAKE_DESTDIR}${LOCALBASE}/share/applications
 
-	${MKDIR} ${PREFIX}/share/application-registry
+	@${MKDIR} ${FAKE_DESTDIR}${LOCALBASE}/share/application-registry
 	${INSTALL_DATA} ${WRKSRC}/share/realplay.applications \
-		${PREFIX}/share/application-registry
+		${FAKE_DESTDIR}${LOCALBASE}/share/application-registry
 
-	${MKDIR} ${PREFIX}/share/mime-info
+	@${MKDIR} ${FAKE_DESTDIR}${LOCALBASE}/share/mime-info
 	${INSTALL_DATA} ${WRKSRC}/share/realplay.keys ${WRKSRC}/share/realplay.mime \
-		${PREFIX}/share/mime-info
+		${FAKE_DESTDIR}${LOCALBASE}/share/mime-info
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: trunk/multimedia/linux-realplayer/distinfo
===================================================================
--- trunk/multimedia/linux-realplayer/distinfo	2015-06-10 22:24:11 UTC (rev 19456)
+++ trunk/multimedia/linux-realplayer/distinfo	2015-06-10 22:29:18 UTC (rev 19457)
@@ -1,6 +1,4 @@
-SHA256 (RealPlayer-10.0.9.809-20070726.i586.rpm) = 3e84a651904f89cff6803982c72c399b3fc1ab1b70dacc35cae1a6d422583ef8
-RMD160 (RealPlayer-10.0.9.809-20070726.i586.rpm) = 2a88652b0b9ab825d7fa3b63103e980005a58259
-SIZE (RealPlayer-10.0.9.809-20070726.i586.rpm) = 6645239
+SHA256 (RealPlayer10GOLD.rpm) = 3e84a651904f89cff6803982c72c399b3fc1ab1b70dacc35cae1a6d422583ef8
+SIZE (RealPlayer10GOLD.rpm) = 6645239
 SHA256 (mplayer-codecs-linux-real-20040626-1.i386.rpm) = 338c8e595a95c9ab5192e4fbd4e5e86faf9a6040fab51381d53950ddad75c2e9
-RMD160 (mplayer-codecs-linux-real-20040626-1.i386.rpm) = 53ec069b273a15f8c828a4a9264034f4b972e2c8
 SIZE (mplayer-codecs-linux-real-20040626-1.i386.rpm) = 595298

Modified: trunk/multimedia/linux-realplayer/pkg-plist
===================================================================
--- trunk/multimedia/linux-realplayer/pkg-plist	2015-06-10 22:24:11 UTC (rev 19456)
+++ trunk/multimedia/linux-realplayer/pkg-plist	2015-06-10 22:29:18 UTC (rev 19457)
@@ -1,5 +1,4 @@
 bin/realplay
-lib/RealPlayer/LICENSE
 lib/RealPlayer/README
 lib/RealPlayer/codecs/amrn.so
 lib/RealPlayer/codecs/amrw.so
@@ -155,37 +154,14 @@
 lib/RealPlayer/share/realplay/prefs_general.png
 lib/RealPlayer/share/realplay/setup_title.png
 lib/RealPlayer/share/realplay/setup_welcome.png
-lib/linux-mozilla/plugins/nphelix.so
-lib/linux-mozilla/plugins/nphelix.xpt
- at dirrm lib/RealPlayer/codecs
- at dirrm lib/RealPlayer/common
- at dirrm lib/RealPlayer/lib
- at dirrm lib/RealPlayer/plugins
- at dirrm lib/RealPlayer/share/default
-%%NLS%%@dirrm lib/RealPlayer/share/locale/de
-%%NLS%%@dirrm lib/RealPlayer/share/locale/es
-%%NLS%%@dirrm lib/RealPlayer/share/locale/fr
-%%NLS%%@dirrm lib/RealPlayer/share/locale/hi
-%%NLS%%@dirrm lib/RealPlayer/share/locale/it
-%%NLS%%@dirrm lib/RealPlayer/share/locale/ja
-%%NLS%%@dirrm lib/RealPlayer/share/locale/ko
-%%NLS%%@dirrm lib/RealPlayer/share/locale/pl
-%%NLS%%@dirrm lib/RealPlayer/share/locale/pt_BR
-%%NLS%%@dirrm lib/RealPlayer/share/locale/zh_CN
-%%NLS%%@dirrm lib/RealPlayer/share/locale/zh_TW
-%%NLS%%@dirrm lib/RealPlayer/share/locale
- at dirrm lib/RealPlayer/share/realplay
- at dirrm lib/RealPlayer/share
- at dirrm lib/RealPlayer
- at dirrmtry lib/linux-mozilla/plugins
- at dirrmtry lib/linux-mozilla
-%%X11%%@cwd %%LOCALBASE%%
+%%WEBPLUGIN_DIR%%/nphelix.so
+%%WEBPLUGIN_DIR%%/nphelix.xpt
 %%GNOME%%share/application-registry/realplay.applications
 %%GNOME%%share/applications/realplay.desktop
 %%GNOME%%share/mime-info/realplay.keys
 %%GNOME%%share/mime-info/realplay.mime
 %%GNOME%%share/pixmaps/realplay.png
- at comment %%ICONS%%share/icons/hicolor/16x16/apps/realplay_16x16.png
+%%ICONS%%share/icons/hicolor/16x16/apps/realplay_16x16.png
 %%ICONS%%share/icons/hicolor/192x192/apps/realplay_192x192.png
 %%ICONS%%share/icons/hicolor/192x192/mimetypes/mime-application-generic_192x192.png
 %%ICONS%%share/icons/hicolor/192x192/mimetypes/mime-application-ogg_192x192.png
@@ -231,30 +207,41 @@
 %%ICONS%%share/icons/hicolor/48x48/mimetypes/mime-video-ogg_48x48.png
 %%ICONS%%share/icons/hicolor/48x48/mimetypes/mime-video-rv_48x48.png
 %%ICONS%%share/icons/hicolor/48x48/mimetypes/mime-video-swf_48x48.png
-%%GNOME%%@dirrmtry share/application-registry
-%%GNOME%%@dirrmtry share/applications
-%%GNOME%%@dirrmtry share/mime-info
-%%GNOME%%@dirrmtry share/pixmaps
-%%ICONS%%@dirrmtry share/icons/hicolor/48x48/apps
-%%ICONS%%@dirrmtry share/icons/hicolor/48x48/mimetypes
-%%ICONS%%@dirrmtry share/icons/hicolor/48x48
-%%ICONS%%@dirrmtry share/icons/hicolor/32x32/apps
-%%ICONS%%@dirrmtry share/icons/hicolor/32x32
-%%ICONS%%@dirrmtry share/icons/hicolor/192x192/apps
-%%ICONS%%@dirrmtry share/icons/hicolor/192x192/mimetypes
-%%ICONS%%@dirrmtry share/icons/hicolor/192x192
-%%ICONS%%@dirrmtry share/icons/hicolor/16x16/apps
-%%ICONS%%@dirrmtry share/icons/hicolor/16x16
-%%ICONS%%@dirrmtry share/icons/hicolor
- at cwd %%LINUXBASE%%
-%%NLS%%usr/share/locale/de/LC_MESSAGES/realplay.mo
-%%NLS%%usr/share/locale/es/LC_MESSAGES/realplay.mo
-%%NLS%%usr/share/locale/fr/LC_MESSAGES/realplay.mo
-%%NLS%%usr/share/locale/hi/LC_MESSAGES/realplay.mo
-%%NLS%%usr/share/locale/it/LC_MESSAGES/realplay.mo
-%%NLS%%usr/share/locale/ja/LC_MESSAGES/realplay.mo
-%%NLS%%usr/share/locale/ko/LC_MESSAGES/realplay.mo
-%%NLS%%usr/share/locale/pl/LC_MESSAGES/realplay.mo
-%%NLS%%usr/share/locale/pt_BR/LC_MESSAGES/realplay.mo
-%%NLS%%usr/share/locale/zh_CN/LC_MESSAGES/realplay.mo
-%%NLS%%usr/share/locale/zh_TW/LC_MESSAGES/realplay.mo
+%%NLS%%%%LINUXBASE%%/usr/share/locale/de/LC_MESSAGES/realplay.mo
+%%NLS%%%%LINUXBASE%%/usr/share/locale/es/LC_MESSAGES/realplay.mo
+%%NLS%%%%LINUXBASE%%/usr/share/locale/fr/LC_MESSAGES/realplay.mo
+%%NLS%%%%LINUXBASE%%/usr/share/locale/hi/LC_MESSAGES/realplay.mo
+%%NLS%%%%LINUXBASE%%/usr/share/locale/it/LC_MESSAGES/realplay.mo
+%%NLS%%%%LINUXBASE%%/usr/share/locale/ja/LC_MESSAGES/realplay.mo
+%%NLS%%%%LINUXBASE%%/usr/share/locale/ko/LC_MESSAGES/realplay.mo
+%%NLS%%%%LINUXBASE%%/usr/share/locale/pl/LC_MESSAGES/realplay.mo
+%%NLS%%%%LINUXBASE%%/usr/share/locale/pt_BR/LC_MESSAGES/realplay.mo
+%%NLS%%%%LINUXBASE%%/usr/share/locale/zh_CN/LC_MESSAGES/realplay.mo
+%%NLS%%%%LINUXBASE%%/usr/share/locale/zh_TW/LC_MESSAGES/realplay.mo
+%%NLS%%@dir %%LINUXBASE%%/usr/share/locale/de/LC_MESSAGES
+%%NLS%%@dir %%LINUXBASE%%/usr/share/locale/de
+%%NLS%%@dir %%LINUXBASE%%/usr/share/locale/es/LC_MESSAGES
+%%NLS%%@dir %%LINUXBASE%%/usr/share/locale/es
+%%NLS%%@dir %%LINUXBASE%%/usr/share/locale/fr/LC_MESSAGES
+%%NLS%%@dir %%LINUXBASE%%/usr/share/locale/fr
+%%NLS%%@dir %%LINUXBASE%%/usr/share/locale/hi/LC_MESSAGES
+%%NLS%%@dir %%LINUXBASE%%/usr/share/locale/hi
+%%NLS%%@dir %%LINUXBASE%%/usr/share/locale/it/LC_MESSAGES
+%%NLS%%@dir %%LINUXBASE%%/usr/share/locale/it
+%%NLS%%@dir %%LINUXBASE%%/usr/share/locale/ja/LC_MESSAGES
+%%NLS%%@dir %%LINUXBASE%%/usr/share/locale/ja
+%%NLS%%@dir %%LINUXBASE%%/usr/share/locale/ko/LC_MESSAGES
+%%NLS%%@dir %%LINUXBASE%%/usr/share/locale/ko
+%%NLS%%@dir %%LINUXBASE%%/usr/share/locale/pl/LC_MESSAGES
+%%NLS%%@dir %%LINUXBASE%%/usr/share/locale/pl
+%%NLS%%@dir %%LINUXBASE%%/usr/share/locale/pt_BR/LC_MESSAGES
+%%NLS%%@dir %%LINUXBASE%%/usr/share/locale/pt_BR
+%%NLS%%@dir %%LINUXBASE%%/usr/share/locale/zh_CN/LC_MESSAGES
+%%NLS%%@dir %%LINUXBASE%%/usr/share/locale/zh_CN
+%%NLS%%@dir %%LINUXBASE%%/usr/share/locale/zh_TW/LC_MESSAGES
+%%NLS%%@dir %%LINUXBASE%%/usr/share/locale/zh_TW
+%%NLS%%@dir %%LINUXBASE%%/usr/share/locale
+%%NLS%%@dir %%LINUXBASE%%/usr/share
+%%NLS%%@dir %%LINUXBASE%%/usr
+%%NLS%%@dir %%LINUXBASE%%
+%%NLS%%@dir /compat



More information about the Midnightbsd-cvs mailing list