summaryrefslogtreecommitdiffstats
path: root/net-mgmt/ehnt/Makefile
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2002-10-23 15:35:35 +0000
committernork <nork@FreeBSD.org>2002-10-23 15:35:35 +0000
commit1ef79c5aff66a91015e740de5899023342b26d43 (patch)
treec1c59662aab4a11fcf166a168247d2560c94dd59 /net-mgmt/ehnt/Makefile
parent6fb1886c9892ae1114ad276a79984b3edf0317e7 (diff)
downloadFreeBSD-ports-1ef79c5aff66a91015e740de5899023342b26d43.zip
FreeBSD-ports-1ef79c5aff66a91015e740de5899023342b26d43.tar.gz
Distributed with ehnt data file contains a bit outdated ASN list.
Also, RIPE NCC had totally switched their database to RPSL, so new preparation logic should take place. PR: ports/44357 Submitted by: maintainer
Diffstat (limited to 'net-mgmt/ehnt/Makefile')
-rw-r--r--net-mgmt/ehnt/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/net-mgmt/ehnt/Makefile b/net-mgmt/ehnt/Makefile
index bf6d4e2..7299a2d 100644
--- a/net-mgmt/ehnt/Makefile
+++ b/net-mgmt/ehnt/Makefile
@@ -7,17 +7,25 @@
PORTNAME= ehnt
PORTVERSION= 0.3
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \
- ${PORTNAME}_data-${PORTVERSION}${EXTRACT_SUFX}
+DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
+.if !defined(NO_ASN_DATA)
+DISTFILES+= ${PORTNAME}_data-${PORTVERSION}${EXTRACT_SUFX}
+.endif
MAINTAINER= marck@rinet.ru
MAN1= ehnt.1
MAN8= ehntserv.8
+.if defined(NO_ASN_DATA)
+post-extract:
+ ${TOUCH} ${WRKSRC}/asnc.txt
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ehnt ${PREFIX}/bin/
${INSTALL_PROGRAM} ${WRKSRC}/ehntserv ${PREFIX}/sbin/
OpenPOWER on IntegriCloud