mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-31 10:46:16 +00:00
Install in the correct (seamonkey2) directory and remove CONFLICTS.
Port generalization. Approved by: flo
This commit is contained in:
parent
e04e0d69ce
commit
04f7d71487
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=279955
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= seamonkey
|
||||
DISTVERSION= 2.0.14
|
||||
PORTREVISION= 1
|
||||
CATEGORIES?= www ipv6
|
||||
MASTER_SITES= ${MASTER_SITE_MOZILLA_EXTENDED}
|
||||
MASTER_SITE_SUBDIR= seamonkey/releases/${DISTVERSION}/source
|
||||
@ -16,7 +17,6 @@ MAINTAINER= gecko@FreeBSD.org
|
||||
COMMENT= The open source, standards compliant web browser
|
||||
|
||||
CONFLICTS_BUILD= spidermonkey-1.[0-7]*
|
||||
CONFLICTS_INSTALL= seamonkey-1*
|
||||
LATEST_LINK= seamonkey2
|
||||
USE_BZIP2= yes
|
||||
USE_GMAKE= yes
|
||||
@ -33,7 +33,10 @@ CONFIGURE_ENV= LOCALBASE=${LOCALBASE} CPPFLAGS="-I${LOCALBASE}/include/cairo" \
|
||||
USE_GCC= 4.2+
|
||||
|
||||
MOZ_EXTENSIONS= default
|
||||
MOZ_OPTIONS+= --with-default-mozilla-five-home=${PREFIX}/lib/${MOZILLA} \
|
||||
MOZILLA_SUFX= 2
|
||||
MOZILLA= ${PORTNAME}${MOZILLA_SUFX}
|
||||
MOZ_OPTIONS+= --program-transform-name='s/seamonkey/${MOZILLA}/' \
|
||||
--with-default-mozilla-five-home=${PREFIX}/lib/${MOZILLA} \
|
||||
--enable-svg \
|
||||
--enable-application=suite \
|
||||
--enable-svg-renderer=cairo \
|
||||
@ -141,22 +144,19 @@ post-patch:
|
||||
${WRKSRC}/mozilla/js/src/configure \
|
||||
${WRKSRC}/mozilla/configure \
|
||||
${WRKSRC}/configure
|
||||
@${SED} -e 's|%%PREFIX%%|${PREFIX}|g' \
|
||||
@${SED} -e 's|%%MOZILLA%%|${MOZILLA}|g' \
|
||||
< ${FILESDIR}/seamonkey.desktop.in > \
|
||||
${WRKDIR}/seamonkey.desktop
|
||||
|
||||
port-pre-install:
|
||||
@${REINPLACE_CMD} -e 's|seamonkey-${PORTVERSION}|seamonkey|' \
|
||||
${FAKEDIR}/bin/seamonkey
|
||||
@${RM} -f ${FAKEDIR}/bin/seamonkey.bak
|
||||
${MV} ${FAKEDIR}/lib/seamonkey-${PORTVERSION} ${FAKEDIR}/lib/seamonkey
|
||||
${WRKDIR}/${MOZILLA}.desktop
|
||||
|
||||
pre-install:
|
||||
${ECHO_CMD} share/applications/seamonkey.desktop >> ${PLIST}
|
||||
${ECHO_CMD} share/applications/${MOZILLA}.desktop >> ${PLIST}
|
||||
${ECHO_CMD} "@unexec ${RMDIR} %D/share/applications 2>/dev/null || ${TRUE}" >> ${PLIST}
|
||||
${ECHO_CMD} 'share/pixmaps/${MOZILLA}.png' >> ${PLIST}
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${PREFIX}/share/applications
|
||||
${INSTALL_DATA} ${WRKDIR}/seamonkey.desktop ${PREFIX}/share/applications
|
||||
${INSTALL_DATA} ${WRKDIR}/${MOZILLA}.desktop ${PREFIX}/share/applications
|
||||
${LN} -sf ${PREFIX}/lib/${MOZILLA}/chrome/icons/default/default48.png \
|
||||
${PREFIX}/share/pixmaps/${MOZILLA}.png
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- config/autoconf.mk.in.orig 2009-07-17 15:18:04.000000000 +0200
|
||||
+++ config/autoconf.mk.in 2009-08-25 01:15:47.000000000 +0200
|
||||
@@ -61,7 +61,7 @@
|
||||
--- config/autoconf.mk.in.orig 2011-08-17 10:28:51.000000000 +0200
|
||||
+++ config/autoconf.mk.in 2011-08-17 10:29:26.000000000 +0200
|
||||
@@ -62,14 +62,14 @@
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
bindir = @bindir@
|
||||
@ -9,3 +9,13 @@
|
||||
libdir = @libdir@
|
||||
datadir = @datadir@
|
||||
mandir = @mandir@
|
||||
-idldir = $(datadir)/idl/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
|
||||
+idldir = $(datadir)/idl/%%MOZILLA%%
|
||||
|
||||
-installdir = $(libdir)/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
|
||||
-sdkdir = $(libdir)/$(MOZ_APP_NAME)-devel-$(MOZ_APP_VERSION)
|
||||
+installdir = $(libdir)/%%MOZILLA%%
|
||||
+sdkdir = $(libdir)/%%MOZILLA%%
|
||||
|
||||
MOZDEPTH = $(DEPTH)/mozilla
|
||||
DIST = $(MOZDEPTH)/dist
|
||||
|
@ -160,10 +160,10 @@ Comment[vi]=Duyệt web
|
||||
Comment[wa]=Naivyî avå les waibes
|
||||
Comment[zh_CN]=浏览 Web
|
||||
Comment[zh_TW]=瀏覽網頁
|
||||
Exec=seamonkey %U
|
||||
Exec=%%MOZILLA%% %U
|
||||
StartupNotify=true
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Icon=%%PREFIX%%/lib/seamonkey/chrome/icons/default/default48.png
|
||||
Icon=%%MOZILLA%%.png
|
||||
Categories=Application;Network;
|
||||
MimeType=text/html;text/xml;application/xhtml+xml;
|
||||
|
Loading…
Reference in New Issue
Block a user