diff options
author | rene <rene@FreeBSD.org> | 2013-09-29 20:54:24 +0800 |
---|---|---|
committer | rene <rene@FreeBSD.org> | 2013-09-29 20:54:24 +0800 |
commit | f97693e8d6e06cb14a59ffa43f50ff9ab8a0cce2 (patch) | |
tree | 931ad0cc8d8284a1cb422e97f4c31a5166696aae /www | |
parent | c924e2039746e5d9f3223df01c7c638d2373e9cf (diff) | |
download | freebsd-ports-gnome-f97693e8d6e06cb14a59ffa43f50ff9ab8a0cce2.tar.gz freebsd-ports-gnome-f97693e8d6e06cb14a59ffa43f50ff9ab8a0cce2.tar.zst freebsd-ports-gnome-f97693e8d6e06cb14a59ffa43f50ff9ab8a0cce2.zip |
Add stage support.
Diffstat (limited to 'www')
-rw-r--r-- | www/chromium/Makefile | 24 | ||||
-rw-r--r-- | www/chromium/pkg-plist | 2 |
2 files changed, 12 insertions, 14 deletions
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 <bsd.port.options.mk> .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 <bsd.port.post.mk> 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 |