freebsd-ports/net-mgmt/etherape/Makefile
Muhammad Moinur Rahman 513607af90
net-mgmt/etherape: Moved man to share/man
Approved by:    portmgr (blanket)
2024-02-25 07:39:03 +01:00

40 lines
1.1 KiB
Makefile

PORTNAME= etherape
PORTVERSION= 0.9.20
PORTREVISION= 3
CATEGORIES= net-mgmt gnome
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Graphical network traffic monitor tool modeled after Etherman
WWW= http://etherape.sourceforge.net/
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= itstool:textproc/itstool \
yelp-tools>=0:textproc/yelp-tools
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libgoocanvas-2.0.so:graphics/goocanvas2 \
libpopt.so:devel/popt
USES= gettext gmake gnome iconv localbase pathfix pkgconfig
USE_GNOME= atk cairo gdkpixbuf2 gtk30 pango
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
PORTDOCS= AUTHORS ChangeLog FAQ NEWS README README.bugs TODO
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e \
's|char \*argv)|char **argv)|' ${WRKSRC}/configure
@${REINPLACE_CMD} -e \
's|__EXPORT__|__EXPORT_H__|' ${WRKSRC}/src/export.h
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>