2007-09-15 18:36:51 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2007/09/15 22:36:59 merdely Exp $
|
2003-08-11 22:20:31 -04:00
|
|
|
|
2007-09-15 18:36:51 -04:00
|
|
|
COMMENT= Tcl bindings for Curl
|
2007-07-04 15:18:45 -04:00
|
|
|
SHARED_ONLY= Yes
|
2003-08-11 22:20:31 -04:00
|
|
|
|
|
|
|
DISTNAME= TclCurl-0.10.5
|
2007-05-15 11:09:12 -04:00
|
|
|
PKGNAME= ${DISTNAME}p3
|
2003-08-11 22:20:31 -04:00
|
|
|
CATEGORIES= net
|
|
|
|
|
2004-02-20 19:59:29 -05:00
|
|
|
HOMEPAGE= http://personal.iddeo.es/andresgarci/tclcurl/english/
|
2003-08-11 22:20:31 -04:00
|
|
|
|
|
|
|
# BSD
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2007-05-15 11:09:12 -04:00
|
|
|
WANTLIB= crypto idn ssl z
|
2003-08-11 22:20:31 -04:00
|
|
|
|
|
|
|
MASTER_SITES= ${HOMEPAGE}download/tarball/
|
|
|
|
|
2006-08-03 19:15:57 -04:00
|
|
|
LIB_DEPENDS= curl.>=2.2::net/curl \
|
2005-11-18 20:57:25 -05:00
|
|
|
tclstub84:tcl-8.4.*:lang/tcl/8.4
|
2003-08-11 22:20:31 -04:00
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu dest
|
2003-12-27 18:30:05 -05:00
|
|
|
CONFIGURE_ARGS+= --with-tcl=${LOCALBASE}/lib/tcl8.4 \
|
|
|
|
--with-tclinclude=${LOCALBASE}/include/tcl8.4/
|
2003-08-11 22:20:31 -04:00
|
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include"
|
|
|
|
|
|
|
|
# broken in this version
|
|
|
|
REGRESS_TARGET= test
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
|
|
|
MAN_FILES= tclcurl.n tclcurl_multi.n
|
|
|
|
|
|
|
|
do-install:
|
2003-12-27 18:30:05 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/tcl8.4/tclcurl0.105
|
2003-08-11 22:20:31 -04:00
|
|
|
${INSTALL_DATA} ${WRKDIST}/libtclcurl0105.so \
|
2003-12-27 18:30:05 -05:00
|
|
|
${PREFIX}/lib/tcl8.4/tclcurl0.105
|
2003-08-11 22:20:31 -04:00
|
|
|
${INSTALL_DATA} ${WRKDIST}/generic/tclcurl.tcl \
|
2003-12-27 18:30:05 -05:00
|
|
|
${PREFIX}/lib/tcl8.4/tclcurl0.105
|
2003-08-11 22:20:31 -04:00
|
|
|
${INSTALL_MAN_DIR} ${PREFIX}/man/mann
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/pkgIndex.tcl \
|
2003-12-27 18:30:05 -05:00
|
|
|
${PREFIX}/lib/tcl8.4/tclcurl0.105
|
2003-08-11 22:20:31 -04:00
|
|
|
.for file in ${MAN_FILES}
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/doc/${file} ${PREFIX}/man/mann
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|