head	1.17;
access;
symbols
	RELEASE_8_3_0:1.11
	RELEASE_9_0_0:1.9
	RELEASE_7_4_0:1.7
	RELEASE_8_2_0:1.7
	RELEASE_6_EOL:1.6
	RELEASE_8_1_0:1.4
	RELEASE_7_3_0:1.4
	RELEASE_8_0_0:1.3
	RELEASE_7_2_0:1.2
	RELEASE_7_1_0:1.1
	RELEASE_6_4_0:1.1;
locks; strict;
comment	@# @;


1.17
date	2013.01.15.16.50.30;	author svnexp;	state Exp;
branches;
next	1.16;

1.16
date	2012.12.10.13.48.09;	author svnexp;	state Exp;
branches;
next	1.15;

1.15
date	2012.11.17.06.02.36;	author svnexp;	state Exp;
branches;
next	1.14;

1.14
date	2012.10.25.10.50.20;	author ale;	state Exp;
branches;
next	1.13;

1.13
date	2012.07.06.07.20.35;	author ale;	state Exp;
branches;
next	1.12;

1.12
date	2012.05.28.14.00.53;	author ale;	state Exp;
branches;
next	1.11;

1.11
date	2012.02.10.14.25.17;	author ale;	state Exp;
branches;
next	1.10;

1.10
date	2012.01.09.15.41.06;	author tabthorpe;	state Exp;
branches;
next	1.9;

1.9
date	2011.08.09.11.55.59;	author ale;	state Exp;
branches;
next	1.8;

1.8
date	2011.03.20.22.37.10;	author ale;	state Exp;
branches;
next	1.7;

1.7
date	2011.01.28.12.05.18;	author ale;	state Exp;
branches;
next	1.6;

1.6
date	2010.11.25.09.23.26;	author ale;	state Exp;
branches;
next	1.5;

1.5
date	2010.09.16.07.55.49;	author ale;	state Exp;
branches;
next	1.4;

1.4
date	2010.01.07.09.54.53;	author ale;	state Exp;
branches;
next	1.3;

1.3
date	2009.09.11.05.47.10;	author ale;	state Exp;
branches;
next	1.2;

1.2
date	2008.12.29.09.24.28;	author ale;	state Exp;
branches;
next	1.1;

1.1
date	2008.09.03.08.07.18;	author ale;	state Exp;
branches;
next	;


desc
@@


1.17
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/310452
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: Alex Dupre <ale@@FreeBSD.org>
# $FreeBSD: head/www/httpclient/Makefile 310452 2013-01-15 16:44:24Z ale $

PORTNAME=	httpclient
DISTVERSION=	4.2.3
CATEGORIES=	www java
MASTER_SITES=	${MASTER_SITE_APACHE}
MASTER_SITE_SUBDIR=	httpcomponents/${PORTNAME}/binary
DISTNAME=	httpcomponents-client-${DISTVERSION}-bin

MAINTAINER=	ale@@FreeBSD.org
COMMENT=	Java components implementing an advanced HTTP client

LICENSE=	AL2
LICENSE_FILE=	${WRKSRC}/LICENSE.txt

RUN_DEPENDS=	${JAVAJARDIR}/httpcore.jar:${PORTSDIR}/www/httpcore \
		${JAVAJARDIR}/commons-logging.jar:${PORTSDIR}/java/jakarta-commons-logging \
		${JAVAJARDIR}/commons-codec.jar:${PORTSDIR}/java/jakarta-commons-codec

USE_JAVA=	yes
JAVA_VERSION=	1.6+
NO_BUILD=	yes
WRKSRC=		${WRKDIR}/httpcomponents-client-${DISTVERSION}

PLIST_FILES=	%%JAVAJARDIR%%/${PORTNAME}.jar \
		%%JAVAJARDIR%%/${PORTNAME}-cache.jar \
		%%JAVAJARDIR%%/${PORTNAME:S/client/mime/}.jar \
		%%JAVAJARDIR%%/fluent-hc.jar

