aboutsummaryrefslogtreecommitdiffstats
path: root/games/spicetrade/Makefile
blob: 1ba0591734a011bf0ef9afc080748c48b4ccf6cd (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
# New ports collection makefile for:    spicetrade
# Date created:             2005-09-09
# Whom:                 Daniel Roethlisberger <daniel@roe.ch>
#
# $FreeBSD$
#

PORTNAME=   spicetrade
PORTVERSION=    1.2
PORTREVISION=   1
CATEGORIES= games java
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME=   Spicetrade-${PORTVERSION}
EXTRACT_SUFX=   .jar
EXTRACT_ONLY=

MAINTAINER= daniel@roe.ch
COMMENT=    Colourful 14th century Arab spice trading game

NO_PACKAGE= Package will be 186MB, set FORCE_PACKAGE if you really want to build it

USE_JAVA=   yes
JAVA_VERSION=   1.4+
DATADIR=    ${JAVASHAREDIR}/${PORTNAME}
NO_BUILD=   yes

SUB_FILES=  ${PORTNAME}
SUB_LIST=   JARFILE="${DATADIR}/${DISTFILES}"

PLIST_FILES=    bin/spicetrade %%DATADIR%%/${DISTFILES}
PLIST_DIRS= %%DATADIR%%

do-install:
    ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
    ${MKDIR} ${DATADIR}
    ${INSTALL_DATA} ${DISTDIR}/${DISTFILES} ${DATADIR}

.include <bsd.port.mk>