aboutsummaryrefslogtreecommitdiff
path: root/net/apache-soap/Makefile
blob: 660551f71e68f761af179b35d828bf9e0e0522de (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# New ports collection makefile for:    Apache SOAP
# Date created:				Mon Nov 18 11:21:13 EST 2002
# Whom:					Brian Skrab <brian@quynh-and-brian.org>
#
# $FreeBSD$
#

PORTNAME=	apache-soap
PORTVERSION=	2.3.1
PORTREVISION=	2
CATEGORIES=	net java devel
MASTER_SITES=	${MASTER_SITE_APACHE}
MASTER_SITE_SUBDIR=	ws/soap/version-${PORTVERSION}
DISTNAME=	soap-bin-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	The Apache SOAP implementation in Java

RUN_DEPENDS=	${JAVALIBDIR}/mail.jar:${PORTSDIR}/java/javamail

DEPRECATED=	Development has been ceased, superseded by www/axis.
EXPIRATION_DATE=	2008-06-01

USE_JAVA=	yes
JAVA_VERSION=	1.2+

WRKSRC=		${WRKDIR}/soap-2_3_1
NO_BUILD=	yes
DATADIR=	${JAVASHAREDIR}/${PORTNAME}
DATAFILES=	LICENSE README webapps

.include <bsd.port.pre.mk>

do-install:
	${INSTALL_DATA} ${WRKSRC}/lib/soap.jar ${JAVAJARDIR}/
	cd ${WRKSRC} && ${FIND} ${DATAFILES} -type d -exec ${MKDIR} ${DATADIR}/{} \;
	cd ${WRKSRC} && ${FIND} ${DATAFILES} -type f -exec ${INSTALL_DATA} {} ${DATADIR}/{} \;
.if !defined(NOPORTDOCS)
	cd ${WRKSRC}/docs && ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \;
	cd ${WRKSRC}/docs && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
	cd ${WRKSRC}/samples && ${FIND} . -type d -exec ${MKDIR} ${EXAMPLESDIR}/{} \;
	cd ${WRKSRC}/samples && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${EXAMPLESDIR}/{} \;
.endif

.include <bsd.port.post.mk>