aboutsummaryrefslogtreecommitdiff
path: root/mail/postilion
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-12-10 15:47:30 +0000
committerSteve Price <steve@FreeBSD.org>1999-12-10 15:47:30 +0000
commit281d8a6fec379b1828f192279f57256e9d6c067d (patch)
treeb621c20823d8650738d5edf2d578f17887aa1c44 /mail/postilion
parent6741d38a9ffc5d78d5be560e353b2d6f4a5336a7 (diff)
downloadports-281d8a6fec379b1828f192279f57256e9d6c067d.tar.gz
ports-281d8a6fec379b1828f192279f57256e9d6c067d.zip
Notes
Diffstat (limited to 'mail/postilion')
-rw-r--r--mail/postilion/Makefile44
-rw-r--r--mail/postilion/files/options.tcl4
-rw-r--r--mail/postilion/files/patch-aa26
3 files changed, 48 insertions, 26 deletions
diff --git a/mail/postilion/Makefile b/mail/postilion/Makefile
index 8e03d204d594..ecc21d0b4f33 100644
--- a/mail/postilion/Makefile
+++ b/mail/postilion/Makefile
@@ -7,37 +7,37 @@
#
DISTNAME= postilion-0.9.2
-CATEGORIES= mail tk80
+CATEGORIES= mail tk82
MASTER_SITES= http://www.postilion.org/
MAINTAINER= gljohns@bellsouth.net
-LIB_DEPENDS= tcl80.1:${PORTSDIR}/lang/tcl80 \
+LIB_DEPENDS= tcl82.1:${PORTSDIR}/lang/tcl82 \
img.1:${PORTSDIR}/graphics/libimg
-BUILD_DEPENDS= tclsh8.0:${PORTSDIR}/lang/tcl80
+BUILD_DEPENDS= tclsh8.2:${PORTSDIR}/lang/tcl82
FETCH_BEFORE_ARGS= -b
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-tcl-config=${PREFIX}/lib/tcl8.0
+CONFIGURE_ARGS= --with-tcl-config=${PREFIX}/lib/tcl8.2
-.if defined(STEPIFY)
-LIB_DEPENDS+= tkstep80.1:${PORTSDIR}/x11-toolkits/tkstep80 \
- Dnd.1:${PORTSDIR}/x11/libdnd \
- tiff.4:${PORTSDIR}/graphics/tiff \
- jpeg.9:${PORTSDIR}/graphics/jpeg \
- Xpm.4:${PORTSDIR}/graphics/xpm
-CONFIGURE_ARGS+= --with-tk-config=${PREFIX}/lib/tkstep8.0
-pre-patch:
- ${SED} s/'(DND) 0/(DND) 1'/ ${FILESDIR}/options.tcl > \
- ${WRKSRC}/postilion/options.tcl
-.else
-pre-extract:
- @${ECHO} ""
- @${ECHO} "You can build postilion with NeXtStep style widgets by defining STEPIFY"
- @${ECHO} ""
-LIB_DEPENDS+= tk80.1:${PORTSDIR}/x11-toolkits/tk80
-CONFIGURE_ARGS+= --with-tk-config=${PREFIX}/lib/tk8.0
-.endif
+#.if defined(STEPIFY)
+#LIB_DEPENDS+= tkstep80.1:${PORTSDIR}/x11-toolkits/tkstep80 \
+# Dnd.1:${PORTSDIR}/x11/libdnd \
+# tiff.4:${PORTSDIR}/graphics/tiff \
+# jpeg.9:${PORTSDIR}/graphics/jpeg \
+# Xpm.4:${PORTSDIR}/graphics/xpm
+#CONFIGURE_ARGS+= --with-tk-config=${PREFIX}/lib/tkstep8.0
+#pre-patch:
+# ${SED} s/'(DND) 0/(DND) 1'/ ${FILESDIR}/options.tcl > \
+# ${WRKSRC}/postilion/options.tcl
+#.else
+#pre-extract:
+# @${ECHO} ""
+# @${ECHO} "You can build postilion with NeXtStep style widgets by defining STEPIFY"
+# @${ECHO} ""
+LIB_DEPENDS+= tk82.1:${PORTSDIR}/x11-toolkits/tk82
+CONFIGURE_ARGS+= --with-tk-config=${PREFIX}/lib/tk8.2
+#.endif
.include <bsd.port.mk>
diff --git a/mail/postilion/files/options.tcl b/mail/postilion/files/options.tcl
index c5e66b7aaa0c..f370633dd85a 100644
--- a/mail/postilion/files/options.tcl
+++ b/mail/postilion/files/options.tcl
@@ -648,8 +648,8 @@ proc OptionsInit {} {
# Message finding fields
set option(msgfind_format) "%s%n%b%D"
- # Should we warn about tk version 8.0
- set option(warn_tk80) 1
+ # Should we warn about tk version 8.2
+ set option(warn_tk82) 1
## Ispell options
# Turn Ispell On/Off
diff --git a/mail/postilion/files/patch-aa b/mail/postilion/files/patch-aa
index 0b0bd4430331..422d78147264 100644
--- a/mail/postilion/files/patch-aa
+++ b/mail/postilion/files/patch-aa
@@ -1,11 +1,33 @@
--- configure.orig Sat Nov 28 18:36:04 1998
-+++ configure Sun Feb 21 10:24:44 1999
++++ configure Wed Dec 8 21:56:00 1999
+@@ -875,8 +875,8 @@
+ test -n "$AWK" && break
+ done
+
+-# Extract the first word of "tclsh8.0", so it can be a program name with args.
+-set dummy tclsh8.0; ac_word=$2
++# Extract the first word of "tclsh8.2", so it can be a program name with args.
++set dummy tclsh8.2; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+ echo "configure:882: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_tclsh'+set}'`\" = set"; then
+@@ -938,8 +938,8 @@
+ fi
+
+ if test "x$wish" = "x"; then
+- # Extract the first word of "wish8.0", so it can be a program name with args.
+-set dummy wish8.0; ac_word=$2
++ # Extract the first word of "wish8.2", so it can be a program name with args.
++set dummy wish8.2; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+ echo "configure:945: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_wish'+set}'`\" = set"; then
@@ -2074,7 +2074,7 @@
for i in $tcl_dirs ; do
tcl_include_dirs="$tcl_include_dirs $i/include"
done
-tcl_include_dirs="$tcl_include_dirs /usr/include/tcl /usr/include"
-+tcl_include_dirs="$tcl_include_dirs /usr/local/include/tcl8.0 /usr/local/include/tkstep8.0 /usr/local/include/tk8.0 /usr/include"
++tcl_include_dirs="$tcl_include_dirs /usr/local/include/tcl8.2 /usr/local/include/tkstep8.2 /usr/local/include/tk8.2 /usr/include"
tcl_dir=0
for i in $tcl_include_dirs ; do
if test -r $i/tcl.h ; then