1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00

GtkNetCat is a Graphic User Interface for netcat. Netcat provides system

functions as a computer networking utility for reading from and writing
to network connections on either TCP or UDP.

WWW: http://wiki.lxde.org/en/GtkNetCat

PR:		ports/179844
Submitted by:	nemysis (self)
Approved by:	wg/pawel (mentors)
This commit is contained in:
Rusmir Dusko 2013-10-06 23:52:26 +00:00
parent a51d1b240a
commit 96380d01ae
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=329644
5 changed files with 80 additions and 0 deletions

View File

@ -196,6 +196,7 @@
SUBDIR += gstreamer1-plugins-libmms
SUBDIR += gtic
SUBDIR += gtk-vnc
SUBDIR += gtknetcat
SUBDIR += gupnp
SUBDIR += gupnp-av
SUBDIR += gupnp-igd

52
net/gtknetcat/Makefile Normal file
View File

@ -0,0 +1,52 @@
# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
# $FreeBSD$
PORTNAME= gtknetcat
PORTVERSION= 0.1
CATEGORIES= net
MASTER_SITES= SF/lxde/GtkNetCat%20%28GUI%20for%20netcat%29/GtkNetCat%20${PORTVERSION}/ \
SF/nemysisfreebsdp/:icons
DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
${PORTNAME}.png:icons
EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
MAINTAINER= nemysis@FreeBSD.org
COMMENT= GTK GUI for netcat
LICENSE= GPLv3
BUILD_DEPENDS= p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser
USES= gmake
USE_GNOME= intlhack pygtk2
USE_PYTHON= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PORTDOCS= AUTHORS README
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
NLS_USES= gettext
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|Icon=|Icon=${PORTNAME}|' \
${WRKSRC}/${PORTNAME}.desktop
.if ! ${PORT_OPTIONS:MNLS}
@${REINPLACE_CMD} -e 's|src po|src|' \
${WRKSRC}/Makefile.in
.endif
post-install:
${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps/
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

4
net/gtknetcat/distinfo Normal file
View File

@ -0,0 +1,4 @@
SHA256 (gtknetcat-0.1.tar.gz) = 7d59d82410a5e466f9a81425f234591c083ff6495b38430fa683884029542c45
SIZE (gtknetcat-0.1.tar.gz) = 107278
SHA256 (gtknetcat.png) = d5c17193bfe1f4c0e65e55d93f5b1a9e66da7faeda1799ca1bf3dd1abfd8a5d7
SIZE (gtknetcat.png) = 3538

5
net/gtknetcat/pkg-descr Normal file
View File

@ -0,0 +1,5 @@
GtkNetCat is a Graphic User Interface for netcat. Netcat provides system
functions as a computer networking utility for reading from and writing
to network connections on either TCP or UDP.
WWW: http://wiki.lxde.org/en/GtkNetCat

18
net/gtknetcat/pkg-plist Normal file
View File

@ -0,0 +1,18 @@
bin/gtknetcat
%%PYTHON_SITELIBDIR%%/gtknetcat/__init__.py
%%PYTHON_SITELIBDIR%%/gtknetcat/__init__.pyc
%%PYTHON_SITELIBDIR%%/gtknetcat/__init__.pyo
%%PYTHON_SITELIBDIR%%/gtknetcat/globals.py
%%PYTHON_SITELIBDIR%%/gtknetcat/globals.pyc
%%PYTHON_SITELIBDIR%%/gtknetcat/globals.pyo
%%PYTHON_SITELIBDIR%%/gtknetcat/gtknetcat.py
%%PYTHON_SITELIBDIR%%/gtknetcat/gtknetcat.pyc
%%PYTHON_SITELIBDIR%%/gtknetcat/gtknetcat.pyo
libexec/gtknetcat.py
share/applications/gtknetcat.desktop
share/gtknetcat/wizard.glade
%%NLS%%share/locale/zh_TW/LC_MESSAGES/gtknetcat.mo
share/pixmaps/gtknetcat.png
@dirrm share/gtknetcat
@dirrmtry share/applications
@dirrm %%PYTHON_SITELIBDIR%%/gtknetcat