ddb37d804e
ThinHTTP is a lightweight and user friendly HTTP client library. It sends both URL (application/x-www-form-urlencoded) and MIME (multipart/form-data) encoded data. This makes it useful for sending either simple GET requests or uploading files via POST. From/maintainer Clint Pachl. Okay bernd@.
34 lines
779 B
Makefile
34 lines
779 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2008/11/24 09:44:59 pirofti Exp $
|
|
|
|
COMMENT = lightweight and user friendly HTTP client library for Ruby
|
|
|
|
DISTNAME = thin_http-0.1.1
|
|
PKGNAME = ruby-${DISTNAME}
|
|
CATEGORIES = www
|
|
|
|
MAINTAINER = Clint Pachl <pachl@ecentryx.com>
|
|
|
|
# Ruby license
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
HOMEPAGE = http://thinhttp.rubyforge.org/
|
|
MASTER_SITES = ${MASTER_SITE_RUBYFORGE:=thinhttp/}
|
|
|
|
MODULES = lang/ruby
|
|
|
|
CONFIGURE_STYLE = ruby gem
|
|
|
|
BUILD_DEPENDS = ${RUN_DEPENDS}
|
|
RUN_DEPENDS = ::mail/ruby-mime
|
|
|
|
PKG_ARCH = *
|
|
|
|
do-regress:
|
|
@cd ${WRKBUILD}/test && ${SUDO} ${RUBY} -I../lib -rubygems \
|
|
-e 'ARGV.each { |f| load f unless f == "test_helper.rb" }' *.rb
|
|
|
|
.include <bsd.port.mk>
|