2004-09-01 10:37:04 +02:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: classpath
|
|
|
|
# Date created: Sep 1, 2004
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= classpath
|
2005-11-27 17:42:25 +01:00
|
|
|
PORTVERSION= 0.19
|
2005-11-05 06:22:06 +01:00
|
|
|
PORTREVISION= 1
|
2004-09-01 10:37:04 +02:00
|
|
|
CATEGORIES= java
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2005-03-21 03:27:48 +01:00
|
|
|
COMMENT= A GNU project to create a free Java class library
|
2004-09-01 10:37:04 +02:00
|
|
|
|
2004-10-25 15:56:34 +02:00
|
|
|
BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip
|
|
|
|
|
2005-11-27 17:42:25 +01:00
|
|
|
#USE_GNOME= gtk20 libartlgpl2 pkgconfig
|
2004-09-01 10:37:04 +02:00
|
|
|
USE_JAVA= yes
|
|
|
|
USE_JIKES= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2005-11-27 17:42:25 +01:00
|
|
|
#CONFIGURE_ARGS= --enable-jni --with-jikes
|
|
|
|
CONFIGURE_ARGS= --enable-jni --with-jikes --disable-gtk-peer
|
2004-09-01 10:37:04 +02:00
|
|
|
USE_GMAKE= yes
|
|
|
|
|
2004-11-30 00:48:33 +01:00
|
|
|
INFO= hacking vmintegration
|
2004-09-01 10:37:04 +02:00
|
|
|
PLIST_FILES= lib/security/classpath.security
|
2005-11-29 15:36:42 +01:00
|
|
|
PLIST_FILES+= include/jni.h
|
|
|
|
PLIST_FILES+= include/jni_md.h
|
|
|
|
PLIST_FILES+= include/jawt.h
|
|
|
|
PLIST_FILES+= include/jawt_md.h
|
2004-09-01 10:37:04 +02:00
|
|
|
|
|
|
|
.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
|
2006-01-23 08:04:10 +01:00
|
|
|
@${ECHO_CMD} '@unexec rmdir %D/lib/security 2>/dev/null || true' >> ${TMPPLIST}
|
2004-09-01 10:37:04 +02:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|