mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Several cleanups:
- remove local hack used to build PSM and use vendor-supplied procedure instead; - remove superfluous chmod; - remove several leftovers from mozilla-headers/Makefile. Submitted by: Szilveszter Adam <sziszi@petra.hos.u-szeged.hu>, sobomax
This commit is contained in:
parent
31c02e1658
commit
f93e60ab7f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=43934
@ -39,6 +39,7 @@ CONFIGURE_ARGS= \
|
||||
--disable-md \
|
||||
--disable-pedantic \
|
||||
--disable-xterm-updates \
|
||||
--enable-crypto \
|
||||
--enable-double-buffer \
|
||||
--enable-editor \
|
||||
--enable-mailnews \
|
||||
@ -58,10 +59,8 @@ CONFIGURE_ENV= BSD_PTHREAD_LIBS="${PTHREAD_LIBS}"
|
||||
MAKE_ENV= LD_LIBRARY_PATH=${WRKSRC}/dist/bin
|
||||
|
||||
post-build:
|
||||
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} BUILD_MODULES=psm
|
||||
@${SED} -e "s;@PREFIX@;${PREFIX};g" \
|
||||
${FILESDIR}/mozilla.sh >${WRKSRC}/mozilla
|
||||
@${CHMOD} 555 ${WRKSRC}/mozilla
|
||||
@(cd ${WRKSRC}/dist/bin; \
|
||||
${SETENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regxpcom; \
|
||||
${ECHO} skin,install,select,classic/1.0 >> chrome/installed-chrome.txt; \
|
||||
|
@ -91,7 +91,7 @@ lib/mozilla/chrome/overlayinfo/navigator/content/overlays.rdf
|
||||
lib/mozilla/chrome/pipnss.jar
|
||||
lib/mozilla/chrome/pippki.jar
|
||||
lib/mozilla/chrome/toolkit.jar
|
||||
lib/mozilla/chrome/user-locales.rdf
|
||||
@unexec rm -f %D/lib/mozilla/chrome/user-locales.rdf
|
||||
lib/mozilla/chrome/user-skins.rdf
|
||||
lib/mozilla/component.reg
|
||||
lib/mozilla/components/absync.xpt
|
||||
|
@ -22,20 +22,14 @@ MAINDIR= ${.CURDIR}/../mozilla
|
||||
PORTVERSION!= ${PORTVERSION}
|
||||
PORTREVISION!= ${PORTREVISION}
|
||||
PORTEPOCH!= ${PORTEPOCH}
|
||||
RUN_DEPENDS!= ${RUN_DEPENDS}
|
||||
LIB_DEPENDS!= ${LIB_DEPENDS}
|
||||
WRKSRC= ${WRKDIRPREFIX}${MAINDIR}/work/mozilla
|
||||
USE_GMAKE= yes
|
||||
ALL_TARGET= export
|
||||
|
||||
post-build:
|
||||
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} BUILD_MODULES=psm \
|
||||
${ALL_TARGET}
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${PREFIX}/include/mozilla
|
||||
${CHMOD} 755 ${PREFIX}/include/mozilla
|
||||
cd ${WRKSRC}/dist/include && ${TAR} -chf - . | \
|
||||
${TAR} --unlink -xf - -C ${PREFIX}/include/mozilla
|
||||
${TAR} -C ${WRKSRC}/dist/include -chf - . | \
|
||||
${TAR} -C ${PREFIX}/include/mozilla --unlink -xf -
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -22,20 +22,14 @@ MAINDIR= ${.CURDIR}/../mozilla
|
||||
PORTVERSION!= ${PORTVERSION}
|
||||
PORTREVISION!= ${PORTREVISION}
|
||||
PORTEPOCH!= ${PORTEPOCH}
|
||||
RUN_DEPENDS!= ${RUN_DEPENDS}
|
||||
LIB_DEPENDS!= ${LIB_DEPENDS}
|
||||
WRKSRC= ${WRKDIRPREFIX}${MAINDIR}/work/mozilla
|
||||
USE_GMAKE= yes
|
||||
ALL_TARGET= export
|
||||
|
||||
post-build:
|
||||
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} BUILD_MODULES=psm \
|
||||
${ALL_TARGET}
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${PREFIX}/include/mozilla
|
||||
${CHMOD} 755 ${PREFIX}/include/mozilla
|
||||
cd ${WRKSRC}/dist/include && ${TAR} -chf - . | \
|
||||
${TAR} --unlink -xf - -C ${PREFIX}/include/mozilla
|
||||
${TAR} -C ${WRKSRC}/dist/include -chf - . | \
|
||||
${TAR} -C ${PREFIX}/include/mozilla --unlink -xf -
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -22,20 +22,14 @@ MAINDIR= ${.CURDIR}/../mozilla
|
||||
PORTVERSION!= ${PORTVERSION}
|
||||
PORTREVISION!= ${PORTREVISION}
|
||||
PORTEPOCH!= ${PORTEPOCH}
|
||||
RUN_DEPENDS!= ${RUN_DEPENDS}
|
||||
LIB_DEPENDS!= ${LIB_DEPENDS}
|
||||
WRKSRC= ${WRKDIRPREFIX}${MAINDIR}/work/mozilla
|
||||
USE_GMAKE= yes
|
||||
ALL_TARGET= export
|
||||
|
||||
post-build:
|
||||
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} BUILD_MODULES=psm \
|
||||
${ALL_TARGET}
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${PREFIX}/include/mozilla
|
||||
${CHMOD} 755 ${PREFIX}/include/mozilla
|
||||
cd ${WRKSRC}/dist/include && ${TAR} -chf - . | \
|
||||
${TAR} --unlink -xf - -C ${PREFIX}/include/mozilla
|
||||
${TAR} -C ${WRKSRC}/dist/include -chf - . | \
|
||||
${TAR} -C ${PREFIX}/include/mozilla --unlink -xf -
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -39,6 +39,7 @@ CONFIGURE_ARGS= \
|
||||
--disable-md \
|
||||
--disable-pedantic \
|
||||
--disable-xterm-updates \
|
||||
--enable-crypto \
|
||||
--enable-double-buffer \
|
||||
--enable-editor \
|
||||
--enable-mailnews \
|
||||
@ -58,10 +59,8 @@ CONFIGURE_ENV= BSD_PTHREAD_LIBS="${PTHREAD_LIBS}"
|
||||
MAKE_ENV= LD_LIBRARY_PATH=${WRKSRC}/dist/bin
|
||||
|
||||
post-build:
|
||||
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} BUILD_MODULES=psm
|
||||
@${SED} -e "s;@PREFIX@;${PREFIX};g" \
|
||||
${FILESDIR}/mozilla.sh >${WRKSRC}/mozilla
|
||||
@${CHMOD} 555 ${WRKSRC}/mozilla
|
||||
@(cd ${WRKSRC}/dist/bin; \
|
||||
${SETENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regxpcom; \
|
||||
${ECHO} skin,install,select,classic/1.0 >> chrome/installed-chrome.txt; \
|
||||
|
@ -91,7 +91,7 @@ lib/mozilla/chrome/overlayinfo/navigator/content/overlays.rdf
|
||||
lib/mozilla/chrome/pipnss.jar
|
||||
lib/mozilla/chrome/pippki.jar
|
||||
lib/mozilla/chrome/toolkit.jar
|
||||
lib/mozilla/chrome/user-locales.rdf
|
||||
@unexec rm -f %D/lib/mozilla/chrome/user-locales.rdf
|
||||
lib/mozilla/chrome/user-skins.rdf
|
||||
lib/mozilla/component.reg
|
||||
lib/mozilla/components/absync.xpt
|
||||
|
@ -39,6 +39,7 @@ CONFIGURE_ARGS= \
|
||||
--disable-md \
|
||||
--disable-pedantic \
|
||||
--disable-xterm-updates \
|
||||
--enable-crypto \
|
||||
--enable-double-buffer \
|
||||
--enable-editor \
|
||||
--enable-mailnews \
|
||||
@ -58,10 +59,8 @@ CONFIGURE_ENV= BSD_PTHREAD_LIBS="${PTHREAD_LIBS}"
|
||||
MAKE_ENV= LD_LIBRARY_PATH=${WRKSRC}/dist/bin
|
||||
|
||||
post-build:
|
||||
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} BUILD_MODULES=psm
|
||||
@${SED} -e "s;@PREFIX@;${PREFIX};g" \
|
||||
${FILESDIR}/mozilla.sh >${WRKSRC}/mozilla
|
||||
@${CHMOD} 555 ${WRKSRC}/mozilla
|
||||
@(cd ${WRKSRC}/dist/bin; \
|
||||
${SETENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regxpcom; \
|
||||
${ECHO} skin,install,select,classic/1.0 >> chrome/installed-chrome.txt; \
|
||||
|
@ -91,7 +91,7 @@ lib/mozilla/chrome/overlayinfo/navigator/content/overlays.rdf
|
||||
lib/mozilla/chrome/pipnss.jar
|
||||
lib/mozilla/chrome/pippki.jar
|
||||
lib/mozilla/chrome/toolkit.jar
|
||||
lib/mozilla/chrome/user-locales.rdf
|
||||
@unexec rm -f %D/lib/mozilla/chrome/user-locales.rdf
|
||||
lib/mozilla/chrome/user-skins.rdf
|
||||
lib/mozilla/component.reg
|
||||
lib/mozilla/components/absync.xpt
|
||||
|
@ -39,6 +39,7 @@ CONFIGURE_ARGS= \
|
||||
--disable-md \
|
||||
--disable-pedantic \
|
||||
--disable-xterm-updates \
|
||||
--enable-crypto \
|
||||
--enable-double-buffer \
|
||||
--enable-editor \
|
||||
--enable-mailnews \
|
||||
@ -58,10 +59,8 @@ CONFIGURE_ENV= BSD_PTHREAD_LIBS="${PTHREAD_LIBS}"
|
||||
MAKE_ENV= LD_LIBRARY_PATH=${WRKSRC}/dist/bin
|
||||
|
||||
post-build:
|
||||
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} BUILD_MODULES=psm
|
||||
@${SED} -e "s;@PREFIX@;${PREFIX};g" \
|
||||
${FILESDIR}/mozilla.sh >${WRKSRC}/mozilla
|
||||
@${CHMOD} 555 ${WRKSRC}/mozilla
|
||||
@(cd ${WRKSRC}/dist/bin; \
|
||||
${SETENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regxpcom; \
|
||||
${ECHO} skin,install,select,classic/1.0 >> chrome/installed-chrome.txt; \
|
||||
|
@ -91,7 +91,7 @@ lib/mozilla/chrome/overlayinfo/navigator/content/overlays.rdf
|
||||
lib/mozilla/chrome/pipnss.jar
|
||||
lib/mozilla/chrome/pippki.jar
|
||||
lib/mozilla/chrome/toolkit.jar
|
||||
lib/mozilla/chrome/user-locales.rdf
|
||||
@unexec rm -f %D/lib/mozilla/chrome/user-locales.rdf
|
||||
lib/mozilla/chrome/user-skins.rdf
|
||||
lib/mozilla/component.reg
|
||||
lib/mozilla/components/absync.xpt
|
||||
|
@ -39,6 +39,7 @@ CONFIGURE_ARGS= \
|
||||
--disable-md \
|
||||
--disable-pedantic \
|
||||
--disable-xterm-updates \
|
||||
--enable-crypto \
|
||||
--enable-double-buffer \
|
||||
--enable-editor \
|
||||
--enable-mailnews \
|
||||
@ -58,10 +59,8 @@ CONFIGURE_ENV= BSD_PTHREAD_LIBS="${PTHREAD_LIBS}"
|
||||
MAKE_ENV= LD_LIBRARY_PATH=${WRKSRC}/dist/bin
|
||||
|
||||
post-build:
|
||||
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} BUILD_MODULES=psm
|
||||
@${SED} -e "s;@PREFIX@;${PREFIX};g" \
|
||||
${FILESDIR}/mozilla.sh >${WRKSRC}/mozilla
|
||||
@${CHMOD} 555 ${WRKSRC}/mozilla
|
||||
@(cd ${WRKSRC}/dist/bin; \
|
||||
${SETENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regxpcom; \
|
||||
${ECHO} skin,install,select,classic/1.0 >> chrome/installed-chrome.txt; \
|
||||
|
@ -91,7 +91,7 @@ lib/mozilla/chrome/overlayinfo/navigator/content/overlays.rdf
|
||||
lib/mozilla/chrome/pipnss.jar
|
||||
lib/mozilla/chrome/pippki.jar
|
||||
lib/mozilla/chrome/toolkit.jar
|
||||
lib/mozilla/chrome/user-locales.rdf
|
||||
@unexec rm -f %D/lib/mozilla/chrome/user-locales.rdf
|
||||
lib/mozilla/chrome/user-skins.rdf
|
||||
lib/mozilla/component.reg
|
||||
lib/mozilla/components/absync.xpt
|
||||
|
Loading…
Reference in New Issue
Block a user