Modify XPI_ID in every place.

PR:		ports/163781
Submitted by:	Igor Ostapenko <igor.ostapenko@gmail.com>
This commit is contained in:
Alex Dupre 2012-01-09 11:32:24 +00:00
parent 1e6a2b068d
commit 89f84bd07b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=288815

View file

@ -93,7 +93,8 @@ do-install:
@${MKDIR} ${XPI_LIBDIR}/${XPI_ID} ${XPI_LIBDIR}/symlinks/${GECKO}
@(cd ${XPI_LIBDIR}/${XPI_ID}; ${TAR} -xf ${XPI_FILE})
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${XPI_LIBDIR}/${XPI_ID}
@${REINPLACE_CMD} -i "" "s/${XPI_ORIG_ID}/${XPI_ID}/" ${XPI_LIBDIR}/${XPI_ID}/install.rdf
@${REINPLACE_CMD} -i "" "s/${XPI_ORIG_ID}/${XPI_ID}/" ${XPI_LIBDIR}/${XPI_ID}/install.rdf \
${XPI_LIBDIR}/${XPI_ID}/components/enigmail.js ${XPI_LIBDIR}/${XPI_ID}/modules/enigmailCommon.jsm
@${CHMOD} -R a+rX,go-w ${XPI_LIBDIR}/${XPI_ID}
@${LN} -sf ${XPI_LIBDIR}/${XPI_ID} ${LOCALBASE}/lib/${GECKO}/extensions 2>/dev/null || true
@${LN} -sf ${XPI_LIBDIR}/${XPI_ID} ${XPI_LIBDIR}/symlinks/${GECKO} 2>/dev/null || true