diff options
author | crees <crees@FreeBSD.org> | 2012-04-18 16:59:58 +0800 |
---|---|---|
committer | crees <crees@FreeBSD.org> | 2012-04-18 16:59:58 +0800 |
commit | e556d7c2efec54e5a9e8f45e95fea05e08aa4331 (patch) | |
tree | c05ffe9d03c6fae01031cb738e04f472a9a96b84 /games/jinput | |
parent | ddcdd0f50b3908b6380b81afc0c92df8bab98b91 (diff) | |
download | freebsd-ports-gnome-e556d7c2efec54e5a9e8f45e95fea05e08aa4331.tar.gz freebsd-ports-gnome-e556d7c2efec54e5a9e8f45e95fea05e08aa4331.tar.zst freebsd-ports-gnome-e556d7c2efec54e5a9e8f45e95fea05e08aa4331.zip |
Java Game Controller API
WWW: https://svn.java.net/svn/jinput~svn/trunk
PR: ports/166678
Submitted by: loader
Diffstat (limited to 'games/jinput')
-rw-r--r-- | games/jinput/Makefile | 40 | ||||
-rw-r--r-- | games/jinput/distinfo | 2 | ||||
-rw-r--r-- | games/jinput/pkg-descr | 3 |
3 files changed, 45 insertions, 0 deletions
diff --git a/games/jinput/Makefile b/games/jinput/Makefile new file mode 100644 index 000000000000..c5b984029d20 --- /dev/null +++ b/games/jinput/Makefile @@ -0,0 +1,40 @@ +# New ports collection makefile for: jinput +# Date created: Mar 25 2012 +# Whom: loader <loader@freebsdmall.com> +# +# $FreeBSD$ +# + +PORTNAME= jinput +DISTVERSION= 20110801.r247 +CATEGORIES= games java +MASTER_SITES= LOCAL/loader + +MAINTAINER= loader@freebsdmall.com +COMMENT= Java Game Controller API + +BUILD_DEPENDS= ${JAVALIBDIR}/jutils/jutils.jar:${PORTSDIR}/games/jutils +RUN_DEPENDS= ${JAVALIBDIR}/jutils/jutils.jar:${PORTSDIR}/games/jutils + +USE_BZIP2= yes +USE_JAVA= yes +JAVA_VERSION= 1.6 +JAVA_OS= native +JAVA_VENDOR= openjdk +USE_ANT= yes +ALL_TARGET= simple_linux + +PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}/${PORTNAME}.jar +PLIST_DIRS= %%JAVAJARDIR%%/${PORTNAME} + +post-patch: + @${LN} -sf ${JAVALIBDIR}/jutils/jutils.jar ${WRKSRC}/lib/ + +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 ]" + +.include <bsd.port.mk> diff --git a/games/jinput/distinfo b/games/jinput/distinfo new file mode 100644 index 000000000000..67cd2f8e1b45 --- /dev/null +++ b/games/jinput/distinfo @@ -0,0 +1,2 @@ +SHA256 (jinput-20110801.r247.tar.bz2) = 2275512294a1ed8ca739d60653ff12a4beb775dd43e929433488884e7d4691f7 +SIZE (jinput-20110801.r247.tar.bz2) = 1565811 diff --git a/games/jinput/pkg-descr b/games/jinput/pkg-descr new file mode 100644 index 000000000000..a7031c770074 --- /dev/null +++ b/games/jinput/pkg-descr @@ -0,0 +1,3 @@ +Java Game Controller API + +WWW: https://svn.java.net/svn/jinput~svn/trunk |