freebsd-ports/net/aslookup/Makefile
Marcus Alves Grando f64d11f210 Spelling corrections to program
Bump PORTREVISION
Add SHA256
Use DOCSDIR macro
Respect CFLAGS and CC

PR:		88614
Submitted by:	Ted Mittelstaedt <tedm@toybox.placo.com>
Approved by:	maintainer
2005-11-10 01:09:21 +00:00

33 lines
826 B
Makefile

# New ports collection makefile for: aslookup
# Date created: 12.04.2002
# Whom: janos.mohacsi@bsd.hu
#
# $FreeBSD$
#
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
USE_REINPLACE= yes
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>