1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00

Update 2,7,2 --> 2.8.0

Feature safe:	yes
This commit is contained in:
Cy Schubert 2012-12-08 07:08:09 +00:00
parent a18af5fc69
commit 99a5455d74
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=308464
5 changed files with 13 additions and 57 deletions

View File

@ -8,11 +8,11 @@
# "+=" and "?=" lines are for sharing this Makefile with japanese/exmh2.
PORTNAME= exmh
PORTVERSION= 2.7.2
PORTREVISION= 6
PORTVERSION= 2.8.0
CATEGORIES+= mail tk
MASTER_SITES= ${MASTER_SITE_TCLTK} \
SF
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER?= cy@FreeBSD.org
COMMENT?= X11/TK based mail reader front end to MH
@ -23,10 +23,7 @@ BUILD_DEPENDS= tclsh8.0jp:${PORTSDIR}/japanese/tcl80
WISH= wish8.0jp
TCLSH= tclsh8.0jp
.else
RUN_DEPENDS= wish8.6:${PORTSDIR}/x11-toolkits/tk86
BUILD_DEPENDS= tclsh8.6:${PORTSDIR}/lang/tcl86
WISH= wish8.6
TCLSH= tclsh8.6
USE_TK= 86
.endif
# exmh is pretty useless without this, but it's not needed to build it.
@ -53,13 +50,21 @@ PLIST_SUB= EXMH_VERSION=${PORTVERSION}
MAN1= exmh.1
.if defined(JAPANESE_EXMH)
do-build:
@cd ${WRKSRC} && ${SETENV} PREFIX=${PREFIX} TCLSH=${TCLSH} \
WISH=${PREFIX}/bin/${WISH} WRKSRC=${WRKSRC} \
${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/build
.else
do-build:
@cd ${WRKSRC} && ${SETENV} PREFIX=${PREFIX} TCLSH=${TCLSH} \
WISH=${WISH} WRKSRC=${WRKSRC} \
${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/build
.endif
do-install:
@cd ${WRKSRC} && ${SETENV} PREFIX=${PREFIX} \
WRKSRC=${WRKSRC} ${SH} ${SCRIPTDIR}/install
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (exmh-2.7.2.tar.gz) = f4533950bd6c843427fcae28e0946454c94eb47745f20256b847dba540bc5f3e
SIZE (exmh-2.7.2.tar.gz) = 1081601
SHA256 (exmh-2.8.0.tar.gz) = 0d907a19cbed17506e5fcd2212f13e9342e1619f174bf9a1733cc6a7c479d7cb
SIZE (exmh-2.8.0.tar.gz) = 1090674

View File

@ -1,25 +0,0 @@
--- lib/folder.tcl.orig Wed Dec 29 23:39:51 2004
+++ lib/folder.tcl Wed May 25 00:02:21 2005
@@ -311,17 +311,17 @@
set out [open $fn w]
puts $out "wm withdraw ."
- puts $out "source $exmh(library)/folder.tcl"
+ puts $out [list lappend auto_path $exmh(library)]
puts $out [list set mhProfile(delprefix) $mhProfile(delprefix)]
puts $out [list set mhProfile(purgeage) $mhProfile(purgeage)]
puts $out [list set mhProfile(path) $mhProfile(path)]
- puts $out "proc Exmh_Status { s } \{catch \{send \"[winfo name .]\" \[list Exmh_Status \$s]\}\}"
+ puts $out "proc Exmh_Status { s args } \{catch \{send \"[winfo name .]\" \[list Exmh_Status \$s]\}\}"
puts $out "proc Exmh_Debug { args } {}"
- puts $out [list proc File_Delete [info args File_Delete] [info body File_Delete]]
+ puts $out "Env_Init"
foreach folder $folderlist {
- puts $out "Folder_Purge $folder"
+ puts $out [list Folder_Purge $folder]
}
- puts $out "File_Delete $fn"
+ puts $out [list File_Delete $fn]
puts $out exit
close $out
exec $wish -f $fn &

View File

@ -1,11 +0,0 @@
--- lib/quote.tcl.orig Mon Jul 26 20:23:33 2004
+++ lib/quote.tcl Wed May 25 00:04:18 2005
@@ -23,7 +23,7 @@
return;
} else {
if {$quote(symlink)} {
- if [catch {file link -symbolic $mhProfile(path)/$folder/$msg $quote(filename)} err] {
+ if [catch {exec ln -s $mhProfile(path)/$folder/$msg $quote(filename)} err] {
Exmh_Debug "Quote_MakeFile: $err"
}
} else {

View File

@ -1,13 +0,0 @@
--- lib/uri.tcl.orig Mon Jul 26 20:23:34 2004
+++ lib/uri.tcl Wed May 25 00:05:06 2005
@@ -174,8 +174,8 @@
global mimeHdr mime
set fileName $mimeHdr($part,file)
File_Delete [Env_Tmp]/exmh.[pid].html
- if [catch {file link -hard $fileName [Env_Tmp]/exmh.[pid].html}] {
- file copy $fileName [Env_Tmp]/exmh.[pid].html
+ if [catch {exec ln $fileName [Env_Tmp]/exmh.[pid].html}] {
+ exec cp $fileName [Env_Tmp]/exmh.[pid].html
}
set fileName [Env_Tmp]/exmh.[pid].html
Exmh_Status "HTML Load $fileName"