# New ports collection makefile for:	aslookup
# Date created:				12.04.2002
# Whom:					janos.mohacsi@bsd.hu
#
# $FreeBSD: ports/net/aslookup/Makefile,v 1.5 2006/05/11 22:49:04 edwin Exp $
#

PORTNAME=	aslookup
PORTVERSION=	0.12
PORTREVISION=	1
CATEGORIES=	net
MASTER_SITES=	http://www.bugest.net/software/aslookup/
DISTNAME=	${PORTNAME}-alpha${PORTVERSION}

MAINTAINER=	janos.mohacsi@bsd.hu
COMMENT=	Tool that searches the sequence of AS numbers

post-patch:
	@${REINPLACE_CMD} -E -e "s|CFLAGS.*=|CFLAGS +=|" \
		-e "s|CC.*=|CC ?=|" ${WRKSRC}/Makefile

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/aslookup ${PREFIX}/bin
.if !defined(NOPORTDOCS)
	@if [ ! -d ${PREFIX}/share/doc/aslookup ]; then 	\
		${MKDIR} ${PREFIX}/share/doc/aslookup; fi
	${INSTALL_DATA} ${WRKSRC}/readme-eng.txt ${WRKSRC}/readme-jp.txt   \
		${PREFIX}/share/doc/aslookup
.endif

.include <bsd.port.mk>


syntax highlighted by Code2HTML, v. 0.9.1