From owner-svn-ports-all@freebsd.org Mon Nov 7 15:17:52 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0748DC34FF9; Mon, 7 Nov 2016 15:17:52 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C46D1939; Mon, 7 Nov 2016 15:17:51 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uA7FHo2v090273; Mon, 7 Nov 2016 15:17:50 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uA7FHoRu090272; Mon, 7 Nov 2016 15:17:50 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201611071517.uA7FHoRu090272@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Mon, 7 Nov 2016 15:17:50 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r425629 - head/net/gtknetcat X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Nov 2016 15:17:52 -0000 Author: amdmi3 Date: Mon Nov 7 15:17:50 2016 New Revision: 425629 URL: https://svnweb.freebsd.org/changeset/ports/425629 Log: - Add LICENSE_FILE - Switch to USES=localbase - Fix build with disabled NLS - Switch to options helpers Modified: head/net/gtknetcat/Makefile Modified: head/net/gtknetcat/Makefile ============================================================================== --- head/net/gtknetcat/Makefile Mon Nov 7 14:42:07 2016 (r425628) +++ head/net/gtknetcat/Makefile Mon Nov 7 15:17:50 2016 (r425629) @@ -15,38 +15,36 @@ 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 python +USES= gmake localbase python USE_GNOME= intlhack pygtk2 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 +NLS_USES_OFF= gettext-tools +NLS_CONFIGURE_ENABLE= nls post-patch: @${REINPLACE_CMD} -e 's|Icon=|Icon=${PORTNAME}|' \ ${WRKSRC}/${PORTNAME}.desktop -.if ! ${PORT_OPTIONS:MNLS} +post-patch-NLS-off: @${REINPLACE_CMD} -e 's|src po|src|' \ ${WRKSRC}/Makefile.in -.endif 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}