Date: Wed, 9 Apr 2014 12:23:37 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r350684 - head/www/firefox-i18n Message-ID: <201404091223.s39CNbgG019436@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Wed Apr 9 12:23:37 2014 New Revision: 350684 URL: http://svnweb.freebsd.org/changeset/ports/350684 QAT: https://qat.redports.org/buildarchive/r350684/ Log: Support stage Use USES=gecko Modified: head/www/firefox-i18n/Makefile Modified: head/www/firefox-i18n/Makefile ============================================================================== --- head/www/firefox-i18n/Makefile Wed Apr 9 12:20:08 2014 (r350683) +++ head/www/firefox-i18n/Makefile Wed Apr 9 12:23:37 2014 (r350684) @@ -14,8 +14,7 @@ COMMENT= Localized interface for Firefox EXTRACT_DEPENDS= zip:${PORTSDIR}/archivers/zip -USES= zip:infozip -USE_FIREFOX= 28 +USES= zip:infozip gecko:firefox,28 USE_XPI= firefox linux-firefox NO_ARCH= yes @@ -29,7 +28,6 @@ PLIST?= ${WRKDIR}/plist PLISTD?= ${WRKDIR}/plist_dirs PLISTF?= ${WRKDIR}/plist_files -NO_STAGE= yes .include "${.CURDIR}/Makefile.option" .include <bsd.port.pre.mk> @@ -71,11 +69,14 @@ pre-configure: config .endif do-install: - @${INSTALL} -d ${XPI_LIBDIR} ${XPI_SLDIRS_ALL} - @${CP} -R ${WRKSRC}/ ${XPI_LIBDIR}/ - @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${XPI_LIBDIR}/${WDIR}/ - @${CHMOD} -R a+rX,go-w ${XPI_LIBDIR}/${WDIR}/ - @for _dir in ${XPI_LINKFARMS} ; { ${LN} -sf ${XPI_LIBDIR}/${WDIR} $$_dir/ ${_Q} ; } + @${MKDIR} ${STAGEDIR}${XPI_LIBDIR} ${STAGEDIR}${XPI_SLDIRS_ALL} + cd ${WRKSRC}; ${PAX} -rw . ${STAGEDIR}${XPI_LIBDIR} + ${CHMOD} -R a+rX,go-w ${STAGEDIR}${XPI_LIBDIR}/${WDIR}/ + @for e in ${STAGEDIR}${XPI_LIBDIR}/${WDIR}; do \ + for _dir in ${XPI_LINKFARMS} ; do \ + ${LN} -sf $${_e##*/} ${STAGEDIR}$$_dir/ ${_Q} ; \ + done \ + done @${ECHO_CMD} '@exec ${INSTALL} -d ${XPI_SLDIRS_ALL:S,^${PREFIX},%D,}' ${_A} @${ECHO_CMD} '@exec for _dir in ${XPI_LINKFARMS} ; { \ ${LN} -sf ${XPI_LIBDIR}/${WDIR} $$_dir/ ${_Q}; }' ${_A}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404091223.s39CNbgG019436>