Date: Thu, 11 Nov 2004 22:51:41 +0200 From: "Nikolaj Karpov" <kolya@astrons.com> To: <ports@FreeBSD.org> Subject: Www/geolizer patch Message-ID: <005f01c4c830$3ec9e260$0100a8c0@wsnikolaj>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.pre.mk>=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<lang>"=0A= + @${ECHO_MSG} "where <lang> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?005f01c4c830$3ec9e260$0100a8c0>