1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

- 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>
This commit is contained in:
Ruslan Makhmatkhanov 2013-05-07 19:45:38 +00:00
parent 046b46e9e0
commit 17ff1e6096
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=317633
2 changed files with 11 additions and 11 deletions

View File

@ -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}

View File

@ -2,8 +2,4 @@ This directory contains a Python module that implements a DNS (Domain
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/