From 5b1fd5d7514fe128090ca33499da4e0b2fd25b43 Mon Sep 17 00:00:00 2001 From: Pietro Cerutti Date: Mon, 14 Apr 2008 10:06:41 +0000 Subject: - Update to 3.2.9.1 Approved by: miwi (mentor) --- mail/kshowmail/Makefile | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'mail/kshowmail/Makefile') diff --git a/mail/kshowmail/Makefile b/mail/kshowmail/Makefile index 0da68c3aa17d..4f91e40b3be2 100644 --- a/mail/kshowmail/Makefile +++ b/mail/kshowmail/Makefile @@ -5,7 +5,7 @@ # $FreeBSD$ PORTNAME= kshowmail -PORTVERSION= 3.2.1 +PORTVERSION= 3.2.9.1 CATEGORIES= mail kde MASTER_SITES= SF @@ -19,9 +19,23 @@ USE_GMAKE= yes USE_AUTOTOOLS= autoconf:261:env automake:19:env libtool:15:env GNU_CONFIGURE= yes +.include + +.if defined(WITHOUT_NLS) +PLIST_SUB= NLS="@comment " +.else +USE_GETTEXT= yes +PLIST_SUB= NLS="" +.endif + +post-patch: +.if defined(WITHOUT_NLS) + ${REINPLACE_CMD} -e 's|po||g' ${WRKSRC}/Makefile.am +.endif + pre-configure: @cd ${WRKSRC}/admin && ${RM} -f ltmain.sh && ${CP} -f ${LTMAIN} . @cd ${WRKSRC}/admin && ${RM} -f libtool.m4.in && ${CP} -f ${LIBTOOL_M4} libtool.m4.in @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} -f admin/Makefile.common -.include +.include -- cgit v1.2.3