1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00
freebsd-ports/net/trafshow3/Makefile
Rene Ladan f4bdc9ed51 Reset sem@'s ports per his request.
With hat:	portmgr-secretary
2016-08-21 11:58:26 +00:00

37 lines
902 B
Makefile

# Created by: igor@zynaps.ru
# $FreeBSD$
PORTNAME= trafshow
PORTVERSION= 3.1
PORTREVISION= 7
PORTEPOCH= 1
CATEGORIES= net
MASTER_SITES= LOCAL/sem
PKGNAMESUFFIX= 3
MAINTAINER= ports@FreeBSD.org
COMMENT= Full screen visualization of network traffic (an ancient version)
CONFLICTS= trafshow-[45].*
.if defined(WITH_TRAFSHOW_SLANG) || \
(exists(${LOCALBASE}/lib/libslang.a) && !defined(WITHOUT_TRAFSHOW_SLANG))
LIB_DEPENDS= libslang.so:devel/libslang2
.endif
USES= tar:tgz
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
ALL_TARGET= trafshow
post-patch:
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/*.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/trafshow ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/trafshow.1 ${STAGEDIR}${PREFIX}/man/man1
${INSTALL_DATA} ${WRKSRC}/.trafshow ${STAGEDIR}${PREFIX}/etc/trafshow.sample
.include <bsd.port.mk>