1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/ftp/py-curl/Makefile

37 lines
987 B
Makefile
Raw Normal View History

# New ports collection makefile for: py-curl
# Date created: 2 July 2001
# Whom: Hye-Shik Chang <perky@python.or.kr>
#
# $FreeBSD$
#
PORTNAME= curl
2006-04-22 05:20:19 +00:00
PORTVERSION= 7.15.2
CATEGORIES= ftp python
2003-11-10 12:35:06 +00:00
MASTER_SITES= http://pycurl.sourceforge.net/download/ \
http://pycurl.sourceforge.net/download/00-OLD-VERSIONS/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= py${PORTNAME}-${PORTVERSION}
MAINTAINER= perky@FreeBSD.org
2003-02-25 06:25:35 +00:00
COMMENT= Python interface to libcurl
LIB_DEPENDS= curl.3:${PORTSDIR}/ftp/curl
USE_PYTHON= yes
2002-04-29 14:07:49 +00:00
USE_PYDISTUTILS= yes
USE_OPENSSL= yes
DOCSDIR= ${PREFIX}/share/doc/py-curl
EXAMPLESDIR= ${PREFIX}/share/examples/py-curl
post-patch:
2002-10-25 21:55:45 +00:00
${REINPLACE_CMD} -e 's@\(curl-config --\)@${LOCALBASE}/bin/\1@g' \
2003-01-21 19:09:55 +00:00
-e 's@^\(include_dirs = \).*@\1["${LOCALBASE}/include"]@' \
-e 's@^\(PACKAGE = \).*@\1"py-curl"@' \
-e 's@\(os.path.join(\)datadir, "examples")@\1"share/examples/py-curl")@' \
-e 's@name=PACKAGE@name="pycurl"@' \
${WRKSRC}/setup.py
.include <bsd.port.mk>