diff options
author | rm <rm@FreeBSD.org> | 2013-05-08 03:45:38 +0800 |
---|---|---|
committer | rm <rm@FreeBSD.org> | 2013-05-08 03:45:38 +0800 |
commit | 174becdda648e7bfb79c07641aec513a85eef480 (patch) | |
tree | fe09b4a39ce4a901dbaa9f8b30eeafd6abf87b12 /dns/py-dns | |
parent | f318c5dc528fc9952ee3825478e9491be4b3e596 (diff) | |
download | freebsd-ports-gnome-174becdda648e7bfb79c07641aec513a85eef480.tar.gz freebsd-ports-gnome-174becdda648e7bfb79c07641aec513a85eef480.tar.zst freebsd-ports-gnome-174becdda648e7bfb79c07641aec513a85eef480.zip |
- 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>
Diffstat (limited to 'dns/py-dns')
-rw-r--r-- | dns/py-dns/Makefile | 18 | ||||
-rw-r--r-- | dns/py-dns/pkg-descr | 4 |
2 files changed, 11 insertions, 11 deletions
diff --git a/dns/py-dns/Makefile b/dns/py-dns/Makefile index 21eac8cbacc8..4ca13611ade6 100644 --- a/dns/py-dns/Makefile +++ b/dns/py-dns/Makefile @@ -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} diff --git a/dns/py-dns/pkg-descr b/dns/py-dns/pkg-descr index aecd5e299098..7f8467fc8959 100644 --- a/dns/py-dns/pkg-descr +++ b/dns/py-dns/pkg-descr @@ -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/ |