Date: Mon, 13 Feb 2006 13:47:49 -0800 (PST) From: infofarmer@gmail.com To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/93311: update www/linux-seamonkey Message-ID: <43f0fe85.2ee53f22.4ba5.19ef@mx.gmail.com> Resent-Message-ID: <200602132150.k1DLo37f018844@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 93311 >Category: ports >Synopsis: update www/linux-seamonkey >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Feb 13 21:50:03 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Andrew Pantyukhin >Release: FreeBSD 6.1-PRERELEASE i386 >Organization: >Environment: System: FreeBSD sat64.net17 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #10: Mon Feb 6 22:10:58 MSK 2006 sat@sat64.net17:/usr/obj/usr/src/sys/SATCUR32 i386 >Description: o Depend on linux-hicolor-icon-theme o Add an ugly hack to prevent hangs o Add OPSYS/ARCH to user-agent string >How-To-Repeat: >Fix: --- linux-seamonkey.diff begins here --- diff -urN /usr/ports/www/linux-seamonkey/Makefile linux-seamonkey/Makefile --- /usr/ports/www/linux-seamonkey/Makefile Thu Feb 2 20:41:51 2006 +++ linux-seamonkey/Makefile Tue Feb 14 00:44:02 2006 @@ -8,6 +8,7 @@ PORTNAME= seamonkey PORTVERSION= 1.0 DISTVERSIONSUFFIX= .en-US.linux-i686 +PORTREVISION= 1 CATEGORIES= www linux MASTER_SITES= ${MASTER_SITE_MOZILLA} MASTER_SITE_SUBDIR= ${PORTNAME}/releases/${PORTVERSION} @@ -20,11 +21,12 @@ ${LINUXBASE}/usr/lib/libatk-1.0.so.0:${PORTSDIR}/accessibility/linux-atk \ ${LINUXBASE}/usr/lib/libpangoxft-1.0.so.0:${PORTSDIR}/x11-toolkits/linux-pango\ ${LINUXBASE}/usr/lib/libgobject-2.0.so.0:${PORTSDIR}/devel/linux-glib2 \ - ${LINUXBASE}/usr/lib/libfontconfig.so.1:${PORTSDIR}/x11-fonts/linux-fontconfig + ${LINUXBASE}/usr/lib/libfontconfig.so.1:${PORTSDIR}/x11-fonts/linux-fontconfig \ + ${LINUXBASE}/usr/share/icons/hicolor/index.theme:${PORTSDIR}/x11-themes/linux-hicolor-icon-theme NO_BUILD= yes ONLY_FOR_ARCHS= i386 amd64 -BROWSER_NAME= ${PKGNAMEPREFIX}${PORTNAME} +BROWSER_NAME= ${UNIQUENAME} USE_LINUX= yes USE_X_PREFIX= yes WRKSRC= ${WRKDIR}/${PORTNAME} @@ -34,13 +36,20 @@ SUB_LIST+= BROWSER_NAME=${BROWSER_NAME} SUB_FILES= linkfarm pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message +PREFS_FILE= ${WRKSRC}/defaults/pref/browser-prefs.js + +.include <bsd.port.pre.mk> + +post-patch: + ${ECHO} 'pref("general.useragent.vendor", "'${OPSYS}'");' >> ${PREFS_FILE} + ${ECHO} 'pref("general.useragent.vendorSub", "'${ARCH}'");' >> ${PREFS_FILE} do-install: ${INSTALL} -d ${FDIR} ${CP} -pR ${WRKSRC}/ ${FDIR}/ - ${LN} -sf ${FDIR}/${PORTNAME} ${PREFIX}/bin/${BROWSER_NAME} - ${LN} -sf ${FDIR}/${PORTNAME}-bin ${FDIR}/${BROWSER_NAME}-bin ${INSTALL_SCRIPT} ${WRKDIR}/linkfarm ${FDIR}/ + ${INSTALL_SCRIPT} ${FILESDIR}/run ${PREFIX}/bin/${BROWSER_NAME} + ${ECHO} 'cd ${PREFIX} && exec ${FDIR}/${PORTNAME}' >> ${PREFIX}/bin/${BROWSER_NAME} post-install: @${SH} ${FDIR}/linkfarm @@ -49,7 +58,6 @@ # Maintainer section create-plist: ${ECHO_CMD} bin/%%BROWSER_NAME%% > ${PLIST} - ${ECHO_CMD} lib/%%BROWSER_NAME%%/%%BROWSER_NAME%%-bin >> ${PLIST} cd ${WRKDIR} && ${FIND} ${PORTNAME} -type f -or -type l | \ ${SED} -e "s#^${PORTNAME}#lib/%%BROWSER_NAME%%#" | ${SORT} >> ${PLIST} ${ECHO_CMD} lib/%%BROWSER_NAME%%/linkfarm >> ${PLIST} @@ -59,4 +67,4 @@ cd ${WRKDIR} && ${FIND} -d ${PORTNAME} -type d | \ ${SED} -e "s#^${PORTNAME}#@dirrm lib/%%BROWSER_NAME%%#" >> ${PLIST} -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff -urN /usr/ports/www/linux-seamonkey/files/run linux-seamonkey/files/run --- /usr/ports/www/linux-seamonkey/files/run Thu Jan 1 03:00:00 1970 +++ linux-seamonkey/files/run Tue Feb 14 00:29:29 2006 @@ -0,0 +1 @@ +#!/bin/sh diff -urN /usr/ports/www/linux-seamonkey/pkg-plist linux-seamonkey/pkg-plist --- /usr/ports/www/linux-seamonkey/pkg-plist Thu Feb 2 20:41:51 2006 +++ linux-seamonkey/pkg-plist Tue Feb 14 00:37:52 2006 @@ -1,5 +1,4 @@ bin/%%BROWSER_NAME%% -lib/%%BROWSER_NAME%%/%%BROWSER_NAME%%-bin lib/%%BROWSER_NAME%%/LICENSE lib/%%BROWSER_NAME%%/README lib/%%BROWSER_NAME%%/chrome/US.jar --- linux-seamonkey.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43f0fe85.2ee53f22.4ba5.19ef>