2006-08-03 20:10:42 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.5 2006/08/04 00:10:42 espie Exp $
|
2004-05-21 13:21:54 -04:00
|
|
|
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
|
|
|
|
|
|
|
|
COMMENT= "perl binding for curl"
|
|
|
|
DISTNAME= p5-WWW-Curl-20040519
|
2005-10-27 16:03:25 -04:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
2004-06-04 19:51:30 -04:00
|
|
|
CATEGORIES= www net perl5
|
2004-05-21 13:21:54 -04:00
|
|
|
MASTER_SITES= http://mirrors.protection.cx/~jolan/
|
|
|
|
|
|
|
|
HOMEPAGE= http://curl.haxx.se/libcurl/perl/
|
|
|
|
|
|
|
|
# MIT
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
2004-12-11 08:29:20 -05:00
|
|
|
WANTLIB= crypto ssl z
|
2004-05-21 13:21:54 -04:00
|
|
|
|
2006-08-03 20:10:42 -04:00
|
|
|
LIB_DEPENDS= curl.>=2.2::net/curl
|
2004-05-21 13:21:54 -04:00
|
|
|
|
|
|
|
CONFIGURE_STYLE=perl
|
|
|
|
|
|
|
|
MAKE_ENV+= CURL_TEST_URL="http://www.openbsd.org/"
|
|
|
|
|
|
|
|
post-configure:
|
|
|
|
@perl -pi -e s,'t/\*.t','t/new/\*.t',g ${WRKSRC}/Makefile
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/p5-WWW-Curl
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/examples/* \
|
|
|
|
${PREFIX}/share/examples/p5-WWW-Curl
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|