Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 May 2013 19:45:38 +0000 (UTC)
From:      Ruslan Mahmatkhanov <rm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r317633 - head/dns/py-dns
Message-ID:  <201305071945.r47JjcsC046601@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rm
Date: Tue May  7 19:45:38 2013
New Revision: 317633
URL: http://svnweb.freebsd.org/changeset/ports/317633

Log:
  - trim Makefile header
  - define license (CNRI)
  - limit python version to 2.x only (print/except)
  - convert to optionsng (DOCS case)
  - clean-up pkg-descr
  - bump PORTREVISION because of license file addition
  
  PR:		177794 (based on)
  Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>

Modified:
  head/dns/py-dns/Makefile
  head/dns/py-dns/pkg-descr

Modified: head/dns/py-dns/Makefile
==============================================================================
--- head/dns/py-dns/Makefile	Tue May  7 19:42:37 2013	(r317632)
+++ head/dns/py-dns/Makefile	Tue May  7 19:45:38 2013	(r317633)
@@ -1,12 +1,9 @@
-# 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
+PORTREVISION=	1
 CATEGORIES=	dns python
 MASTER_SITES=	SF/py${PORTNAME}/py${PORTNAME}/py${PORTNAME}-${PORTVERSION}
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -15,14 +12,21 @@ DISTNAME=	pydns-${PORTVERSION}
 MAINTAINER=	rm@FreeBSD.org
 COMMENT=	DNS (Domain Name Service) library for Python
 
-USE_PYTHON=	yes
+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=	-2.7
 USE_PYDISTUTILS=	yes
 PYDISTUTILS_PKGNAME=	pydns
 
 DOCS=		README.txt README-guido.txt
 DOCSDIR=	${PREFIX}/share/doc/py-dns
 
-.if !defined(NOPORTDOCS)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
 post-install:
 	@${MKDIR} ${DOCSDIR}
 .for file in ${DOCS}

Modified: head/dns/py-dns/pkg-descr
==============================================================================
--- head/dns/py-dns/pkg-descr	Tue May  7 19:42:37 2013	(r317632)
+++ head/dns/py-dns/pkg-descr	Tue May  7 19:45:38 2013	(r317633)
@@ -2,8 +2,4 @@ This directory contains a Python module 
 Name Server) client, plus additional modules that define some symbolic
 constants used by DNS (dnstype, dnsclass, dnsopcode).
 
-This code is released under a Python-style license.
-
-A mailing list is available at pydns-developer@lists.sourceforge.net.
-
 WWW: http://pydns.sourceforge.net/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305071945.r47JjcsC046601>