head	1.29;
access;
symbols
	RELEASE_4_3_0:1.28
	RELEASE_4_2_0:1.26
	RELEASE_4_1_1:1.20
	RELEASE_4_1_0:1.20
	RELEASE_3_5_0:1.20
	RELEASE_4_0_0:1.13
	RELEASE_3_4_0:1.12
	RELEASE_3_3_0:1.11
	RELEASE_3_2_0:1.6
	RELEASE_3_1_0:1.5
	RELEASE_2_2_8:1.4
	RELEASE_3_0_0:1.4
	RELEASE_2_2_7:1.1.1.1
	v1_12_09:1.1.1.1
	BRADFORD:1.1.1;
locks; strict;
comment	@# @;


1.29
date	2001.05.16.18.55.25;	author dinoex;	state dead;
branches;
next	1.28;

1.28
date	2001.02.12.10.01.08;	author knu;	state Exp;
branches;
next	1.27;

1.27
date	2001.01.16.17.33.07;	author sobomax;	state Exp;
branches;
next	1.26;

1.26
date	2000.10.27.18.18.20;	author ache;	state Exp;
branches;
next	1.25;

1.25
date	2000.10.25.00.43.33;	author ache;	state Exp;
branches;
next	1.24;

1.24
date	2000.10.17.07.00.29;	author ache;	state Exp;
branches;
next	1.23;

1.23
date	2000.10.10.15.53.47;	author ache;	state Exp;
branches;
next	1.22;

1.22
date	2000.09.30.14.19.41;	author ache;	state Exp;
branches;
next	1.21;

1.21
date	2000.09.28.16.12.28;	author ache;	state Exp;
branches;
next	1.20;

1.20
date	2000.06.06.17.56.51;	author will;	state Exp;
branches;
next	1.19;

1.19
date	2000.06.05.15.23.50;	author ache;	state Exp;
branches;
next	1.18;

1.18
date	2000.05.29.23.34.28;	author will;	state Exp;
branches;
next	1.17;

1.17
date	2000.05.06.11.23.14;	author ache;	state Exp;
branches;
next	1.16;

1.16
date	2000.04.18.19.04.24;	author ache;	state Exp;
branches;
next	1.15;

1.15
date	2000.04.18.18.10.57;	author ache;	state Exp;
branches;
next	1.14;

1.14
date	2000.04.10.00.07.13;	author cpiazza;	state Exp;
branches;
next	1.13;

1.13
date	99.12.27.21.28.28;	author steve;	state Exp;
branches;
next	1.12;

1.12
date	99.11.01.00.58.47;	author steve;	state Exp;
branches;
next	1.11;

1.11
date	99.08.31.02.43.26;	author peter;	state Exp;
branches;
next	1.10;

1.10
date	99.08.14.03.16.29;	author cpiazza;	state Exp;
branches;
next	1.9;

1.9
date	99.08.01.20.30.04;	author billf;	state Exp;
branches;
next	1.8;

1.8
date	99.07.04.18.54.16;	author obrien;	state Exp;
branches;
next	1.7;

1.7
date	99.06.10.08.15.16;	author steve;	state Exp;
branches;
next	1.6;

1.6
date	99.03.31.15.15.13;	author steve;	state Exp;
branches;
next	1.5;

1.5
date	99.01.26.02.18.07;	author steve;	state Exp;
branches;
next	1.4;

1.4
date	98.08.17.00.34.42;	author steve;	state Exp;
branches;
next	1.3;

1.3
date	98.07.31.08.48.02;	author andreas;	state Exp;
branches;
next	1.2;

1.2
date	98.07.30.13.23.24;	author andreas;	state Exp;
branches;
next	1.1;

1.1
date	98.06.28.12.42.08;	author andreas;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	98.06.28.12.42.08;	author andreas;	state Exp;
branches;
next	;


desc
@@


1.29
log
@- Removed development port, all changes have meen merged into www/webalizer
@
text
@# New ports collection makefile for:	webalizer-2
# Date created:         18.Apr.2000
# Whom:                 ache@@freebsd.org
#
# $FreeBSD: ports/www/webalizer-2/Makefile,v 1.28 2001/02/12 10:01:08 knu Exp $
#

PORTNAME=	webalizer
PORTVERSION=	2.1.6
PORTREVISION=	2
CATEGORIES=	www
MASTER_SITES=	ftp://ftp.mrunix.net/pub/webalizer/
DISTNAME=	${PORTNAME}-2.01-06-src

