From owner-freebsd-ports@FreeBSD.ORG Thu Nov 11 20:51:11 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A7A5916A4CE for ; Thu, 11 Nov 2004 20:51:11 +0000 (GMT) Received: from smtp1.apollo.lv (smtp1.apollo.lv [80.232.168.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id 89BF443D1F for ; Thu, 11 Nov 2004 20:51:10 +0000 (GMT) (envelope-from kolya@astrons.com) Received: by smtp1.apollo.lv (CommuniGate Pro PIPE 4.1) with PIPE id 17754130; Thu, 11 Nov 2004 22:39:18 +0200 Received: from [81.198.22.138] (HELO wsnikolaj) by smtp1.apollo.lv (CommuniGate Pro SMTP 4.1) with ESMTP id 17754129 for ports@FreeBSD.org; Thu, 11 Nov 2004 22:39:13 +0200 From: "Nikolaj Karpov" To: Date: Thu, 11 Nov 2004 22:51:41 +0200 Organization: SIA Astrons Message-ID: <005f01c4c830$3ec9e260$0100a8c0@wsnikolaj> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0060_01C4C841.0252B260" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Importance: Normal X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on smtp1 X-Spam-Level: X-Spam-Status: No, hits=0.0 required=7.0 tests=none autolearn=no version=2.63 Subject: Www/geolizer patch X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Nov 2004 20:51:11 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_0060_01C4C841.0252B260 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Patched patch for geolizer (language select) :) Best regards, Nikolaj Karpov ------=_NextPart_000_0060_01C4C841.0252B260 Content-Type: application/octet-stream; name="patch.dat" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="patch.dat" --- Makefile Thu Nov 11 20:05:15 2004=0A= +++ Makefile Thu Nov 11 21:37:48 2004=0A= @@ -31,6 +31,14 @@=0A= EXAMPLESDIR?=3D ${PREFIX}/share/examples/${PKGNAMEPREFIX}webalizer=0A= GD_PORT?=3D graphics/gd=0A= =0A= +SUPP_LANG=3D catalan chinese croatian czech danish dutch english \=0A= + estonian finnish french galician german greek hungarian = \=0A= + icelandic indonesian italian japanese korean latvian \=0A= + malay norwegian polish portuguese portuguese_brazil \=0A= + romanian romanian-iso-8859-2 russian serbian \=0A= + simplified_chinese slowak slovene spanish swedish \=0A= + turkish ukrainian=0A= +=0A= CONFLICTS=3D webalizer-2*=0A= =0A= .include =0A= @@ -44,7 +52,10 @@=0A= --with-geoip-inc=3D${LOCALBASE}/include \=0A= --with-png=3D${LOCALBASE}/lib \=0A= --with-png-inc=3D${LOCALBASE}/include \=0A= - --with-language=3Denglish=0A= +=0A= +.if defined(GEOLIZER_LANG)=0A= +CONFIGURE_ARGS+=3D --with-language=3D${GEOLIZER_LANG}=0A= +.endif=0A= =0A= CFLAGS+=3D -DLINKLIST_MAX_STRING=3D256=0A= MAN1=3D ${PKGNAMEPREFIX}webalizer.1=0A= @@ -55,6 +66,12 @@=0A= PLIST_SUB+=3D PKGNAMEPREFIX=3D${PKGNAMEPREFIX}=0A= =0A= pre-configure:=0A= +.if !defined(GEOLIZER_LANG)=0A= + @${ECHO_MSG} "You can customize the language by typing"=0A= + @${ECHO_MSG} " make GEOLIZER_LANG=3D"=0A= + @${ECHO_MSG} "where is one of:"=0A= + @${ECHO_MSG} ${SUPP_LANG}=0A= +.endif=0A= @${MV} ${WRKSRC}/webalizer.1 ${WRKSRC}/webalizer.1.sed=0A= ${SED} -e "s=3D/etc=3D${PREFIX}/etc=3D" \=0A= ${WRKSRC}/webalizer.1.sed > ${WRKSRC}/webalizer.1=0A= ------=_NextPart_000_0060_01C4C841.0252B260--