diff options
author | mat <mat@FreeBSD.org> | 2016-03-08 01:47:40 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2016-03-08 01:47:40 +0800 |
commit | 621e4b9e09ebbb5e91989c2d20faeac46634a5af (patch) | |
tree | 369db088e2bb6b780579e5aa7c483f9691f8163e /net-mgmt/etherape/Makefile | |
parent | ad3d4daa669efdce602a38f0c26689b7aabd6a31 (diff) | |
download | freebsd-ports-gnome-621e4b9e09ebbb5e91989c2d20faeac46634a5af.tar.gz freebsd-ports-gnome-621e4b9e09ebbb5e91989c2d20faeac46634a5af.tar.zst freebsd-ports-gnome-621e4b9e09ebbb5e91989c2d20faeac46634a5af.zip |
Update to 0.9.14
PR: 207164
Submitted by: tkato432 yahoo com
Sponsored by: Absolight
Diffstat (limited to 'net-mgmt/etherape/Makefile')
-rw-r--r-- | net-mgmt/etherape/Makefile | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/net-mgmt/etherape/Makefile b/net-mgmt/etherape/Makefile index b8e6db67d2a0..a1eef668ec0d 100644 --- a/net-mgmt/etherape/Makefile +++ b/net-mgmt/etherape/Makefile @@ -2,15 +2,15 @@ # $FreeBSD$ PORTNAME= etherape -PORTVERSION= 0.9.13 -PORTREVISION= 2 +PORTVERSION= 0.9.14 CATEGORIES= net-mgmt gnome MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Graphical network traffic monitor tool modeled after Etherman -LICENSE= GPLv2 +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/COPYING USES= gettext gmake iconv pathfix pkgconfig USE_GNOME= gnomedocutils libglade2 libgnomeui @@ -18,18 +18,20 @@ GNU_CONFIGURE= yes INSTALLS_OMF= yes CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -export-dynamic # XXX: G_MODULE_EXPORT? +LDFLAGS+= -L${LOCALBASE}/lib -PORTDOCS= * +PORTDOCS= AUTHORS ChangeLog FAQ NEWS README README.bugs TODO OPTIONS_DEFINE= DOCS -post-install: +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} FAQ README* TODO ${STAGEDIR}${DOCSDIR} -.for f in AUTHORS ChangeLog NEWS - ${ICONV_CMD} -f latin1 -t utf-8 ${WRKSRC}/${f} > \ - ${STAGEDIR}${DOCSDIR}/${f} -.endfor + (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) .include <bsd.port.mk> |