PORTDOCS=	*
PORTEXAMPLES=	*

.include <bsd.port.options.mk>

do-install:
	@@${ECHO_MSG} -n ">> Installing JAR file as ${JAVAJARDIR}/${PORTNAME}.jar..."
	@@${INSTALL_DATA} ${WRKSRC}/lib/${PORTNAME}-${DISTVERSION}.jar \
		${JAVAJARDIR}/${PORTNAME}.jar
	@@${ECHO_MSG} " [DONE]"
	@@${ECHO_MSG} -n ">> Installing JAR file as ${JAVAJARDIR}/${PORTNAME}-cache.jar..."
	@@${INSTALL_DATA} ${WRKSRC}/lib/${PORTNAME}-cache-${DISTVERSION}.jar \
		${JAVAJARDIR}/${PORTNAME}-cache.jar
	@@${ECHO_MSG} " [DONE]"
	@@${ECHO_MSG} -n ">> Installing JAR file as ${JAVAJARDIR}/${PORTNAME:S/client/mime/}.jar..."
	@@${INSTALL_DATA} ${WRKSRC}/lib/${PORTNAME:S/client/mime/}-${DISTVERSION}.jar \
		${JAVAJARDIR}/${PORTNAME:S/client/mime/}.jar
	@@${ECHO_MSG} " [DONE]"
	@@${ECHO_MSG} -n ">> Installing JAR file as ${JAVAJARDIR}/fluent-hc.jar..."
	@@${INSTALL_DATA} ${WRKSRC}/lib/fluent-hc-${DISTVERSION}.jar \
		${JAVAJARDIR}/fluent-hc.jar
	@@${ECHO_MSG} " [DONE]"
.if ${PORT_OPTIONS:MDOCS}
	@@${ECHO_MSG} -n ">> Installing documentation..."
	@@${MKDIR} ${DOCSDIR}
	@@cd ${WRKSRC} && ${FIND} javadoc tutorial \
	  | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} > /dev/null 2>&1
	@@${INSTALL_DATA} ${WRKSRC}/RELEASE_NOTES.txt ${DOCSDIR}/
	@@${ECHO_MSG} " [DONE]"
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
	@@${ECHO_MSG} -n ">> Installing examples..."
	@@${MKDIR} ${EXAMPLESDIR}
	@@cd ${WRKSRC}/examples && ${FIND} . \
	  | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR} > /dev/null 2>&1
	@@${ECHO_MSG} " [DONE]"
.endif

.include <bsd.port.mk>
@


1.16
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/308605
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r308605 | bapt | 2012-12-10 13:43:43 +0000 (Mon, 10 Dec 2012) | 3 lines
## SVN ##
## SVN ## Decommissioning java 1.5 (EOLed since October 2009):
## SVN ## suppress any reference to JAVA_VERSION=	1.5+ (part3)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d2 1
a2 1
# $FreeBSD: head/www/httpclient/Makefile 308605 2012-12-10 13:43:43Z bapt $
d5 1
a5 1
DISTVERSION=	4.2.2
d34 2
d53 1
a53 1
.if !defined(NOPORTDOCS)
d61 1
a61 1
.if !defined(NOPORTEXAMPLES)
@


1.15
log
@Switch exporter over
@
text
@d2 1
a2 1
# $FreeBSD: head/www/httpclient/Makefile 306378 2012-10-25 10:50:20Z ale $
d22 1
a22 1
JAVA_VERSION=	1.5+
@


1.14
log
@SVN rev 306378 on 2012-10-25 10:50:20Z by ale

Update to 4.2.2 release.

Feature safe:	yes
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.13
log
@Update to 4.2.1 release.
@
text
@d1 1
a1 4
# Ports collection makefile for:	HttpClient
# Date created:			11 Jul 2008
# Whom:				Alex Dupre <ale@@FreeBSD.org>
#
a2 1
#
d5 1
a5 1
DISTVERSION=	4.2.1
@


