1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/devel/tijmp/Makefile
2021-04-06 16:31:07 +02:00

35 lines
866 B
Makefile

# Created by: Ronald Klop <ronald@echteman.nl>
PORTNAME= tijmp
PORTVERSION= 0.7
PORTREVISION= 1
CATEGORIES= devel java
MASTER_SITES= http://www.khelekore.org/jmp/tijmp/ \
http://www.klop.ws/distfiles/
MAINTAINER= ronald-lists@klop.ws
COMMENT= Tools Interface Java Memory Profiler
OPTIONS_DEFINE= DOCS OPTIMIZED_CFLAGS
GNU_CONFIGURE= yes
CONFIGURE_ENV= JAVA_HOME="${JAVA_HOME}"
INSTALL_TARGET= install-strip
USES= gmake libtool
USE_JAVA= yes
JAVA_OS= native
JAVA_BUILD= jdk
USE_LDCONFIG= yes
PLIST_FILES= lib/lib${PORTNAME}.so lib/lib${PORTNAME}.so.0 \
lib/lib${PORTNAME}.so.0.0.1 %%JAVAJARDIR%%/${PORTNAME}.jar
PORTDOCS= ChangeLog README
OPTIMIZED_CFLAGS_CFLAGS= -O3
post-patch:
@${REINPLACE_CMD} '/^jardir =/s|=.*|= ${JAVAJARDIR}|' ${WRKSRC}/Makefile.in
@${SED} -i "" -e 's|/../share/java|${JAVAJARDIR}|' ${WRKSRC}/src/tijmp.c
.include <bsd.port.mk>