Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Nov 2013 00:28:16 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r334040 - head/games/jinput
Message-ID:  <201311170028.rAH0SGwZ038386@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Sun Nov 17 00:28:16 2013
New Revision: 334040
URL: http://svnweb.freebsd.org/changeset/ports/334040

Log:
  - Add stage support

Modified:
  head/games/jinput/Makefile

Modified: head/games/jinput/Makefile
==============================================================================
--- head/games/jinput/Makefile	Sun Nov 17 00:23:51 2013	(r334039)
+++ head/games/jinput/Makefile	Sun Nov 17 00:28:16 2013	(r334040)
@@ -23,15 +23,16 @@ ALL_TARGET=	simple_linux
 PLIST_FILES=	%%JAVAJARDIR%%/${PORTNAME}/${PORTNAME}.jar
 PLIST_DIRS=	%%JAVAJARDIR%%/${PORTNAME}
 
-NO_STAGE=	yes
 post-patch:
 	@${LN} -sf ${JAVALIBDIR}/jutils/jutils.jar ${WRKSRC}/lib/
 
+do-build:
+	@(cd ${BUILD_WRKSRC}; \
+		${SETENV} ${MAKE_ENV} ${ANT} ${ALL_TARGET})
+
 do-install:
-	@${ECHO_MSG} -n ">> Install JAR files in ${JAVAJARDIR}/${PORTNAME}/ ..."
-	@${MKDIR} ${JAVAJARDIR}/${PORTNAME}
-	@${INSTALL_DATA} ${WRKSRC}/dist/${PORTNAME}.jar \
-		${JAVAJARDIR}/${PORTNAME}/
-	@${ECHO_MSG} " [ DONE ]"
+	@${MKDIR} ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}
+	${INSTALL_DATA} ${WRKSRC}/dist/${PORTNAME}.jar \
+		${STAGEDIR}${JAVAJARDIR}/${PORTNAME}/
 
 .include <bsd.port.mk>



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