aboutsummaryrefslogtreecommitdiffstats
path: root/dns/py-dns/Makefile
blob: 062513da92aab72c471cc565d3c0a7e8d45e0a5e (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
33
34
35
# New ports collection makefile for:    py-dns
# Date created:             21 September 2002
# Whom:                 Mark Linimon (linimon@lonesome.com)
#
# $FreeBSD$
#

PORTNAME=   dns
PORTVERSION=    2.3.0
PORTREVISION=   1
CATEGORIES= dns python
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= pydns
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   pydns-${PORTVERSION}
EXTRACT_SUFX=   .tgz

MAINTAINER= linimon@FreeBSD.org
COMMENT=    DNS (Domain Name Service) library for Python

USE_PYTHON= yes
USE_PYDISTUTILS=    yes

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

.if !defined(NOPORTDOCS)
post-install:
    @${MKDIR} ${DOCSDIR}
.for file in ${DOCS}
    @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>