ports/java/classpath/Makefile
Ade Lovett 54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00

44 lines
1023 B
Makefile

# ex:ts=8
# Ports collection makefile for: classpath
# Date created: Sep 1, 2004
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= classpath
PORTVERSION= 0.17
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_AUTOTOOLS= libtool:15
USE_GNOME= gtk20 libartlgpl2 pkgconfig
USE_JAVA= yes
USE_JIKES= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-jni --with-jikes
USE_GMAKE= yes
INFO= hacking vmintegration
PLIST_FILES= lib/security/classpath.security
.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>