Update to version 3.1.12. Use Tcl/Tk 8.5.
Now that MODTCL_TCLSH_ADJ and MODTCL_WISH_ADJ cover more lines, we can drop two patches. ok landry@
This commit is contained in:
parent
57232e795c
commit
203d2f21e4
@ -1,10 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.29 2010/11/19 07:23:12 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.30 2012/07/04 18:38:36 stu Exp $
|
||||
|
||||
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>
|
||||
|
@ -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
|
||||
|
@ -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
|
@ -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 .
|
||||
|
15
misc/remind/patches/patch-tests_test-rem
Normal file
15
misc/remind/patches/patch-tests_test-rem
Normal file
@ -0,0 +1,15 @@
|
||||
$OpenBSD: patch-tests_test-rem,v 1.1 2012/07/04 18:38:36 stu Exp $
|
||||
|
||||
Fix broken test. From upstream.
|
||||
|
||||
--- 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
|
@ -1,8 +1,8 @@
|
||||
@comment $OpenBSD: PLIST,v 1.5 2007/12/12 21:39:40 okan Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.6 2012/07/04 18:38:36 stu 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
|
||||
|
Loading…
Reference in New Issue
Block a user