Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jan 2014 00:04:26 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340956 - head/devel/tijmp
Message-ID:  <201401250004.s0P04QF5004959@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sat Jan 25 00:04:26 2014
New Revision: 340956
URL: http://svnweb.freebsd.org/changeset/ports/340956
QAT: https://qat.redports.org/buildarchive/r340956/

Log:
  Support stage

Modified:
  head/devel/tijmp/Makefile

Modified: head/devel/tijmp/Makefile
==============================================================================
--- head/devel/tijmp/Makefile	Sat Jan 25 00:02:33 2014	(r340955)
+++ head/devel/tijmp/Makefile	Sat Jan 25 00:04:26 2014	(r340956)
@@ -12,7 +12,7 @@ COMMENT=	Tools Interface Java Memory Pro
 
 OPTIONS_DEFINE=	OPTIMIZED_CFLAGS
 
-USE_GMAKE=	yes
+USES=		gmake
 USE_JAVA=	yes
 JAVA_VERSION=	1.6+
 JAVA_OS=	native
@@ -28,22 +28,15 @@ PLIST_FILES=	lib/lib${PORTNAME}.la \
 		lib/lib${PORTNAME}.so lib/lib${PORTNAME}.so.0 \
 		%%JAVAJARDIR%%/${PORTNAME}.jar
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-.include <bsd.port.pre.mk>
-
-.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS}
-CFLAGS?=	-O3
-.endif
+OPTIMIZED_CFLAGS_CFLAGS=	-O3
 
 post-extract::
 	@${SED} -i "" -e 's|/../share/java|${JAVAJARDIR}|' ${WRKSRC}/src/tijmp.c
 
 do-install::
-	@${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${PORTNAME}.jar..."
-	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.jar ${JAVAJARDIR}/${PORTNAME}.jar
-	${INSTALL_DATA} ${WRKSRC}/src/.libs/lib${PORTNAME}.la ${PREFIX}/lib/
-	${INSTALL_PROGRAM} ${WRKSRC}/src/.libs/lib${PORTNAME}.so.0 ${PREFIX}/lib/
-	cd ${PREFIX}/lib && ${LN} -sf lib${PORTNAME}.so.0 lib${PORTNAME}.so
+	${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.post.mk>
+.include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401250004.s0P04QF5004959>