2003-05-15 18:34:36 +02:00
|
|
|
# New ports collection makefile for: jmp
|
|
|
|
# Date created: 11 January 2003
|
|
|
|
# Whom: Ronald Klop <ronald@cs.vu.nl>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= jmp
|
2006-06-23 23:28:42 +02:00
|
|
|
PORTVERSION= 0.51
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 4
|
2003-05-15 18:34:36 +02:00
|
|
|
CATEGORIES= java devel
|
2008-02-15 19:49:11 +01:00
|
|
|
MASTER_SITES= http://www.khelekore.org/jmp/ \
|
|
|
|
http://www.klop.ws/~ronald/software-mirrors/
|
2003-05-15 18:34:36 +02:00
|
|
|
|
2007-10-10 19:20:13 +02:00
|
|
|
MAINTAINER= ronald@echteman.nl
|
2003-05-15 18:34:36 +02:00
|
|
|
COMMENT= Java Memory Profiler
|
|
|
|
|
2004-02-14 01:03:13 +01:00
|
|
|
OPTIONS= X11 "Enable X11 support" on
|
|
|
|
OPTIONS+= DEBUG "Enable extra debug output" off
|
2004-06-25 15:54:29 +02:00
|
|
|
OPTIONS+= OPTIMIZED_CFLAGS "Compile with -O3" off
|
2004-02-14 01:03:13 +01:00
|
|
|
|
2004-10-26 18:51:29 +02:00
|
|
|
CONFIGURE_ARGS= --with-includes="${JAVA_HOME}/include ${LOCALBASE}/include" \
|
|
|
|
--with-libintl-prefix="${LOCALBASE}"
|
2003-09-05 16:29:35 +02:00
|
|
|
|
2007-10-17 12:13:01 +02:00
|
|
|
USE_BISON= build
|
2004-02-04 05:36:30 +01:00
|
|
|
USE_GETTEXT= yes
|
2003-05-15 18:34:36 +02:00
|
|
|
USE_GMAKE= yes
|
2004-06-25 06:43:48 +02:00
|
|
|
USE_JAVA= yes
|
2007-10-29 00:26:07 +01:00
|
|
|
JAVA_VERSION= 1.3 1.4 1.5
|
2004-06-25 06:43:48 +02:00
|
|
|
JAVA_OS= native
|
|
|
|
JAVA_BUILD= jdk
|
2003-05-15 18:34:36 +02:00
|
|
|
NEED_JAVAC= yes
|
2004-06-25 06:32:08 +02:00
|
|
|
USE_JIKES= no
|
2003-05-15 18:34:36 +02:00
|
|
|
|
2005-11-23 02:17:16 +01:00
|
|
|
MAN1= jmp.1
|
|
|
|
|
2003-05-15 18:34:36 +02:00
|
|
|
MAKE_FLAGS= JAVAC=${JAVAC} JAVAH=${JAVAH}
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
|
|
|
CONFIGURE_ENV= JAVA_HOME="${JAVA_HOME}"
|
2007-02-15 18:16:21 +01:00
|
|
|
USE_LDCONFIG= yes
|
2003-05-15 18:34:36 +02:00
|
|
|
|
2006-02-23 11:40:44 +01:00
|
|
|
PLIST_FILES= lib/libjmp.la lib/libjmp.so lib/libjmp.so.0 \
|
2004-10-26 18:51:29 +02:00
|
|
|
share/locale/de/LC_MESSAGES/jmp.mo \
|
|
|
|
share/locale/sv/LC_MESSAGES/jmp.mo
|
2004-08-27 14:06:50 +02:00
|
|
|
|
2006-05-10 19:25:51 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(WITHOUT_X11)
|
|
|
|
CONFIGURE_ARGS+= --enable-noui
|
|
|
|
.else
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_XORG= x11
|
2006-05-10 19:25:51 +02:00
|
|
|
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
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|