summaryrefslogtreecommitdiff
path: root/deskutils/remind
diff options
context:
space:
mode:
authorPhilippe Audeoud <jadawin@FreeBSD.org>2012-07-13 12:55:01 +0000
committerPhilippe Audeoud <jadawin@FreeBSD.org>2012-07-13 12:55:01 +0000
commitf1bd02d77bd8b8fbf47b87dfe794db3ae7ead77e (patch)
treed18832f0565a9f7c940f7db84a3f3098150ec7d7 /deskutils/remind
parent- Mark Broken on i386 and WITHOUT_SIMD (diff)
- Update to 3.1.12
- Convert to new options framework PR: ports/169818 Submitted by: sunpoet@
Notes
Notes: svn path=/head/; revision=300857
Diffstat (limited to 'deskutils/remind')
-rw-r--r--deskutils/remind/Makefile16
-rw-r--r--deskutils/remind/distinfo4
2 files changed, 9 insertions, 11 deletions
diff --git a/deskutils/remind/Makefile b/deskutils/remind/Makefile
index 3d76c270af07..d2bbe0b48aba 100644
--- a/deskutils/remind/Makefile
+++ b/deskutils/remind/Makefile
@@ -6,18 +6,18 @@
#
PORTNAME= remind
-PORTVERSION= 3.1.10
+PORTVERSION= 3.1.12
CATEGORIES= deskutils
MASTER_SITES= http://www.roaringpenguin.com/files/download/ \
http://freebsd.unixfreunde.de/sources/
-DISTNAME= ${PORTNAME}-03.01.10
+DISTNAME= ${PORTNAME}-03.01.12
MAINTAINER= jadawin@FreeBSD.org
COMMENT= Sophisticated calendar and alarm program
LICENSE= GPLv2
-OPTIONS= TCLTK "Tcl/Tk support" off
+OPTIONS_DEFINE= TCLTK
GNU_CONFIGURE= yes
MAKE_ARGS= INSTALL_SCRIPT="${INSTALL_SCRIPT}"
@@ -28,15 +28,13 @@ PLIST_FILES= bin/rem bin/rem2ps bin/remind
.include <bsd.port.options.mk>
-.if defined(WITH_TCLTK)
+.if ${PORT_OPTIONS:MTCLTK}
USE_TK= yes
RUN_DEPENDS+= dtplite:${PORTSDIR}/devel/tcllib
MAN1+= cm2rem.1 tkremind.1
PLIST_FILES+= bin/cm2rem.tcl bin/tkremind
.endif
-.include <bsd.port.pre.mk>
-
post-patch:
# This seems more than a little ugly.
.if defined(LAT_DEG)
@@ -63,7 +61,7 @@ post-patch:
.if defined(A4)
@${REINPLACE_CMD} -e 's#"Letter", 612, 792#"A4", 595, 842#' ${WRKSRC}/src/custom.h
.endif
-.if defined(WITH_TCLTK)
+.if ${PORT_OPTIONS:MTCLTK}
@${REINPLACE_CMD} -e 's,wish,${WISH},' ${WRKSRC}/scripts/tkremind
@${REINPLACE_CMD} -e 's,tclsh,${TCLSH},' ${WRKSRC}/scripts/cm2rem.tcl
.endif
@@ -75,7 +73,7 @@ do-install:
.endfor
${INSTALL_MAN} ${WRKSRC}/man/rem.1 ${PREFIX}/man/man1
${LN} -sf ${PREFIX}/bin/remind ${PREFIX}/bin/rem
-.if defined(WITH_TCLTK)
+.if ${PORT_OPTIONS:MTCLTK}
${INSTALL_SCRIPT} ${WRKSRC}/scripts/cm2rem.tcl ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/scripts/tkremind ${PREFIX}/bin
.for i in cm2rem tkremind
@@ -83,4 +81,4 @@ do-install:
.endfor
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/deskutils/remind/distinfo b/deskutils/remind/distinfo
index bd664506e948..8bee4c0fe83d 100644
--- a/deskutils/remind/distinfo
+++ b/deskutils/remind/distinfo
@@ -1,2 +1,2 @@
-SHA256 (remind-03.01.10.tar.gz) = c62bea8db26b08704c1d7bc33f6775509ea649a4ff69316334639e4cdd9ed53e
-SIZE (remind-03.01.10.tar.gz) = 357033
+SHA256 (remind-03.01.12.tar.gz) = b8c7773ebbae80c7f340073c0c7f73124672c56a950d721f6afdab7b29f9cbb9
+SIZE (remind-03.01.12.tar.gz) = 361662 \ No newline at end of file