summaryrefslogtreecommitdiff
path: root/dns/py-adns/Makefile
blob: 92015c91b01811a1bae98063df8de7e79f07be22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Created by: Hye-Shik Chang <perky@fallin.lv>

PORTNAME=	adns
DISTVERSION=	1.4
DISTVERSIONSUFFIX=	-py1
CATEGORIES=	dns python
MASTER_SITES=	CHEESESHOP
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	rigoletto@FreeBSD.org
COMMENT=	Python module to resolve IPs to host names

LICENSE=	GPLv2+
LICENSE_FILE=	${WRKSRC}/GPL

LIB_DEPENDS=	libadns.so:dns/adns

USES=		localbase python:3.4+
USE_PYTHON=	autoplist distutils

post-patch:
	@${REINPLACE_CMD} -e 's|1.4-py1|1.4|g' ${WRKSRC}/setup.py

.include <bsd.port.mk>