1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/games/jinput/Makefile
Danilo Egea Gondolfo 74d73173c2 - Add stage support
2013-11-17 00:28:16 +00:00

39 lines
910 B
Makefile

# Created by: loader <loader@freebsdmall.com>
# $FreeBSD$
PORTNAME= jinput
DISTVERSION= 20110801.r247
CATEGORIES= games java
MASTER_SITES= LOCAL/loader
MAINTAINER= ports@FreeBSD.org
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-build:
@(cd ${BUILD_WRKSRC}; \
${SETENV} ${MAKE_ENV} ${ANT} ${ALL_TARGET})
do-install:
@${MKDIR} ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/dist/${PORTNAME}.jar \
${STAGEDIR}${JAVAJARDIR}/${PORTNAME}/
.include <bsd.port.mk>