blob: fe94aeea8701798c0d6326f641bcf2f90ff91136 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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= 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-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>
|