From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Apr 12 01:50:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 871D3B88 for ; Fri, 12 Apr 2013 01:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 69F76846 for ; Fri, 12 Apr 2013 01:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r3C1o159060727 for ; Fri, 12 Apr 2013 01:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r3C1o1On060726; Fri, 12 Apr 2013 01:50:01 GMT (envelope-from gnats) Resent-Date: Fri, 12 Apr 2013 01:50:01 GMT Resent-Message-Id: <201304120150.r3C1o1On060726@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Yasuhiro KIMURA Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A8D8CA54 for ; Fri, 12 Apr 2013 01:48:02 +0000 (UTC) (envelope-from yasu@home.utahime.org) Received: from gate.utahime.jp (gate.utahime.jp [183.180.29.210]) by mx1.freebsd.org (Postfix) with ESMTP id 7D6A1833 for ; Fri, 12 Apr 2013 01:48:01 +0000 (UTC) Received: from eastasia.home.utahime.org (mail.home.utahime.org [192.168.174.1]) by gate.utahime.jp (Postfix) with ESMTP id EC46A61F9D; Fri, 12 Apr 2013 10:47:53 +0900 (JST) Received: from eastasia.home.utahime.org (localhost [127.0.0.1]) by localhost-backdoor.home.utahime.org (Postfix) with ESMTP id C10214E642; Fri, 12 Apr 2013 10:47:53 +0900 (JST) Received: from rolling-vm-freebsd1.home.utahime.org (rolling-vm-freebsd1.home.utahime.org [192.168.174.51]) by eastasia.home.utahime.org (Postfix) with ESMTP id 9BE844E631; Fri, 12 Apr 2013 10:47:53 +0900 (JST) Received: by rolling-vm-freebsd1.home.utahime.org (Postfix, from userid 1000) id 7D6E04E9C7; Fri, 12 Apr 2013 10:47:53 +0900 (JST) Message-Id: <20130412014753.7D6E04E9C7@rolling-vm-freebsd1.home.utahime.org> Date: Fri, 12 Apr 2013 10:47:53 +0900 (JST) From: Yasuhiro KIMURA To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/177794: [PATCH} dns/py-dns: adapt to new options framework and etc. X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Apr 2013 01:50:01 -0000 >Number: 177794 >Category: ports >Synopsis: [PATCH} dns/py-dns: adapt to new options framework and etc. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Apr 12 01:50:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Yasuhiro KIMURA >Release: FreeBSD 9.1-RELEASE-p2 amd64 >Organization: >Environment: System: FreeBSD xxxx 9.1-RELEASE-p2 FreeBSD 9.1-RELEASE-p2 #0 r249030: Sat Apr 6 22:45:59 JST 2013 xxxx amd64 >Description: - Adapt to new options framework. - Add license information. - Trim makefile header. - Pet portlint >How-To-Repeat: >Fix: --- patch-py-dns begins here --- Index: Makefile =================================================================== --- Makefile (revision 315785) +++ Makefile (working copy) @@ -1,9 +1,5 @@ -# New ports collection makefile for: py-dns -# Date created: 21 September 2002 -# Whom: Mark Linimon (linimon@lonesome.com) -# +# Created by: Mark Linimon (linimon@lonesome.com) # $FreeBSD$ -# PORTNAME= dns PORTVERSION= 2.3.6 @@ -15,6 +11,11 @@ MAINTAINER= rm@FreeBSD.org COMMENT= DNS (Domain Name Service) library for Python +LICENSE= CNRI +LICENSE_NAME= CNRI LICENSE AGREEMENT +LICENSE_FILE= ${WRKSRC}/LICENSE +LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept + USE_PYTHON= yes USE_PYDISTUTILS= yes PYDISTUTILS_PKGNAME= pydns @@ -22,7 +23,12 @@ DOCS= README.txt README-guido.txt DOCSDIR= ${PREFIX}/share/doc/py-dns -.if !defined(NOPORTDOCS) +OPTIONS_DEFINE= DOCS +OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options + +.include + +.if ${PORT_OPTIONS:MDOCS} post-install: @${MKDIR} ${DOCSDIR} .for file in ${DOCS} Index: pkg-plist =================================================================== --- pkg-plist (revision 315785) +++ pkg-plist (working copy) @@ -26,6 +26,6 @@ %%PYTHON_SITELIBDIR%%/DNS/win32dns.pyc %%PYTHON_SITELIBDIR%%/DNS/win32dns.pyo @dirrm %%PYTHON_SITELIBDIR%%/DNS -%%PORTDOCS%%share/doc/py-dns/README.txt -%%PORTDOCS%%share/doc/py-dns/README-guido.txt -%%PORTDOCS%%@dirrm share/doc/py-dns +%%PORTDOCS%%%%DOCSDIR%%/README.txt +%%PORTDOCS%%%%DOCSDIR%%/README-guido.txt +%%PORTDOCS%%@dirrm %%DOCSDIR%% --- patch-py-dns ends here --- >Release-Note: >Audit-Trail: >Unformatted: