aboutsummaryrefslogtreecommitdiff
path: root/www/geolizer/Makefile
blob: 5286f47bef5634572c87823d17beec2c495d8896 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# New ports collection makefile for:    geolizer
# Date created:         23 July 2004
# Whom:                 ache@FreeBSD.org
#
# $FreeBSD$
#

CONFLICTS=	webalizer-2*

MASTERDIR=      ${.CURDIR}/../webalizer

PATCH_SITES+=	http://sysd.org/proj/
PATCHFILES+=	geolizer_2.01-10-patch.20040216.tar.bz2
PATCH_DIST_STRIP= -p1
PATCHDIR=	${.CURDIR}/files
MD5_FILE=	${.CURDIR}/distinfo
DESCR=		${.CURDIR}/pkg-descr
DOCSDIR=	${PREFIX}/share/doc/webalizer
EXAMPLESDIR=	${PREFIX}/share/examples/webalizer

WEBALIZER_LANG=english

CFLAGS+= -I${LOCALBASE}/include
CONFIGURE_ARGS+= --enable-geoip \
		--with-geoip-lib=${LOCALBASE} \
		--with-geoip-inc=${LOCALBASE}

LIB_DEPENDS=    gd.4:${PORTSDIR}/graphics/gd \
		GeoIP.4:${PORTSDIR}/net/GeoIP

MAINTAINER=	ports@FreeBSD.org

.include "${MASTERDIR}/Makefile"

# Overwrite section, can't be placed before

PORTNAME=	geolizer
PORTREVISION=	0
DISTNAME=       webalizer-2.01-10-src

COMMENT=	A web server log file analysis program, using GeoIP library