diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2006-10-14 08:54:54 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2006-10-14 08:54:54 +0000 |
commit | 29747f458a1eb2ce23b4594b09d0256dd62760b8 (patch) | |
tree | 1b71ba5d9ffdd308b6c18130f7c116f5bab5dc12 /multimedia/linux-realplayer | |
parent | 7aad84f808b93baa6a7077ce0b47573b9c4c79a0 (diff) |
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)
Notes
Notes:
svn path=/head/; revision=175261
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 |