summaryrefslogtreecommitdiff
path: root/net-mgmt/ehnt/Makefile
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2002-10-23 15:35:35 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2002-10-23 15:35:35 +0000
commite6aeacd5971603b030c6888a01f6fe3a36d36ae4 (patch)
treeac1d25c802bc154225afc8d1644207a0777b4879 /net-mgmt/ehnt/Makefile
parent1. Removed unused refs to sleep. (diff)
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 bf6d4e23f0b7..7299a2dc29ea 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/