aboutsummaryrefslogtreecommitdiff
path: root/deskutils/calcurse
diff options
context:
space:
mode:
authorFrederic Culot <culot@FreeBSD.org>2011-05-31 13:12:16 +0000
committerFrederic Culot <culot@FreeBSD.org>2011-05-31 13:12:16 +0000
commit264f057b8771c2c4223879f32b9fb6aef0a39e62 (patch)
treeb424b9eb2e6a40d354a504bd3c5dcea598873b66 /deskutils/calcurse
parenta7ff5a621186915517da248eb53cbc46b5f9974d (diff)
downloadports-264f057b8771c2c4223879f32b9fb6aef0a39e62.tar.gz
ports-264f057b8771c2c4223879f32b9fb6aef0a39e62.zip
Notes
Diffstat (limited to 'deskutils/calcurse')
-rw-r--r--deskutils/calcurse/Makefile16
-rw-r--r--deskutils/calcurse/distinfo4
-rw-r--r--deskutils/calcurse/pkg-descr2
-rw-r--r--deskutils/calcurse/pkg-plist3
4 files changed, 20 insertions, 5 deletions
diff --git a/deskutils/calcurse/Makefile b/deskutils/calcurse/Makefile
index 18430f584134..9f902247f953 100644
--- a/deskutils/calcurse/Makefile
+++ b/deskutils/calcurse/Makefile
@@ -5,9 +5,10 @@
# $FreeBSD$
PORTNAME= calcurse
-PORTVERSION= 2.8
+PORTVERSION= 2.9.0
CATEGORIES= deskutils
-MASTER_SITES= ftp://ftp2.culot.org/culot/
+MASTER_SITES= http://calcurse.org/files/ \
+ ftp://ftp2.culot.org/culot/
MAINTAINER= culot@FreeBSD.org
COMMENT= A text-based calendar and scheduling application
@@ -25,4 +26,15 @@ USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.endif
+post-patch:
+.if !defined(NOPORTDOCS)
+ ${REINPLACE_CMD} -e \
+ 's|^docdir = .*|docdir = ${DOCSDIR}|' \
+ ${WRKSRC}/doc/Makefile.in
+.else
+ ${REINPLACE_CMD} -e \
+ '/install-data-am/ s|install-dist_docDATA||' \
+ ${WRKSRC}/doc/Makefile.in
+.endif
+
.include <bsd.port.mk>
diff --git a/deskutils/calcurse/distinfo b/deskutils/calcurse/distinfo
index 2f24dfc375cc..22eac7b067b5 100644
--- a/deskutils/calcurse/distinfo
+++ b/deskutils/calcurse/distinfo
@@ -1,2 +1,2 @@
-SHA256 (calcurse-2.8.tar.gz) = 94cca82e36950d868b16a1c66aea19ec7c202a523b4ca0271ca4693fb7fdd4d7
-SIZE (calcurse-2.8.tar.gz) = 551592
+SHA256 (calcurse-2.9.0.tar.gz) = 6fcd1a12c07e27334276b822ee1a04bd50d5ef5198ef52df64dac1eab6249219
+SIZE (calcurse-2.9.0.tar.gz) = 510338
diff --git a/deskutils/calcurse/pkg-descr b/deskutils/calcurse/pkg-descr
index 99903398f65e..007a9d517178 100644
--- a/deskutils/calcurse/pkg-descr
+++ b/deskutils/calcurse/pkg-descr
@@ -4,4 +4,4 @@ A configurable notification system reminds user of upcoming deadlines,
and the curses based interface can be customized to suit user needs.
All of the commands are documented within an online help system.
-WWW: http://culot.org/calcurse/
+WWW: http://calcurse.org/
diff --git a/deskutils/calcurse/pkg-plist b/deskutils/calcurse/pkg-plist
index b615b1a6c85e..3d97e83f7f2d 100644
--- a/deskutils/calcurse/pkg-plist
+++ b/deskutils/calcurse/pkg-plist
@@ -1,6 +1,9 @@
bin/calcurse
+%%PORTDOCS%%%%DOCSDIR%%/manual.html
%%NLS%%share/locale/de/LC_MESSAGES/calcurse.mo
%%NLS%%share/locale/en/LC_MESSAGES/calcurse.mo
%%NLS%%share/locale/es/LC_MESSAGES/calcurse.mo
%%NLS%%share/locale/fr/LC_MESSAGES/calcurse.mo
%%NLS%%share/locale/nl/LC_MESSAGES/calcurse.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/calcurse.mo
+%%PORTDOCS%%@dirrm %%DOCSDIR%%