MAINTAINER=	ache@@FreeBSD.org

LIB_DEPENDS=	gd.2:${PORTSDIR}/graphics/gd

NO_LATEST_LINK=	yes
USE_BZIP2=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=--enable-dns \
		--with-etcdir=${PREFIX}/etc \
		--with-gdlib=${PREFIX}/lib \
		--with-gd=${PREFIX}/include/gd
CONFIGURE_ENV+=	LDFLAGS="-L${PREFIX}/lib"

MAN1=		webalizer.1
DOC1=		CHANGES COPYING Copyright INSTALL \
		README README.FIRST DNS.README country-codes.txt
SUPP_LANG=	catalan chinese czech danish dutch english estonian \
		finnish french german greek hungarian indonesian italian \
		korean polish portuguese portuguese_brazil romanian \
		russian slovak spanish swedish
WRKSRC=		${WRKDIR}/${DISTNAME:S/-src$//}
MAKE_ARGS+=	CFLAGS="${CFLAGS}"

.if defined(BATCH)
# no cosmetique spaces allowed
WEBALIZER_LANG=english
.endif

.if defined(WEBALIZER_LANG)
CONFIGURE_ARGS+=	--with-language=${WEBALIZER_LANG}
.endif

pre-configure:
	@@${PERL5} -pi -e "s=/etc=${PREFIX}/etc=" ${WRKSRC}/webalizer.c
.if !defined(WEBALIZER_LANG)
	@@${ECHO_MSG} "You can customize the language by typing"
	@@${ECHO_MSG} "       make WEBALIZER_LANG=<lang>"
	@@${ECHO_MSG} "where <lang> is one of:"
	@@${ECHO_MSG} ${SUPP_LANG}
.endif

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/webalizer ${PREFIX}/bin
	${LN} -sf webalizer ${PREFIX}/bin/webazolver

post-install:
.for i in ${MAN1}
	${INSTALL_MAN} ${WRKSRC}/${i} ${PREFIX}/man/man1
.endfor
.if !defined(NOPORTDOCS)
	${MKDIR} ${PREFIX}/share/doc/webalizer
.for i in ${DOC1}
	@@${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/webalizer/${i}
.endfor
.endif
	${MKDIR} ${PREFIX}/share/examples/webalizer
.for i in msfree.png sample.conf webalizer.png
	@@${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/examples/webalizer/${i}
.endfor
	@@if [ ! -f ${PREFIX}/etc/webalizer.conf-dist ]; then \
		${INSTALL_DATA} ${WRKSRC}/sample.conf \
			${PREFIX}/etc/webalizer.conf-dist ; \
	fi

.include <bsd.port.mk>
@


1.28
log
@Chase graphics/gd's shlib version bump.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/webalizer-2/Makefile,v 1.27 2001/01/16 17:33:07 sobomax Exp $
@


1.27
log
@Massive style enforcement - use ^I instead of spaces for variables identation.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/webalizer-2/Makefile,v 1.26 2000/10/27 18:18:20 ache Exp $
d10 1
a10 1
PORTREVISION=	1
d17 1
a17 1
LIB_DEPENDS=	gd.1:${PORTSDIR}/graphics/gd
@


1.26
log
@Fix typo

Submitted by:	Yuri Vorobyev <vorob@@yamalinfo.ru>
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/webalizer-2/Makefile,v 1.25 2000/10/25 00:43:33 ache Exp $
d9 1
a9 1
PORTVERSION=    2.1.6
d12 2
a13 2
MASTER_SITES=   ftp://ftp.mrunix.net/pub/webalizer/
DISTNAME=       ${PORTNAME}-2.01-06-src
d15 1
a15 1
MAINTAINER=     ache@@FreeBSD.org
d20 1
a20 1
USE_BZIP2=      yes
@


1.25
log
@Bump PORTREVISION
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/webalizer-2/Makefile,v 1.24 2000/10/17 07:00:29 ache Exp $
d34 1
a34 1
		russain slovak spanish swedish
@


1.24
log
@Upgrade to 2.01.06
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/webalizer-2/Makefile,v 1.23 2000/10/10 15:53:47 ache Exp $
d10 1
@


1.23
log
@Upgrade to 2.01.05
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/webalizer-2/Makefile,v 1.22 2000/09/30 14:19:41 ache Exp $
d9 1
a9 1
PORTVERSION=    2.1.5
d11 2
a12 2
MASTER_SITES=   ftp://ftp.mrunix.net/pub/webalizer/pre-release/
DISTNAME=       ${PORTNAME}-2.01-05-src
@


1.22
log
@Upgrade to 2.01.03
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/webalizer-2/Makefile,v 1.21 2000/09/28 16:12:28 ache Exp $
d9 1
a9 1
PORTVERSION=    2.1.3
d12 1
a12 1
DISTNAME=       ${PORTNAME}-2.01-03-src
d22 1
@


1.21
log
@Upgrade to 2.01.02
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/webalizer-2/Makefile,v 1.20 2000/06/06 17:56:51 will Exp $
d9 1
a9 1
PORTVERSION=    2.01.02
d12 1
a12 1
DISTNAME=       ${PORTNAME}-2.01-02-src
@


1.20
log
@Update LIB_DEPENDS for gd: gd.0 -> gd.1.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/webalizer-2/Makefile,v 1.19 2000/06/05 15:23:50 ache Exp $
d9 1
a9 1
PORTVERSION=    2.00.12
d12 1
a12 1
DISTNAME=       ${PORTNAME}-2.00-12-src
@


1.19
log
@Fix breakage of previous cosmetique commit

Submitted by:	Anders Andersson <anders@@sanyusan.se>
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/webalizer-2/Makefile,v 1.18 2000/05/29 23:34:28 will Exp $
d16 1
a16 1
LIB_DEPENDS=	gd.0:${PORTSDIR}/graphics/gd
@


1.18
log
@Portlint.  freebsd.org -> FreeBSD.org.  Remove unnecessary junk from
Makefile.  Other miscellaneous cleanups.

PR:		18281
Submitted by:	KATO Tsuguru <tkato@@prontomail.ne.jp>
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/webalizer-2/Makefile,v 1.17 2000/05/06 11:23:14 ache Exp $
d37 2
a38 1
WEBALIZER_LANG=	english
@


1.17
log
@Upgrade to 2.00-12
@
text
@a1 1
# http://www.mrunix.net/webalizer/
d5 1
a5 1
# $FreeBSD: ports/www/webalizer-2/Makefile,v 1.16 2000/04/18 19:04:24 ache Exp $
d9 1
a9 1
PORTVERSION=    2.00-12
d12 1
a12 3
DISTNAME=       ${PORTNAME}-${PORTVERSION}-src
EXTRACT_SUFX=   .tar.bz2
NO_LATEST_LINK=	yes
d14 1
a14 1
MAINTAINER=     ache@@freebsd.org
d18 2
a19 1
USE_BZIP2=      YES
d21 3
a23 3
CONFIGURE_ARGS+=        --enable-dns \
			--with-gdlib=${PREFIX}/lib \
			--with-gd=${PREFIX}/include/gd
d29 1
a29 1
SUPP_LANG=      catalan chinese czech danish dutch english estonian \
d37 1
a37 1
WEBALIZER_LANG=english
@


1.16
log
@Add NO_LATEST_LINK and missing patches
@
text
@d6 1
a6 1
# $FreeBSD: ports/www/webalizer-2/Makefile,v 1.15 2000/04/18 18:10:57 ache Exp $
d10 1
a10 1
PORTVERSION=    2.00-11
@


1.15
log
@preserve cvs history now
@
text
@d6 1
a6 1
# $FreeBSD$
d15 1
@


1.14
log
@Update with the new PORTNAME/PORTVERSION variables
@
text
@d1 4
a4 3
# New ports collection makefile for:	webalizer
# Date created:		02.Jun 1998
# Whom:			dirk.meyer@@dinoex.sub.org
d6 1
a6 1
# $FreeBSD: ports/www/webalizer/Makefile,v 1.13 1999/12/27 21:28:28 steve Exp $
d10 1
a10 1
PORTVERSION= 	1.30.4
d12 3
a14 4
MASTER_SITES=	ftp://ftp.mrunix.net/pub/webalizer/ \
		ftp://ftp.lan-ks.de/pub/approved/
DISTNAME=	webalizer-1.30-04-src
EXTRACT_SUFX=	.tgz
d16 1
a16 1
MAINTAINER=	dirk.meyer@@dinoex.sub.org
d20 1
d22 2
a23 1
CONFIGURE_ARGS+=	--with-gdlib=${PREFIX}/lib \
a26 1
BIN1=		webalizer
d29 5
a33 5
		README country-codes.txt webalizer.LSM
SUPP_LANG=	catalan chinese czech dutch english french \
		german italian korean polish portuguese \
		portuguese_brazil romanian russain slowak \
		spanish swedish
d49 3
a51 3
.for i in ${SUPP_LANG}
		@@${ECHO_MSG} "make WEBALIZER_LANG=${i}"
.endfor
d55 2
a56 3
.for i in ${BIN1}
	@@${INSTALL_SCRIPT} ${WRKSRC}/${i} ${PREFIX}/bin/${i}
.endfor
d69 1
a69 1
.for i in msfree.gif sample.conf webalizer.gif
@


1.13
log
@These ports now need 'LIB_DEPENDS=gd.0:...'.
@
text
@a1 1
# Version required:	1.30.*
d5 2
a6 1
# $FreeBSD: ports/www/webalizer/Makefile,v 1.12 1999/11/01 00:58:47 steve Exp $
d8 2
a9 2
DISTNAME=	webalizer-1.30-04-src
PKGNAME=	webalizer-1.30.4
d13 1
@


1.12
log
@Add '-lpng' for linking the against the static libgd.a.
@
text
@d6 1
a6 1
# $FreeBSD: ports/www/webalizer/Makefile,v 1.11 1999/08/31 02:43:26 peter Exp $
d17 1
a17 1
BUILD_DEPENDS=	${PREFIX}/lib/libgd.a:${PORTSDIR}/graphics/gd
@


1.11
log
@$Id$ -> $FreeBSD$
@
text
@d6 1
a6 1
# $FreeBSD$
d17 1
a17 1
LIB_DEPENDS=	gd.0:${PORTSDIR}/graphics/gd
d22 2
@


1.10
log
@Update MASTER_SITES and a few minor nits.

PR:		13120
Submitted by:	maintainer
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.9 1999/08/01 20:30:04 billf Exp $
@


1.9
log
@o Upgrade to 1.30-04
o Use new API for GD functions

PR:		ports/12857
Submitted by:	Dirk Meyer <dirk.meyer@@dinoex.sub.org>

o Pass information to configure that will allow this port to work
  for people with alternative PREFIXes
o Make this port respect CFLAGS
o Change BUILD_DEPENDS on the static gd library to a LIB_DEPENDS on the
  shared library, which is what this port really uses.
o Remove a patch and a one-line(functionally) script and simply use a perl
  command in pre-configure:
@
text
@d2 1
a2 1
# Version required:	1.22
d6 1
a6 1
# $Id: Makefile,v 1.8 1999/07/04 18:54:16 obrien Exp $
d12 1
a12 1
		ftp://ftp.dinoex.sub.de/pub/approved/
d30 1
a30 1
WRKSRC=		${WRKDIR}/webalizer-1.30-04
@


1.8
log
@Move noise from "pre-fetch" to "pre-configure" where it actually matters.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.7 1999/06/10 08:15:16 steve Exp $
d8 2
a9 2
DISTNAME=	webalizer-1.22-06-src
PKGNAME=	webalizer-1.22.6
d17 1
a17 1
BUILD_DEPENDS=	${PREFIX}/lib/libgd.a:${PORTSDIR}/graphics/gd
d20 2
a21 1
CONFIGURE_ARGS=	--prefix=${PREFIX}
d30 2
a31 1
WRKSRC=		${WRKDIR}/webalizer-1.22-06
d42 1
@


1.7
log
@Update to version 1.22.6.

PR:		12101
Submitted by:	maintainer
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.6 1999/03/31 15:15:13 steve Exp $
d39 1
a39 1
pre-fetch:
@


1.6
log
@Update to version 1.22.3.

PR:		10875
Submitted by:	maintainer
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.5 1999/01/26 02:18:07 steve Exp $
d8 2
a9 2
DISTNAME=	webalizer-1.22-03-src
PKGNAME=	webalizer-1.22.3
d19 2
d25 5
a29 4
SUPP_LANG=	english german french spanish dutch italian polish \
		catalan czech portuguese_brazil russian slovak swedish \
		portugues
WRKSRC=		${WRKDIR}/webalizer-1.22-03
d34 4
a37 1
WEBALIZER_LANG=english
a45 9

post-configure:
.for i in ${SUPP_LANG}
.if defined(WEBALIZER_LANG) && ${WEBALIZER_LANG} == ${i}
		@@${ECHO_MSG} "===> customizing for ${i}"
		@@cd ${WRKSRC}; \
		${LN} -sf lang/webalizer_lang.${i} webalizer_lang.h
.endif
.endfor
@


1.5
log
@Install the manpage and support more languages.

PR:		9621
Submitted by:	maintainer
@
text
@d2 1
a2 1
# Version required:	1.20
d6 1
a6 1
# $Id: Makefile,v 1.4 1998/08/17 00:34:42 steve Exp $
d8 2
a9 2
DISTNAME=	webalizer-1.20-07-src
PKGNAME=	webalizer-1.20
d23 4
a26 2
SUPP_LANG=	english german french spanish dutch italian polish
WRKSRC=		${WRKDIR}
d31 1
d45 2
a46 2
		${LN} -sf ${WRKSRC}/webalizer_lang.${i} \
			  ${WRKSRC}/webalizer_lang.h
d66 1
a66 1
.for i in msfree.gif sample.conf
@


1.4
log
@Update to version 1.20-07.

PR:		7563
Submitted by:	Ron Rosson <insane@@oneinsane.net>
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.3 1998/07/31 08:48:02 andreas Exp $
d20 4
d33 3
a35 5
	@@${ECHO_MSG} "make WEBALIZER_LANG=english"
	@@${ECHO_MSG} "make WEBALIZER_LANG=german"
	@@${ECHO_MSG} "make WEBALIZER_LANG=french"
	@@${ECHO_MSG} "make WEBALIZER_LANG=spanish"
	@@${ECHO_MSG} "make WEBALIZER_LANG=dutch"
d39 5
a43 15
.if defined(WEBALIZER_LANG) && ${WEBALIZER_LANG} == english
	@@${ECHO_MSG} "===> customizing for english"
	${LN} -sf ${WRKSRC}/webalizer_lang.english ${WRKSRC}/webalizer_lang.h
.elif defined(WEBALIZER_LANG) && ${WEBALIZER_LANG} == german
	@@${ECHO_MSG} "===> customizing for german"
	${LN} -sf ${WRKSRC}/webalizer_lang.german ${WRKSRC}/webalizer_lang.h
.elif defined(WEBALIZER_LANG) && ${WEBALIZER_LANG} == french
	@@${ECHO_MSG} "===> customizing for french"
	${LN} -sf ${WRKSRC}/webalizer_lang.french ${WRKSRC}/webalizer_lang.h
.elif defined(WEBALIZER_LANG) && ${WEBALIZER_LANG} == spanish
	@@${ECHO_MSG} "===> customizing for spanish"
	${LN} -sf ${WRKSRC}/webalizer_lang.spanish ${WRKSRC}/webalizer_lang.h
.elif defined(WEBALIZER_LANG) && ${WEBALIZER_LANG} == dutch
	@@${ECHO_MSG} "===> customizing for dutch"
	${LN} -sf ${WRKSRC}/webalizer_lang.dutch ${WRKSRC}/webalizer_lang.h
d45 1
d49 1
a49 1
	@@${INSTALL_SCRIPT} ${WRKSRC}/${i} ${PREFIX}/bin
d53 3
d58 1
a58 1
.for i in CHANGES COPYING Copyright README webalizer.LSM
@


1.3
log
@language support
if defined batch then WEBALIZER_LANG=english
notify people how to build german, french, spanish, english, dutch
version, if WEBALIZER_LANG isn't defined ...
@
text
@d2 1
a2 1
# Version required:	1.12
d6 1
a6 1
# $Id: Makefile,v 1.2 1998/07/30 13:23:24 andreas Exp $
d8 2
a9 2
DISTNAME=	webalizer-1.12-09-src
PKGNAME=	webalizer-1.12
d62 1
a62 1
.for i in CHANGES COPYING Copyright README TODO webalizer.LSM
@


1.2
log
@Install sample comfig file as $PREFIX/etc/webalizer.conf-dist
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.1.1.1 1998/06/28 12:42:08 andreas Exp $
d21 32
@


1.1
log
@Initial revision
@
text
@d6 1
a6 1
# $Id$
d38 4
@


1.1.1.1
log
@Import of new port webalizer 1.12.09
The Webalizer is a web server log file analysis program which produces
usage statistics in HTML format for viewing with a browser.  The results
are presented in both columnar and graphical format, which facilitates
interpretation.  Yearly, monthly, daily and hourly usage statistics are
presented, along with the ability to display usage by site, URL, referrer,
user agent (browser) and country (user agent and referrer are only
available if your web server procduces Combined log format files).
PR:		closes 7000
Submitted by:	dirk.meyer@@dinoex.sub.org
@
text
@@
