From 254ec982e030beccc58d5353f882085fd6779b46 Mon Sep 17 00:00:00 2001 From: marcus Date: Fri, 20 Aug 2004 04:48:36 +0000 Subject: Update to 2.0. PR: 70651 Submitted by: maintainer --- net-im/pidgin-guifications/Makefile | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'net-im/pidgin-guifications/Makefile') diff --git a/net-im/pidgin-guifications/Makefile b/net-im/pidgin-guifications/Makefile index c2c167ddf6c9..14dbf35e1774 100644 --- a/net-im/pidgin-guifications/Makefile +++ b/net-im/pidgin-guifications/Makefile @@ -6,8 +6,7 @@ # PORTNAME= guifications -PORTVERSION= 1.10 -PORTREVISION= 1 +PORTVERSION= 2.0 CATEGORIES= misc MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -23,5 +22,21 @@ USE_X_PREFIX= yes USE_GMAKE= yes USE_GNOME= gnomeprefix gnomehack gtk20 USE_LIBTOOL_VER=15 +USE_REINPLACE= yes + +.if !defined(WITHOUT_NLS) +USE_GETTEXT= yes +CONFIGURE_ARGS+=--with-libintl-prefix=${LOCALBASE} +CONFIGURE_ENV+="CPPFLAGS=-I${LOCALBASE}/include" "LIBS=-L${LOCALBASE}/lib" +PLIST_SUB+= NLS="" +.else +CONFIGURE_ARGS+=--disable-nls +PLIST_SUB+= NLS="@comment " +.endif + +post-extract: + @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} \ + -e 's#\([@(]\)GAIM_LIBDIR\([@)]\)#\1libdir\2#' \ + -e 's#\([@(]\)GAIM_DATADIR\([@)]\)#\1datadir\2#' .include -- cgit