svn commit: r317633 - head/dns/py-dns

Ruslan Mahmatkhanov rm at FreeBSD.org
Tue May 7 19:45:39 UTC 2013


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 at 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 at lonesome.com)
-#
+# Created by: Mark Linimon <linimon at 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 at 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 at lists.sourceforge.net.
-
 WWW: http://pydns.sourceforge.net/


More information about the svn-ports-all mailing list