freebsd-ports/www/mod_asn/Makefile
Olli Hauer 1d6232b246 - 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@
2012-09-24 20:55:01 +00:00

32 lines
938 B
Makefile

# Created by: Jun Kuriyama <kuriyama@FreeBSD.org>
# $FreeBSD$
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>