ports/102921: mail/mulberry4, patches to add functionality

Paul Schmehl pauls at utdallas.edu
Tue Sep 5 20:40:21 UTC 2006


>Number:         102921
>Category:       ports
>Synopsis:       mail/mulberry4, patches to add functionality
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 05 20:40:18 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Paul Schmehl
>Release:        FreeBSD 6.0-RELEASE-p6 i386
>Organization:
The University of Texas at Dallas
>Environment:
System: FreeBSD hostname.utdallas.edu 6.0-RELEASE-p6 FreeBSD 6.0-RELEASE-p6 #1: Sat Apr 1 21:39:10 CST 2006 root at utd59514.utdallas.edu:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
	These patches should only be applied to the recently submitted PR
	http://www.freebsd.org/cgi/query-pr.cgi?pr=102835
	which updates the mail/mulberry4 port to the latest version - 4.0.5

	These patches add mailcap and url.helpers files to the install in
	order to provide some default functionality to Mulberry.  They tell
	Mulberry how to handle attachments (MIME) and urls in email.
>How-To-Repeat:
	
>Fix:

	

--- patch-Makefile begins here ---
--- Makefile.orig	Tue Sep  5 15:13:38 2006
+++ Makefile	Tue Sep  5 15:16:20 2006
@@ -46,6 +46,8 @@
 	${INSTALL_DATA} ${WRKSRC}/.${PORTNAME}/Resources/* ${RESOURCESDIR}
 	${INSTALL_DATA} ${WRKSRC}/.${PORTNAME}/Plug-ins/Timezones/* ${TZDIR}
 	${INSTALL_DATA} ${WRKSRC}/.${PORTNAME}/icons/* ${PIXMAPSDIR}
+	${INSTALL_DATA} ${FILESDIR}/mailcap ${PREFIX}/etc/
+	${INSTALL_DATA} ${FILESDIR}/url.helpers ${PREFIX}/lib/
 	${INSTALL_SCRIPT} ${WRKSRC}/mulberry-start ${PREFIX}/bin/
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
--- patch-Makefile ends here ---

--- patch-pkg-message begins here ---
--- files/pkg-message.in.orig	Tue Sep  5 15:21:44 2006
+++ files/pkg-message.in	Tue Sep  5 15:25:16 2006
@@ -3,5 +3,16 @@
 Support is through the community.  If you need support, you
 can start here - http://www.mulberrymail.com/support.shtml
 
+This port installs a url.helper file in %%PREFIX%%/lib
+and a mailcap file in %%PREFIX%%/etc.  These files tell
+Mulberry how to handle links and attachments (respectively)
+in email.  They assume that you are using Firefox and KDE.  If
+you want to override their values, copy them to .url.helpers
+and .mailcap in your home directory and then edit them
+appropriately.
+
 To run Mulberry, launch the mulberry-start script found in
-%%PREFIX%%/bin/.
+%%PREFIX%%/bin/.  The startup script sources the Resources
+directory properly so that Mulberry's GUI will display text
+correctly.
+
--- patch-pkg-message ends here ---

--- patch-pkg-plist begins here ---
--- pkg-plist.orig	Tue Sep  5 15:19:39 2006
+++ pkg-plist	Tue Sep  5 15:20:22 2006
@@ -1,4 +1,6 @@
 bin/%%PORTNAME%%
+etc/mailcap
+lib/url.helpers
 lib/%%PORTNAME%%/Plug-ins/ASpellPlugin.so
 lib/%%PORTNAME%%/Plug-ins/CRAMMD5Plugin.so
 lib/%%PORTNAME%%/Plug-ins/CommunicatorAdbkIOPlugin.so
--- patch-pkg-plist ends here ---

--- mailcap begins here ---
image/jpeg; kview %s
image/gif; kview %s
application/rtf; kword %s
application/msword; kword %s
application/vnd.ms-excel; kspread %s
application/pdf; kpdf %s
video/x-ms-wmv; mplayer %s
--- mailcap ends here ---

--- url.helpers begins here ---
http firefox %s
https firefox %s
ftp firefox %s
--- url.helpers ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list