aboutsummaryrefslogtreecommitdiffstats
path: root/dns/py-dns/Makefile
blob: 0b62a8745ee0d11713c5e71bb76134a6ce07d833 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# 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}
DISTNAME=   pydns-${PORTVERSION}

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

USES=       python:2
USE_PYTHON= distutils autoplist

PORTDOCS=   README.txt README-guido.txt
DOCSDIR=    ${PREFIX}/share/doc/py-dns

OPTIONS_DEFINE= DOCS

post-install:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>