Date: Thu, 28 Aug 2014 12:54:20 +0000 (UTC) From: Tijl Coosemans <tijl@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r366403 - head/devel/tijmp Message-ID: <201408281254.s7SCsK8h031883@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tijl Date: Thu Aug 28 12:54:20 2014 New Revision: 366403 URL: http://svnweb.freebsd.org/changeset/ports/366403 QAT: https://qat.redports.org/buildarchive/r366403/ Log: - Add USES=libtool and INSTALL_TARGET=install-strip - Use standard do-install Modified: head/devel/tijmp/Makefile Modified: head/devel/tijmp/Makefile ============================================================================== --- head/devel/tijmp/Makefile Thu Aug 28 12:52:33 2014 (r366402) +++ head/devel/tijmp/Makefile Thu Aug 28 12:54:20 2014 (r366403) @@ -3,6 +3,7 @@ PORTNAME= tijmp PORTVERSION= 0.7 +PORTREVISION= 1 CATEGORIES= devel java MASTER_SITES= http://www.khelekore.org/jmp/tijmp/ \ http://www.klop.ws/~ronald/software-mirrors/ @@ -10,33 +11,26 @@ MASTER_SITES= http://www.khelekore.org/j MAINTAINER= ronald-lists@klop.ws COMMENT= Tools Interface Java Memory Profiler -OPTIONS_DEFINE= OPTIMIZED_CFLAGS +OPTIONS_DEFINE= DOCS OPTIMIZED_CFLAGS -USES= gmake +GNU_CONFIGURE= yes +CONFIGURE_ENV= JAVA_HOME="${JAVA_HOME}" +INSTALL_TARGET= install-strip +USES= gmake libtool USE_JAVA= yes JAVA_VERSION= 1.6+ JAVA_OS= native JAVA_BUILD= jdk -NEED_JAVAC= yes - -GNU_CONFIGURE= yes - -CONFIGURE_ENV= JAVA_HOME="${JAVA_HOME}" USE_LDCONFIG= yes -PLIST_FILES= lib/lib${PORTNAME}.la \ - lib/lib${PORTNAME}.so lib/lib${PORTNAME}.so.0 \ - %%JAVAJARDIR%%/${PORTNAME}.jar +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-extract:: +post-patch: + @${REINPLACE_CMD} '/^jardir =/s|=.*|= ${JAVAJARDIR}|' ${WRKSRC}/Makefile.in @${SED} -i "" -e 's|/../share/java|${JAVAJARDIR}|' ${WRKSRC}/src/tijmp.c -do-install:: - ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar - ${INSTALL_DATA} ${WRKSRC}/src/.libs/lib${PORTNAME}.la ${STAGEDIR}${PREFIX}/lib/ - ${INSTALL_PROGRAM} ${WRKSRC}/src/.libs/lib${PORTNAME}.so.0 ${STAGEDIR}${PREFIX}/lib/ - ${LN} -sf lib${PORTNAME}.so.0 ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}.so - .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408281254.s7SCsK8h031883>