summaryrefslogtreecommitdiffstats
path: root/devel/py-urlimport/Makefile
blob: 0f15034518ef35aa3744add72870679e34ba6500 (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
25
26
# Created by: Li-Wen Hsu <lwhsu@lwhsu.org>
# $FreeBSD$

PORTNAME=	urlimport
PORTVERSION=	0.42b
PORTREVISION=	1
CATEGORIES=	devel python
MASTER_SITES=	http://www.cs.nctu.edu.tw/~lwhsu/ports/distfiles/
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
EXTRACT_SUFX=	.py

MAINTAINER=	lwhsu@FreeBSD.org
COMMENT=	Python script for importing modules/packages over the net

NO_WRKSUBDIR=	yes

USES=		python
USE_PYTHON=	distutils autoplist

do-extract:
	${MKDIR} ${WRKSRC}
	${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}/${PORTNAME}.py
	${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|g' ${FILESDIR}/setup.py \
		> ${WRKSRC}/setup.py

.include <bsd.port.mk>
OpenPOWER on IntegriCloud