From f97693e8d6e06cb14a59ffa43f50ff9ab8a0cce2 Mon Sep 17 00:00:00 2001 From: rene Date: Sun, 29 Sep 2013 12:54:24 +0000 Subject: Add stage support. --- www/chromium/Makefile | 24 ++++++++++-------------- www/chromium/pkg-plist | 2 ++ 2 files changed, 12 insertions(+), 14 deletions(-) (limited to 'www') diff --git a/www/chromium/Makefile b/www/chromium/Makefile index 23fd80e5fe5d..d19895791765 100644 --- a/www/chromium/Makefile +++ b/www/chromium/Makefile @@ -51,7 +51,6 @@ USE_PERL5= build USE_PYTHON_BUILD= 2.6-2.7 USE_XORG= scrnsaverproto x11 xproto xscrnsaver xtst USE_GNOME= glib20 gtk20 dconf libxslt -MAN1= chrome.1 NINJA_TARGETS= chrome @@ -98,7 +97,6 @@ GCC_DESC= Build Chromium with GCC 4.6+ OPTIONS_DEFAULT= CODECS GCONF -NO_STAGE= yes .include .if ${PORT_OPTIONS:MCODECS} @@ -238,23 +236,21 @@ test regression-test: build .endfor do-install: - @${MKDIR} ${DATADIR} - ${INSTALL_MAN} ${WRKSRC}/out/${BUILDTYPE}/chrome.1 ${MANPREFIX}/man/man1 - ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/product_logo_48.png ${DATADIR} + ${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_MAN} ${WRKSRC}/out/${BUILDTYPE}/chrome.1 ${STAGEDIR}${MANPREFIX}/man/man1 + ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/product_logo_48.png ${STAGEDIR}${DATADIR} ${INSTALL_SCRIPT} ${WRKSRC}/out/${BUILDTYPE}/chrome-wrapper \ - ${WRKSRC}/out/${BUILDTYPE}/xdg-settings ${DATADIR} + ${WRKSRC}/out/${BUILDTYPE}/xdg-settings ${STAGEDIR}${DATADIR} .for p in chrome chrome_100_percent content_resources resources - ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/${p}.pak ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/${p}.pak ${STAGEDIR}${DATADIR} .endfor .for f in chrome libffmpegsumo.so protoc - ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/${f} ${DATADIR} + ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/${f} ${STAGEDIR}${DATADIR} .endfor cd ${WRKSRC}/out/${BUILDTYPE} && \ - ${COPYTREE_SHARE} "locales resources" ${DATADIR} - ${INSTALL_DATA} ${WRKDIR}/chromium-browser.desktop ${DESKTOPDIR} - ${LN} -sf ${DATADIR}/chrome ${PREFIX}/bin - -post-install: - ${CAT} ${PKGMESSAGE} + ${COPYTREE_SHARE} "locales resources" ${STAGEDIR}${DATADIR} + ${MKDIR} ${STAGEDIR}${DESKTOPDIR} + ${INSTALL_DATA} ${WRKDIR}/chromium-browser.desktop ${STAGEDIR}${DESKTOPDIR} + ${LN} -sf ${DATADIR}/chrome ${STAGEDIR}${PREFIX}/bin .include diff --git a/www/chromium/pkg-plist b/www/chromium/pkg-plist index 86c7a757cd2b..474889fc688e 100644 --- a/www/chromium/pkg-plist +++ b/www/chromium/pkg-plist @@ -1,4 +1,5 @@ bin/chrome +man/man1/chrome.1.gz share/applications/chromium-browser.desktop %%DATADIR%%/chrome %%DATADIR%%/chrome-wrapper @@ -221,3 +222,4 @@ share/applications/chromium-browser.desktop @dirrm %%DATADIR%%/resources/extension @dirrm %%DATADIR%%/resources @dirrm %%DATADIR%% +@dirrmtry share/applications -- cgit