1.12
log
@Update to 4.2 release.
@
text
@d9 1
a9 1
DISTVERSION=	4.2
@


1.11
log
@Update to 4.1.3 and pet portlint.
@
text
@d9 1
a9 1
DISTVERSION=	4.1.3
d32 2
a33 1
		%%JAVAJARDIR%%/${PORTNAME:S/client/mime/}.jar
d51 4
@


1.10
log
@- The proper acronym for Apache Software License 2 is really AL2
- Thanks to crees@@ for generating the initial patch

PR:		ports/163521
Submitted by:	Pedro Giffuni <pfg apache.org>
Hat:		portmgr
Exp run by:	pav
@
text
@d9 1
a9 1
DISTVERSION=	4.1.2
d18 3
a24 3
LICENSE=	AL2
LICENSE_FILE=	${WRKSRC}/LICENSE.txt

@


1.9
log
@Update to 4.1.2 release.
@
text
@d22 1
a22 1
LICENSE=	ASL
@


1.8
log
@Update to 4.1.1 release.
@
text
@d9 1
a9 1
DISTVERSION=	4.1.1
@


1.7
log
@Update to 4.1 release.

Feature safe:	yes
@
text
@d9 1
a9 1
DISTVERSION=	4.1
@


1.6
log
@Update to 4.0.3 release.
@
text
@d9 1
a9 1
DISTVERSION=	4.0.3
a18 1
		${JAVAJARDIR}/apache-mime4j.jar:${PORTSDIR}/mail/mime4j \
d22 3
d30 3
a32 1
PLIST_FILES=	%%JAVAJARDIR%%/${PORTNAME}.jar %%JAVAJARDIR%%/${PORTNAME:S/client/mime/}.jar
d42 4
d55 1
a55 2
	@@${INSTALL_DATA} ${WRKSRC}/RELEASE_NOTES.txt ${WRKSRC}/NTLM_SUPPORT.txt \
		${DOCSDIR}/
@


1.5
log
@Update to 4.0.2 release.
@
text
@d9 1
a9 1
DISTVERSION=	4.0.2
@


1.4
log
@Update to 4.0.1 release.
@
text
@d9 1
a9 1
DISTVERSION=	4.0.1
d45 1
a45 1
	@@cd ${WRKSRC} && ${FIND} tutorial \
@


1.3
log
@Update to 4.0 final release.

PR:		ports/138719
Submitted by:	Wen Heping <wenheping@@gmail.com>
@
text
@d9 1
a9 1
DISTVERSION=	4.0
d31 1
d45 1
a45 1
	@@cd ${WRKSRC} && ${FIND} javadoc tutorial \
d51 7
@


1.2
log
@Update to 4.0-beta2 release.
@
text
@d9 1
a9 1
DISTVERSION=	4.0-beta2
d44 1
a44 1
	@@cd ${WRKSRC} && ${FIND} javadoc \
d46 2
a47 1
	@@${INSTALL_DATA} ${WRKSRC}/RELEASE_NOTES.txt ${DOCSDIR}/
@


1.1
log
@HttpClient provides components for client-side authentication, HTTP state
management, connection management, and an HTTP/1.1 compliant HTTP agent
implementation based on those components. It is intended as successor of
and replacement for Jakarta Commons HttpClient 3.x.

The HttpClient module is a full-featured, HTTP/1.1 compliant agent built
on top of HttpCore.

The HttpMime module extends mime4j library with some HTTP specific
functionality and integrates it with the HttpComponents framework.

WWW: http://hc.apache.org/httpcomponents-client/
@
text
@d9 1
a9 1
DISTVERSION=	4.0-beta1
d44 1
a44 1
	@@cd ${WRKSRC}/javadoc && ${FIND} ${PORTNAME} ${PORTNAME:S/client/mime/} \
@

