blob: 725694ba7ebe712aa85250364efed240581b0b34 (
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
|
# Created by: Daniel Roethlisberger <daniel@roe.ch>
# $FreeBSD$
PORTNAME= spicetrade
PORTVERSION= 1.2
PORTREVISION= 3
CATEGORIES= games java
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/Spice%20Trade%20v${PORTVERSION}
DISTNAME= Spicetrade-${PORTVERSION}
EXTRACT_SUFX= .jar
EXTRACT_ONLY= # empty
MAINTAINER= ports@FreeBSD.org
COMMENT= Colourful 14th century Arab spice trading game
USE_JAVA= yes
JAVA_VERSION= 1.6+
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
NO_BUILD= yes
NO_ARCH= yes
SUB_FILES= ${PORTNAME}
SUB_LIST= JARFILE="${DATADIR}/${DISTFILES}"
PLIST_FILES= bin/spicetrade \
%%DATADIR%%/${DISTFILES}
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${DISTDIR}/${DISTFILES} ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>
|