From owner-svn-ports-all@freebsd.org Fri Nov 20 12:05:03 2015 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 B3B6EA32177; Fri, 20 Nov 2015 12:05:03 +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 7CAEF11B2; Fri, 20 Nov 2015 12:05:03 +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 tAKC52AX063097; Fri, 20 Nov 2015 12:05:02 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tAKC52h5063096; Fri, 20 Nov 2015 12:05:02 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201511201205.tAKC52h5063096@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Fri, 20 Nov 2015 12:05:02 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r402070 - head/misc/upclient 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.20 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: Fri, 20 Nov 2015 12:05:03 -0000 Author: amdmi3 Date: Fri Nov 20 12:05:02 2015 New Revision: 402070 URL: https://svnweb.freebsd.org/changeset/ports/402070 Log: - Add LICENSE - Switch to options helpers Modified: head/misc/upclient/Makefile Modified: head/misc/upclient/Makefile ============================================================================== --- head/misc/upclient/Makefile Fri Nov 20 12:04:58 2015 (r402069) +++ head/misc/upclient/Makefile Fri Nov 20 12:05:02 2015 (r402070) @@ -12,7 +12,8 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:R}${ MAINTAINER= ports@FreeBSD.org COMMENT= Uptimes project client -OPTIONS_DEFINE= DOCS +LICENSE= GPLv2 # or later +LICENSE_FILE= ${WRKSRC}/COPYING USES= gettext USE_RC_SUBR= upclient @@ -28,6 +29,8 @@ DOC_FILES= AUTHORS COPYING FAQ HISTORY I DOC_FILES+= doc/UptimesProtocol5 DOC_FILES+= HISTORY-BETA +OPTIONS_DEFINE= DOCS + post-extract: @${MV} ${WRKSRC}/doc/"Uptimes Protocol 5" ${WRKSRC}/doc/UptimesProtocol5 @@ -48,6 +51,8 @@ do-install: ${INSTALL_SCRIPT} ${WRKSRC}/scripts/upchk ${WRKSRC}/scripts/clientchk \ ${STAGEDIR}${PREFIX}/sbin @(cd ${WRKSRC}/src; ${MAKE_CMD} destdir=${STAGEDIR} install-locales) + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in ${DOC_FILES} ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}