freebsd-ports/devel/py-urlimport/Makefile
Mathieu Arnold 065c026fe5 Fix ports that confused the meaning of WRKDIR and WRKSRC.
PR:		204056
Submitted by:	mat
Reviewed by:	bapt
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D2735
2015-11-05 12:36:25 +00:00

26 lines
628 B
Makefile

# 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>