9e0b4328d2
handler" errors. This usually happens when signal handlers are not being exported correctly (via G_MODULE_EXPORT), but I'd leave it for upstream to decide how to come up with a proper fix. For now, adding `-export-dynamic' to LDFLAGS is probably OK for a quick'n'dirty remedy. While here: rephrase COMMENT text, install a few documentation files, and reformat and amend port description text. PR: 199139
35 lines
813 B
Makefile
35 lines
813 B
Makefile
# Created by: Holger Lamm <holger@eit.uni-kl.de>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= etherape
|
|
PORTVERSION= 0.9.13
|
|
PORTREVISION= 2
|
|
CATEGORIES= net-mgmt gnome
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Graphical network traffic monitor tool modeled after Etherman
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USES= gettext gmake iconv pathfix pkgconfig
|
|
USE_GNOME= gnomedocutils libglade2 libgnomeui
|
|
GNU_CONFIGURE= yes
|
|
INSTALLS_OMF= yes
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib -export-dynamic # XXX: G_MODULE_EXPORT?
|
|
|
|
PORTDOCS= *
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} FAQ README* TODO ${STAGEDIR}${DOCSDIR}
|
|
.for f in AUTHORS ChangeLog NEWS
|
|
${ICONV_CMD} -f latin1 -t utf-8 ${WRKSRC}/${f} > \
|
|
${STAGEDIR}${DOCSDIR}/${f}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|