This needs the updated tcl.port.mk I posted recently.
I'm also offering to take over this port.

Stu


Index: Makefile
===================================================================
RCS file: /cvs/ports/misc/remind/Makefile,v
retrieving revision 1.29
diff -u -p -r1.29 Makefile
--- Makefile    19 Nov 2010 07:23:12 -0000      1.29
+++ Makefile    16 May 2012 14:26:42 -0000
@@ -2,9 +2,8 @@

 COMMENT=       scripting language for reminders, with a Tk front end

-DISTNAME=      remind-03.01.03
-PKGNAME=       remind-3.1.3
-REVISION=      0
+DISTNAME=      remind-03.01.12
+PKGNAME=       remind-3.1.12
 CATEGORIES=    misc

 MASTER_SITES=  http://www.roaringpenguin.com/files/download/
@@ -20,18 +19,20 @@ PERMIT_DISTFILES_FTP=   Yes

 WANTLIB=               c m

-# Can run without TK, but most unglamorous without it.
-RUN_DEPENDS=   x11/tk/8.4 \
+MODULES=               x11/tk
+RUN_DEPENDS=   ${MODTK_RUN_DEPENDS} \
                devel/tcllib

-USE_GROFF =    Yes
 CONFIGURE_STYLE=       gnu

+REGRESS_TARGET=                test
+
+pre-configure:
+       ${MODTCL_WISH_ADJ}  ${WRKSRC}/scripts/tkremind
+       ${MODTCL_TCLSH_ADJ} ${WRKSRC}/scripts/cm2rem.tcl
+
 post-install:
        ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/remind
        ${INSTALL_DATA} ${WRKSRC}/examples/* ${PREFIX}/share/examples/remind
-
-do-regress:
-       cd ${WRKSRC}/tests; sh test-rem

 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/misc/remind/distinfo,v
retrieving revision 1.6
diff -u -p -r1.6 distinfo
--- distinfo    12 Dec 2007 21:39:40 -0000      1.6
+++ distinfo    16 May 2012 14:26:42 -0000
@@ -1,5 +1,5 @@
-MD5 (remind-03.01.03.tar.gz) = MvpTkJEIKdsW8fEmoBIOlA==
-RMD160 (remind-03.01.03.tar.gz) = tW1VVtTtUjwJsZPC+8fhUJGKLg4=
-SHA1 (remind-03.01.03.tar.gz) = hkmQkAGZIQLhsedAa5y2EfSn77E=
-SHA256 (remind-03.01.03.tar.gz) = 5w2a5Xyc/cQbDrONoGzfSMt/OMEabXfgaKhqXGeyLYs=
-SIZE (remind-03.01.03.tar.gz) = 304315
+MD5 (remind-03.01.12.tar.gz) = 3hbL/D7pTe/LGr33iy680Q==
+RMD160 (remind-03.01.12.tar.gz) = 2Y+xCunWy/Unfe0T3r4czQW8n7E=
+SHA1 (remind-03.01.12.tar.gz) = CXg1cBSRbgxSWeGLhF0pHus2e2w=
+SHA256 (remind-03.01.12.tar.gz) = uMd3PruugMfzQAc8DH9zEkZyxWqVDXIfav2reyn5y7k=
+SIZE (remind-03.01.12.tar.gz) = 361662
Index: patches/patch-scripts-cm2rem
===================================================================
RCS file: patches/patch-scripts-cm2rem
diff -N patches/patch-scripts-cm2rem
--- patches/patch-scripts-cm2rem        12 Dec 2007 21:39:40 -0000      1.4
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,11 +0,0 @@
---- scripts/cm2rem.tcl.orig    Wed Aug  8 12:04:05 2007
-+++ scripts/cm2rem.tcl Wed Dec 12 16:33:41 2007
-@@ -14,7 +14,7 @@
- #--------------------------------------------------------------
-
- # the next line restarts using tclsh \
--exec tclsh "$0" "$@"
-+exec tclsh8.4 "$0" "$@"
-
- set i 0
- foreach month {January February March April May June
Index: patches/patch-scripts-tkremind
===================================================================
RCS file: patches/patch-scripts-tkremind
diff -N patches/patch-scripts-tkremind
--- patches/patch-scripts-tkremind      12 Dec 2007 21:39:40 -0000      1.4
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,11 +0,0 @@
---- scripts/tkremind.orig      Mon Sep 10 16:53:22 2007
-+++ scripts/tkremind   Wed Dec 12 16:33:41 2007
-@@ -13,7 +13,7 @@
- #--------------------------------------------------------------
-
- # the next line restarts using wish \
--exec wish "$0" "$@"
-+exec wish8.4 "$0" "$@"
-
- wm withdraw .
-
Index: patches/patch-tests_test-rem
===================================================================
RCS file: patches/patch-tests_test-rem
diff -N patches/patch-tests_test-rem
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-tests_test-rem        16 May 2012 14:26:42 -0000
@@ -0,0 +1,15 @@
+$OpenBSD$
+
+- Fix broken test.
+
+--- tests/test-rem.orig        Tue May  8 17:14:59 2012
++++ tests/test-rem     Tue May  8 17:17:42 2012
+@@ -68,7 +68,7 @@ echo "Sort Test" >> ../tests/test.out
+ (echo "REM AT 12:00 MSG Untimed"; echo "REM MSG Timed") | ../src/remind -q 
-gaaad - 1 Jan 2000 >> ../tests/test.out 2>&1
+
+ echo "Purge Test" >> ../tests/test.out
+-../src/remind -j999 ../tests/purge_dir/f1.rem >> ../tests/test.out 2>&1
++../src/remind -j999 ../tests/purge_dir/f1.rem 3 Feb 2012 >> ../tests/test.out 
2>&1
+ echo "F1" >> ../tests/test.out
+ cat ../tests/purge_dir/f1.rem.purged >> ../tests/test.out
+ echo "F2" >> ../tests/test.out
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/misc/remind/pkg/PLIST,v
retrieving revision 1.5
diff -u -p -r1.5 PLIST
--- pkg/PLIST   12 Dec 2007 21:39:40 -0000      1.5
+++ pkg/PLIST   16 May 2012 14:26:42 -0000
@@ -1,8 +1,8 @@
 @comment $OpenBSD: PLIST,v 1.5 2007/12/12 21:39:40 okan Exp $
 bin/cm2rem.tcl
 bin/rem
-bin/rem2ps
-bin/remind
+@bin bin/rem2ps
+@bin bin/remind
 bin/tkremind
 @man man/man1/cm2rem.1
 @man man/man1/rem.1

Reply via email to