head	1.5;
access;
symbols
	RELEASE_8_3_0:1.2
	RELEASE_9_0_0:1.2;
locks; strict;
comment	@# @;


1.5
date	2012.11.17.06.02.40;	author svnexp;	state Exp;
branches;
next	1.4;

1.4
date	2012.09.24.20.55.01;	author ohauer;	state Exp;
branches;
next	1.3;

1.3
date	2012.08.18.14.29.08;	author ohauer;	state Exp;
branches;
next	1.2;

1.2
date	2011.08.20.17.27.38;	author ohauer;	state Exp;
branches;
next	1.1;

1.1
date	2011.04.26.12.12.27;	author kuriyama;	state Exp;
branches;
next	;


desc
@@


1.5
log
@Switch exporter over
@
text
@# Created by: Jun Kuriyama <kuriyama@@FreeBSD.org>
# $FreeBSD: head/www/mod_asn/Makefile 304797 2012-09-24 20:55:01Z ohauer $

PORTNAME=	mod_asn
PORTVERSION=	1.5
CATEGORIES=	www
MASTER_SITES=	${MASTER_SITE_LOCAL} \
		http://mirrorbrain.org/files/releases/
MASTER_SITE_SUBDIR=	kuriyama

MAINTAINER=	kuriyama@@FreeBSD.org
COMMENT=	Look up the AS and network prefix of IP address

LIB_DEPENDS=	apr-1:${PORTSDIR}/devel/apr1

USE_APACHE=	22
AP_FAST_BUILD=	yes
MANUAL_PACKAGE_BUILD=	devel/apr1 with pgsql option required

.include <bsd.port.pre.mk>

pre-build:
	@@[ -r ${PREFIX}/lib/apr-util-1/apr_dbd_pgsql.so ] || (${ECHO_MSG} "APR util with PostgreSQL required."; ${FALSE})

post-install:
	${INSTALL_SCRIPT} ${WRKSRC}/asn_import.py ${PREFIX}/bin/asn_import
	${INSTALL_SCRIPT} ${WRKSRC}/asn_get_routeviews.py ${PREFIX}/bin/asn_get_routeviews
	${MKDIR} ${DATADIR} ${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/asn.sql ${DATADIR}
	${INSTALL_DATA} ${WRKSRC}/mod_asn.conf ${EXAMPLESDIR}

.include <bsd.port.post.mk>
@


1.4
log
@SVN rev 304797 on 2012-09-24 20:55:01Z by ohauer

- USE_APACHE s/22+/22/

some additional cleanups/fixes
- adopt new Makefile header
- convert to optionsNG
- use BROKEN instead IGNORE in bsd.apache.mk

with hat apache@@
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.3
log
@SVN rev 302724 on 2012-08-18 14:29:08Z by ohauer

- remove www/apache20 and devel/apr0
- s/USE_APACHE= 20+/USE_APACHE= 22+/
- unify s/YES/yes/
- cleanup APACHE_VERSION <= 22 usage
- add entry to MOVED

with hat apache@@
@
text
@d1 1
a1 4
# New ports collection makefile for:	mod_asn
# Date created:		24 Apr 2011
# Whom:			Jun Kuriyama <kuriyama@@FreeBSD.org>
#
a2 1
#
d16 1
a16 1
USE_APACHE=	22+
@


1.2
log
@ - bump PORTREVISION from ports if USE_APACHE=13+ or 20+ is defined
@
text
@d21 1
a21 1
AP_FAST_BUILD=	YES
@


1.1
log
@mod_asn is an Apache module that uses BGP routing data to look up the
autonomous system (AS) and the network prefix (subnet) which contains
a given (clients) IP address.

WWW: http://mirrorbrain.org/mod_asn/
@
text
@d20 1
a20 1
USE_APACHE=	2.2+
@

