From 7399a6b341ea6aa86ba87fbf2b3a8b5ddc9a6edf Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Mon, 28 Aug 2006 17:41:26 +0000 Subject: - Update to 1.5 - Support WITHOUT_NLS PR: ports/102546 Submitted by: Herbert J. Skuhra (maintainer) --- deskutils/calcurse/Makefile | 14 ++++++++++---- deskutils/calcurse/distinfo | 6 +++--- deskutils/calcurse/pkg-plist | 4 ++++ 3 files changed, 17 insertions(+), 7 deletions(-) create mode 100644 deskutils/calcurse/pkg-plist (limited to 'deskutils/calcurse') diff --git a/deskutils/calcurse/Makefile b/deskutils/calcurse/Makefile index f03163fe369d..8ddefbbda0cc 100644 --- a/deskutils/calcurse/Makefile +++ b/deskutils/calcurse/Makefile @@ -5,10 +5,9 @@ # $FreeBSD$ PORTNAME= calcurse -PORTVERSION= 1.3 +PORTVERSION= 1.5 CATEGORIES= deskutils -MASTER_SITES= ${MASTER_SITE_LOCAL} -MASTER_SITE_SUBDIR= arved +MASTER_SITES= ftp://ftp2.culot.org/culot/ MAINTAINER= h.skuhra@gmail.com COMMENT= A text-based personal organizer @@ -19,6 +18,13 @@ CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} CONFIGURE_ARGS= --prefix=${PREFIX} MAN1= calcurse.1 -PLIST_FILES= bin/${PORTNAME} + +.if defined(WITHOUT_NLS) +CONFIGURE_ARGS+= --disable-nls +PLIST_SUB+= NLS="@comment " +.else +USE_GETTEXT= yes +PLIST_SUB+= NLS="" +.endif .include diff --git a/deskutils/calcurse/distinfo b/deskutils/calcurse/distinfo index ef029041de13..562b510ae0c3 100644 --- a/deskutils/calcurse/distinfo +++ b/deskutils/calcurse/distinfo @@ -1,3 +1,3 @@ -MD5 (calcurse-1.3.tar.gz) = cab22db910f8136522b06d02fd0fc536 -SHA256 (calcurse-1.3.tar.gz) = ddf5a2aea26c218bccb923a2cea7b6213c3abb49326ca08511cc5fc874077544 -SIZE (calcurse-1.3.tar.gz) = 115961 +MD5 (calcurse-1.5.tar.gz) = 3e51b793b78abf5679f81195e1eb86ad +SHA256 (calcurse-1.5.tar.gz) = 4066158bde454ea763fb9a03ad46a4436507cc949bf1c103d9f910a7bf0df693 +SIZE (calcurse-1.5.tar.gz) = 282581 diff --git a/deskutils/calcurse/pkg-plist b/deskutils/calcurse/pkg-plist new file mode 100644 index 000000000000..58ded2420069 --- /dev/null +++ b/deskutils/calcurse/pkg-plist @@ -0,0 +1,4 @@ +bin/calcurse +%%NLS%%share/locale/de/LC_MESSAGES/calcurse.mo +%%NLS%%share/locale/en/LC_MESSAGES/calcurse.mo +%%NLS%%share/locale/fr/LC_MESSAGES/calcurse.mo -- cgit v1.2.3