mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
28 lines
757 B
Makefile
28 lines
757 B
Makefile
# Created by: 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= jmohacsi@bsd.hu
|
|
COMMENT= Tool that searches the sequence of AS numbers
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -E -e "s|CFLAGS.*=|CFLAGS +=|" \
|
|
-e "s|CC.*=|CC ?=|" ${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/aslookup ${STAGEDIR}${PREFIX}/bin
|
|
@if [ ! -d ${STAGEDIR}${PREFIX}/share/doc/aslookup ]; then \
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/aslookup; fi
|
|
${INSTALL_DATA} ${WRKSRC}/readme-eng.txt ${WRKSRC}/readme-jp.txt \
|
|
${STAGEDIR}${PREFIX}/share/doc/aslookup
|
|
|
|
.include <bsd.port.mk>
|