diff options
author | marcus <marcus@FreeBSD.org> | 2006-10-14 16:54:54 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2006-10-14 16:54:54 +0800 |
commit | 0deb7538cc6a5ae90f4e3e4bdbfe6d0ab974aed8 (patch) | |
tree | 17937489af4c767844fc63b684ae3e7b31948812 /multimedia/linux-realplayer | |
parent | e959473966b963953d63d5f00fae8751f2decf0f (diff) | |
download | freebsd-ports-gnome-0deb7538cc6a5ae90f4e3e4bdbfe6d0ab974aed8.tar.gz freebsd-ports-gnome-0deb7538cc6a5ae90f4e3e4bdbfe6d0ab974aed8.tar.zst freebsd-ports-gnome-0deb7538cc6a5ae90f4e3e4bdbfe6d0ab974aed8.zip |
Chase the GNOME X11BASE to LOCALBASE move, and fix the build with the
new freetype2 where needed.
Submitted by: mezz, ahze, pav, and many others
Approved by: portmgr (implicit, kris)
Diffstat (limited to 'multimedia/linux-realplayer')
-rw-r--r-- | multimedia/linux-realplayer/Makefile | 30 | ||||
-rw-r--r-- | multimedia/linux-realplayer/pkg-plist | 2 |
2 files changed, 17 insertions, 15 deletions
diff --git a/multimedia/linux-realplayer/Makefile b/multimedia/linux-realplayer/Makefile index 9fa62bd55157..34cb710d9f18 100644 --- a/multimedia/linux-realplayer/Makefile +++ b/multimedia/linux-realplayer/Makefile @@ -7,6 +7,7 @@ PORTNAME= linux-realplayer DISTVERSION= 10.0.7.785-20060201 +PORTREVISION= 1 CATEGORIES= multimedia audio linux MASTER_SITES= https://helixcommunity.org/download.php/1917/:player \ ftp://rpmfind.net/linux/sourceforge/m/mp/mplayer-tru/:codecs @@ -38,14 +39,14 @@ PLIST_SUB+= NLS="" .include <bsd.port.pre.mk> -.if exists(${X11BASE}/share/icons) +.if exists(${LOCALBASE}/share/icons) WITH_ICONS= yes PLIST_SUB+= ICONS="" .else PLIST_SUB+= ICONS="@comment " .endif -.if exists(${X11BASE}/share/gnome) +.if exists(${LOCALBASE}/share/gnome) WITH_GNOME= yes PLIST_SUB+= GNOME="" .else @@ -101,32 +102,33 @@ do-install: .if defined(WITH_ICONS) . for size in 16x16 32x32 48x48 192x192 - @${MKDIR} ${X11BASE}/share/icons/hicolor/${size}/apps + @${MKDIR} ${LOCALBASE}/share/icons/hicolor/${size}/apps ${INSTALL_DATA} ${WRKSRC}/share/icons/realplay_${size}.png \ - ${X11BASE}/share/icons/hicolor/${size}/apps + ${LOCALBASE}/share/icons/hicolor/${size}/apps . endfor . for size in 48x48 192x192 - @${MKDIR} ${X11BASE}/share/icons/hicolor/${size}/mimetypes + @${MKDIR} ${LOCALBASE}/share/icons/hicolor/${size}/mimetypes ${INSTALL_DATA} ${WRKSRC}/share/icons/mime-*_${size}.png \ - ${X11BASE}/share/icons/hicolor/${size}/mimetypes + ${LOCALBASE}/share/icons/hicolor/${size}/mimetypes . endfor .endif .if defined(WITH_GNOME) - @${MKDIR} ${X11BASE}/share/gnome/pixmaps - ${INSTALL_DATA} ${WRKSRC}/share/realplay.png ${X11BASE}/share/gnome/pixmaps + @${MKDIR} ${LOCALBASE}/share/gnome/pixmaps + ${INSTALL_DATA} ${WRKSRC}/share/realplay.png \ + ${LOCALBASE}/share/gnome/pixmaps - @${MKDIR} ${X11BASE}/share/gnome/applications + @${MKDIR} ${LOCALBASE}/share/gnome/applications ${INSTALL_DATA} ${WRKSRC}/share/realplay.desktop \ - ${X11BASE}/share/gnome/applications + ${LOCALBASE}/share/gnome/applications - @${MKDIR} ${X11BASE}/share/gnome/application-registry + @${MKDIR} ${LOCALBASE}/share/gnome/application-registry ${INSTALL_DATA} ${WRKSRC}/share/realplay.applications \ - ${X11BASE}/share/gnome/application-registry + ${LOCALBASE}/share/gnome/application-registry - @${MKDIR} ${X11BASE}/share/gnome/mime-info + @${MKDIR} ${LOCALBASE}/share/gnome/mime-info ${INSTALL_DATA} ${WRKSRC}/share/realplay.keys ${WRKSRC}/share/realplay.mime \ - ${X11BASE}/share/gnome/mime-info + ${LOCALBASE}/share/gnome/mime-info .endif .include <bsd.port.post.mk> diff --git a/multimedia/linux-realplayer/pkg-plist b/multimedia/linux-realplayer/pkg-plist index 373ac43a74f7..2324fa7c2ea4 100644 --- a/multimedia/linux-realplayer/pkg-plist +++ b/multimedia/linux-realplayer/pkg-plist @@ -179,7 +179,7 @@ lib/linux-mozilla/plugins/nphelix.xpt @dirrm lib/RealPlayer @dirrmtry lib/linux-mozilla/plugins @dirrmtry lib/linux-mozilla -%%X11%%@cwd %%X11BASE%% +%%X11%%@cwd %%LOCALBASE%% %%GNOME%%share/gnome/application-registry/realplay.applications %%GNOME%%share/gnome/applications/realplay.desktop %%GNOME%%share/gnome/mime-info/realplay.keys |