summaryrefslogtreecommitdiffstats
path: root/net/ehnt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/ehnt/Makefile')
-rw-r--r--net/ehnt/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/net/ehnt/Makefile b/net/ehnt/Makefile
index bf6d4e2..7299a2d 100644
--- a/net/ehnt/Makefile
+++ b/net/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