- shift origins for consistentcy with other Python ports

Submitted by:	jgh@
Approved by:	maintainer, christer.edwards@gmail.com
This commit is contained in:
Jason Helfman 2013-03-29 16:24:45 +00:00
parent da8d919f65
commit 36153290d2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=315547
5 changed files with 44 additions and 0 deletions

View file

@ -76,6 +76,7 @@
SUBDIR += bitefusion
SUBDIR += black-box
SUBDIR += blackjack
SUBDIR += blackjackclient
SUBDIR += blackshadeselite
SUBDIR += blinken
SUBDIR += blinkensisters

View file

@ -0,0 +1,35 @@
# Created by: Jason Helfman <jgh@FreeBSD.org>
# $FreeBSD$
PORTNAME= BlackjackClient
PORTVERSION= 0.1
CATEGORIES= games java
MASTER_SITES= SF/t-blackjack/
DISTNAME= t-blackjack-beta
MAINTAINER= jgh@FreeBSD.org
COMMENT= Simple Blackjack game in Java
USE_ZIP= yes
USE_JAVA= yes
JAVA_VERSION= 1.6+
PLIST_FILES= bin/${PORTNAME} \
%%JAVAJARDIR%%/${PORTNAME}.jar
SUB_FILES= ${PORTNAME}.sh
post-extract-script:
@${ECHO_CMD} "Main-Class: ${PORTNAME}" > ${WRKDIR}/src/MANIFEST.MF
do-build:
cd ${WRKDIR}/src && \
${JAVAC} ${PORTNAME}.java
post-build-script:
@cd ${WRKDIR}/src && \
${JAR} -cfm ${PORTNAME}.jar MANIFEST.MF au ${PORTNAME}.class
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME}
${INSTALL_DATA} ${WRKDIR}/src/${PORTNAME}.jar ${JAVAJARDIR}
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
SHA256 (t-blackjack-beta.zip) = e842e4e3b5f0076271b14ea3993c93b37d73a37cc9b371d774f6f668f4f9bd66
SIZE (t-blackjack-beta.zip) = 125893

View file

@ -0,0 +1,3 @@
#!/bin/sh
JAVA_VERSION="%%JAVA_VERSION%%" "%%LOCALBASE%%/bin/java" -jar "%%JAVAJARDIR%%/BlackjackClient.jar"

View file

@ -0,0 +1,3 @@
Simple Blackjack game in Java
WWW: http://sourceforge.net/projects/t-blackjack/