summaryrefslogtreecommitdiffstats
path: root/java/classpath/Makefile
blob: cf4863bd61ce317cf0f7b3b073cb0624f7b53ed8 (plain)
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
46
47
# ex:ts=8
# Ports collection makefile for:	classpath
# Date created:			Sep 1, 2004
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	classpath
PORTVERSION=	0.19
PORTREVISION=	1
CATEGORIES=	java
MASTER_SITES=	${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A GNU project to create a free Java class library

BUILD_DEPENDS=	zip:${PORTSDIR}/archivers/zip

#USE_GNOME=	gtk20 libartlgpl2 pkgconfig
USE_JAVA=	yes
USE_JIKES=	yes
GNU_CONFIGURE=	yes
#CONFIGURE_ARGS=	--enable-jni --with-jikes
CONFIGURE_ARGS=	--enable-jni --with-jikes --disable-gtk-peer
USE_GMAKE=	yes

INFO=		hacking vmintegration
PLIST_FILES=	lib/security/classpath.security
PLIST_FILES+=	include/jni.h
PLIST_FILES+=	include/jni_md.h
PLIST_FILES+=	include/jawt.h
PLIST_FILES+=	include/jawt_md.h

.include <bsd.port.pre.mk>

post-install:
.for dir in ${PREFIX}/share/classpath ${PREFIX}/lib/classpath
	@${FIND} ${dir} ! -type d | \
		${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
	@${FIND} ${dir} -type d | ${SORT} -r | \
		${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
.endfor
	@${ECHO_CMD} '@unexec rmdir %D/lib/security 2>/dev/null || true' >> ${TMPPLIST}

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud