From a2c29a16caf45cae0a2e803e8693deb3c5759e8a Mon Sep 17 00:00:00 2001 From: Michael Landin Date: Mon, 2 Jun 2003 15:17:13 +0000 Subject: Update nast: 0.1.7d -> 0.1.7e - Set promisc mode as default in sniffer - Fixed a serious memory lack bug in map_lan() - now it compiles on sparc64 Removed patch files, as they are no longer needed. PR: 52622 Submitted by: maintainer Approved by: roberto(mentor) --- net/nast/Makefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'net/nast/Makefile') diff --git a/net/nast/Makefile b/net/nast/Makefile index 579594cc2a36..7cec87fbbc79 100644 --- a/net/nast/Makefile +++ b/net/nast/Makefile @@ -6,7 +6,7 @@ # PORTNAME= nast -PORTVERSION= 0.1.7d +PORTVERSION= 0.1.7e CATEGORIES= net MASTER_SITES= http://nast.berlios.de/src/ DISTNAME= ${PORTNAME}-${PORTVERSION} @@ -19,6 +19,7 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet-devel LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet-config MAN8= nast.8 +DOC_FILES= README GNU_CONFIGURE= yes USE_GMAKE= yes @@ -36,11 +37,18 @@ pre-everything:: @${ECHO_MSG} "" post-patch: - @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \ + ${WRKSRC}/configure do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${PREFIX}/man/man8/ +.ifndef (NOPORTDOCS) + @${MKDIR} ${PREFIX}/share/doc/${PORTNAME} +.for doc in ${DOC_FILES} + @${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR} +.endfor +.endif post-install: ${CHMOD} 0755 ${PREFIX}/bin/${PORTNAME} -- cgit v1.2.3