# Created by: Rusmir Dusko # $FreeBSD$ PORTNAME= gtknetcat PORTVERSION= 0.1 PORTREVISION= 2 CATEGORIES= net MASTER_SITES= SF/lxde/GtkNetCat%20%28GUI%20for%20netcat%29/GtkNetCat%20${PORTVERSION}/ \ SF/nemysisfreebsdp/${CATEGORIES}/:icons DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \ ${PORTNAME}.png:icons EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= GTK GUI for netcat LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= p5-XML-Parser>=0:textproc/p5-XML-Parser USES= gmake localbase python:2.7 shebangfix SHEBANG_FILES= src/gtknetcat.in src/gtknetcat.py USE_GNOME= intlhack pygtk2 GNU_CONFIGURE= yes NO_ARCH= yes PORTDOCS= AUTHORS README OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_USES_OFF= gettext-tools NLS_CONFIGURE_ENABLE= nls post-patch: @${REINPLACE_CMD} -e 's|Icon=|Icon=${PORTNAME}|' \ ${WRKSRC}/${PORTNAME}.desktop post-patch-NLS-off: @${REINPLACE_CMD} -e 's|src po|src|' \ ${WRKSRC}/Makefile.in post-install: ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/ post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include