From owner-svn-ports-head@freebsd.org Thu Mar 2 09:01:44 2017 Return-Path: Delivered-To: svn-ports-head@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 D2440CF5429; Thu, 2 Mar 2017 09:01:44 +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 9F417ED3; Thu, 2 Mar 2017 09:01:44 +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 v2291h7D096166; Thu, 2 Mar 2017 09:01:43 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v2291hFV096165; Thu, 2 Mar 2017 09:01:43 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201703020901.v2291hFV096165@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Thu, 2 Mar 2017 09:01:43 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r435216 - head/polish/tleenx2 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Mar 2017 09:01:44 -0000 Author: amdmi3 Date: Thu Mar 2 09:01:43 2017 New Revision: 435216 URL: https://svnweb.freebsd.org/changeset/ports/435216 Log: - Add LICENSE - Switch to USES=localbase - Switch to options helpers Modified: head/polish/tleenx2/Makefile Modified: head/polish/tleenx2/Makefile ============================================================================== --- head/polish/tleenx2/Makefile Thu Mar 2 08:58:56 2017 (r435215) +++ head/polish/tleenx2/Makefile Thu Mar 2 09:01:43 2017 (r435216) @@ -11,18 +11,21 @@ DISTNAME= TleenX2-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Client for polish IM service called Tlen.pl +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + LIB_DEPENDS= libtlen.so:polish/libtlen -USES= pkgconfig +USES= localbase:ldflags pkgconfig USE_GNOME= gtk20 GNU_CONFIGURE= yes USE_XORG= x11 xscrnsaver -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib WRKSRC= ${WRKDIR}/TleenX2-${PORTVERSION} PORTDOCS= README gg.txt sms.txt +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} \ -e '/^tleenx2_LDADD =/,+1s,/usr/X11R6/lib/libXss.a,-lXss -lX11,' \ @@ -32,7 +35,7 @@ post-patch: ${WRKSRC}/iksemel/Makefile @${REINPLACE_CMD} 's,gcc,${CC},' ${WRKSRC}/jabby/Makefile -post-install: +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR}