aboutsummaryrefslogtreecommitdiff
path: root/java/jaf/Makefile
blob: 2dda0621371671374a6b7b4429f6692ff8d95ccb (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
# Created by: Jose Marques
# $FreeBSD$

PORTNAME=	jaf
DISTVERSION=	1_1_1
CATEGORIES=	java devel
MASTER_SITES=	#

MAINTAINER=	ports@FreeBSD.org
COMMENT=	JavaBeansTM Activation Framework

USES=		zip
USE_JAVA=	YES
JAVA_VERSION=	1.6+

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
NO_BUILD=	yes
NO_CDROM=	See the license
DOWNLOAD_URL=	http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-java-plat-419418.html\#jaf-1.1.1-fcs-oth-JPR

PORTDOCS=	*
PORTEXAMPLES=	*

PLIST_FILES=	%%JAVAJARDIR%%/activation.jar

OPTIONS_DEFINE=	DOCS EXAMPLES

.include <bsd.port.pre.mk>
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE=		you must manually fetch the distribution from ${DOWNLOAD_URL} and place it in ${DISTDIR} then run make again
.endif

do-install:
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
	(cd ${WRKSRC}/demo && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
	${INSTALL_DATA} ${WRKSRC}/activation.jar ${STAGEDIR}${JAVAJARDIR}
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	(cd ${WRKSRC} && ${INSTALL_DATA} LICENSE.txt README.txt RELNOTES.txt \
		${STAGEDIR}${DOCSDIR})
	(cd ${WRKSRC}/docs && ${INSTALL_DATA} JAF-1.1.pdf JAF-1.1.ps \
		JAF-1.1-changes.txt ${STAGEDIR}${DOCSDIR})
	(cd ${WRKSRC}/docs && ${COPYTREE_SHARE} javadocs ${STAGEDIR}${DOCSDIR})

.include <bsd.port.post.mk>