aboutsummaryrefslogtreecommitdiff
path: root/net/aslookup/Makefile
blob: 230483448b11aca89d02382c31fd04559a1639d2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# 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

BROKEN=		unfetchable
DEPRECATED=	Broken for more than 6 months
EXPIRATION_DATE=	2020-05-05

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>