1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/www/mod_asn/Makefile
Bernard Spil abd6f84396 devel/apr1: Bump portrevision
- Repair my rookie mistake of earlier today
 - Bump revision of dependent ports (again)

Reported by:	antoine
2018-03-21 21:24:43 +00:00

32 lines
922 B
Makefile

# $FreeBSD$
PORTNAME= mod_asn
PORTVERSION= 1.7
PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= LOCAL/kuriyama \
http://mirrorbrain.org/files/releases/
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Look up the AS and network prefix of IP address
LICENSE= APACHE20
LIB_DEPENDS= libapr-1.so:devel/apr1
USES= apache:2.2+
AP_FAST_BUILD= yes
MANUAL_PACKAGE_BUILD= devel/apr1 with pgsql option required
pre-build:
@[ -r ${LOCALBASE}/lib/apr-util-1/apr_dbd_pgsql.so ] || (${ECHO_MSG} "APR util with PostgreSQL required."; ${FALSE})
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/asn_import.py ${STAGEDIR}${PREFIX}/bin/asn_import
${INSTALL_SCRIPT} ${WRKSRC}/asn_get_routeviews.py ${STAGEDIR}${PREFIX}/bin/asn_get_routeviews
${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/asn.sql ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/mod_asn.conf ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>