svn commit: r334040 - head/games/jinput

Danilo Egea Gondolfo danilo at FreeBSD.org
Sun Nov 17 00:28:16 UTC 2013


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>


More information about the svn-ports-all mailing list