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

PORTNAME=	spicetrade
PORTVERSION=	1.2
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=	1.4+
USE_X_PREFIX=	yes
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>
OpenPOWER on IntegriCloud