diff options
author | Chris Rees <crees@FreeBSD.org> | 2012-11-26 12:12:55 +0000 |
---|---|---|
committer | Chris Rees <crees@FreeBSD.org> | 2012-11-26 12:12:55 +0000 |
commit | 716b6bc1f99c3f6282be347c15d4a67c227085c9 (patch) | |
tree | 47d19d6a8b6389418bf0ee8ad2085dd7360e363a /games/lwjgl/Makefile | |
parent | 465a7968c30d8b07594da593e5e7fac859b50ccc (diff) |
Update to 2.8.5
PR: ports/173839
Submitted by: 4721
Reset maintainership
Approved by: loader (maintainer)
Feature safe: yes
Notes
Notes:
svn path=/head/; revision=307777
Diffstat (limited to 'games/lwjgl/Makefile')
-rw-r--r-- | games/lwjgl/Makefile | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/games/lwjgl/Makefile b/games/lwjgl/Makefile index 0e28f51adae8..8f37ba03d3e5 100644 --- a/games/lwjgl/Makefile +++ b/games/lwjgl/Makefile @@ -1,19 +1,19 @@ -# New ports collection makefile for: jinput -# Date created: Mar 25 2012 -# Whom: loader <loader@freebsdmall.com> -# +# Created by: loader <loader@freebsdmall.com> # $FreeBSD$ -# PORTNAME= lwjgl -DISTVERSION= 2.7.1 +DISTVERSION= 2.8.5 CATEGORIES= games java MASTER_SITES= SF/java-game-lib/Official%20Releases/${PORTNAME:U}%20${PORTVERSION}/ -DISTNAME= ${PORTNAME}-source-${DISTVERSION} +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ + ${PORTNAME}-source-${DISTVERSION}${EXTRACT_SUFX} -MAINTAINER= loader@freebsdmall.com +MAINTAINER= ports@FreeBSD.org COMMENT= The Lightweight Java Game Library +LICENSE= BSD +LICENSE_FILE= ${WRKSRC}/${DISTNAME}/doc/LICENSE + BUILD_DEPENDS= ${JAVALIBDIR}/jutils/jutils.jar:${PORTSDIR}/games/jutils \ ${JAVALIBDIR}/jinput/jinput.jar:${PORTSDIR}/games/jinput \ ${LOCALBASE}/include/X11/extensions/xf86vmode.h:${PORTSDIR}/x11/libXxf86vm \ @@ -33,11 +33,12 @@ USE_ZIP= yes USE_JAVA= yes USE_LDCONFIG= yes USE_DOS2UNIX= yes +DOS2UNIX_REGEX= .*.[^j][^a][^r]$ JAVA_VERSION= 1.6+ JAVA_OS= native JAVA_VENDOR= openjdk USE_ANT= yes -MAKE_ENV+= CLASSPATH=${JAVALIBDIR}/jutils/jutils.jar:${JAVALIBDIR}/jinput/jinput.jar +MAKE_ENV+= CLASSPATH=${JAVALIBDIR}/jutils/jutils.jar:${JAVALIBDIR}/jinput/jinput.jar:${WRKSRC}/${DISTNAME}/jar/ ALL_TARGET= jars compile_native PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}/${PORTNAME}.jar \ @@ -49,14 +50,17 @@ PLIST_DIRS= %%JAVAJARDIR%%/${PORTNAME} \ .include <bsd.port.pre.mk> -.if ${ARCH} == "i386" +.if ${ARCH} == i386 PLIST_FILES+= lib/${PORTNAME}${PORTVERSION}/lib${PORTNAME}.so .endif -.if ${ARCH} == "amd64" +.if ${ARCH} == amd64 PLIST_FILES+= lib/${PORTNAME}${PORTVERSION}/lib${PORTNAME}64.so .endif +post-patch: + ${REINPLACE_CMD} -e 's,PREFIX,${PREFIX},g' ${WRKSRC}/platform_build/linux_ant/build.xml + do-install: @${ECHO_MSG} -n ">> Install JAR files in ${JAVAJARDIR}/${PORTNAME}/ ..." @${MKDIR} ${JAVAJARDIR}/${PORTNAME} @@ -65,10 +69,10 @@ do-install: .endfor @${ECHO_MSG} " [ DONE ]" @${MKDIR} ${PREFIX}/lib/${PORTNAME}${PORTVERSION} -.if ${ARCH} == "i386" +.if ${ARCH} == i386 @${INSTALL_DATA} ${WRKSRC}/libs/linux/lib${PORTNAME}.so ${PREFIX}/lib/${PORTNAME}${PORTVERSION} .endif -.if ${ARCH} == "amd64" +.if ${ARCH} == amd64 @${INSTALL_DATA} ${WRKSRC}/libs/linux/lib${PORTNAME}64.so ${PREFIX}/lib/${PORTNAME}${PORTVERSION} .endif |