cbbff8a98e
PR: 81451 Submitted by: "Ronald Klop" <ronald@cs.vu.nl> (maintainer)
62 lines
1.3 KiB
Makefile
62 lines
1.3 KiB
Makefile
# New ports collection makefile for: jmp
|
|
# Date created: 11 January 2003
|
|
# Whom: Ronald Klop <ronald@cs.vu.nl>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= jmp
|
|
PORTVERSION= 0.47
|
|
CATEGORIES= java devel
|
|
MASTER_SITES= http://www.khelekore.org/jmp/
|
|
|
|
MAINTAINER= ronald@cs.vu.nl
|
|
COMMENT= Java Memory Profiler
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/bin/bison:${PORTSDIR}/devel/bison
|
|
|
|
OPTIONS= X11 "Enable X11 support" on
|
|
OPTIONS+= DEBUG "Enable extra debug output" off
|
|
OPTIONS+= OPTIMIZED_CFLAGS "Compile with -O3" off
|
|
|
|
CONFIGURE_ARGS= --with-includes="${JAVA_HOME}/include ${LOCALBASE}/include" \
|
|
--with-libintl-prefix="${LOCALBASE}"
|
|
|
|
USE_GETTEXT= yes
|
|
.if defined(WITHOUT_X11)
|
|
CONFIGURE_ARGS+= --enable-noui
|
|
.else
|
|
USE_XLIB= yes
|
|
LIB_DEPENDS+= gtk-x11-2.0:${PORTSDIR}/x11-toolkits/gtk20
|
|
.endif
|
|
|
|
.if defined(WITH_DEBUG)
|
|
CFLAGS+= -DJMPDEBUG -g
|
|
.endif
|
|
|
|
.if defined(WITH_OPTIMIZED_CFLAGS)
|
|
CFLAGS+= -O3
|
|
.endif
|
|
|
|
USE_LIBTOOL_VER=15
|
|
USE_GMAKE= yes
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.2+
|
|
JAVA_OS= native
|
|
JAVA_BUILD= jdk
|
|
NEED_JAVAC= yes
|
|
USE_JIKES= no
|
|
|
|
MAKE_FLAGS= JAVAC=${JAVAC} JAVAH=${JAVAH}
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= JAVA_HOME="${JAVA_HOME}"
|
|
INSTALLS_SHLIB= yes
|
|
|
|
PLIST_FILES= lib/libjmp.so lib/libjmp.so.0 \
|
|
share/locale/de/LC_MESSAGES/jmp.mo \
|
|
share/locale/sv/LC_MESSAGES/jmp.mo
|
|
|
|
.include <bsd.port.mk>
|