mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
6345553f44
PR: 135846 Submitted by: Wen Heping <wenheping@gmail.com> Approved by: maintainer
49 lines
1008 B
Makefile
49 lines
1008 B
Makefile
# New ports collection makefile for: dnspython
|
|
# Date created: Sun Dec 26 09:58:59 UTC 2004
|
|
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= dnspython
|
|
PORTVERSION= 1.7.1
|
|
CATEGORIES= dns python
|
|
MASTER_SITES= http://www.dnspython.org/kits/${PORTVERSION}/
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= greenwood.andy@gmail.com
|
|
COMMENT= A DNS toolkit for Python
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= yes
|
|
|
|
PORTDOCS= \
|
|
ChangeLog \
|
|
README \
|
|
TODO
|
|
EXAMPLE_FILES= \
|
|
ddns.py \
|
|
mx.py \
|
|
name.py \
|
|
reverse.py \
|
|
xfr.py
|
|
|
|
post-install:
|
|
# docs
|
|
.ifndef(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for file in ${PORTDOCS}
|
|
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
# examples
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
.for file in ${EXAMPLE_FILES}
|
|
@${INSTALL_DATA} ${WRKSRC}/examples/${file} ${EXAMPLESDIR}
|
|
.endfor
|
|
# permission safeness
|
|
@${CHMOD} -R ${SHAREMODE} ${PYTHONPREFIX_SITELIBDIR}/dns/*
|
|
@${CHMOD} -R a+X ${PYTHONPREFIX_SITELIBDIR}/dns/*
|
|
|
|
.include <bsd.port.mk>
|