blob: a76ac3c7fead7e4c89a146b33d404c7bb3aec366 (
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
38
39
40
41
42
43
44
|
# $NetBSD: Makefile,v 1.3 2005/05/22 20:08:02 jlam Exp $
DISTNAME= openttd-0.3.6-source
PKGNAME= openttd-0.3.6
CATEGORIES= games x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openttd/}
MAINTAINER= froz@icix.org
HOMEPAGE= http://www.openttd.com/
COMMENT= Open source clone of Transport Tycoon Deluxe
USE_TOOLS+= gmake
USE_X11= yes
DATA_DIR= ${PREFIX}/share/games/openttd
MAKE_ENV+= PREFIX=${PREFIX}
MAKE_ENV+= INSTALL=1
MAKE_ENV+= BINARY_DIR=bin
MAKE_ENV+= DATA_DIR=share/games/openttd
MAKE_ENV+= USE_HOMEDIR=1
MAKE_ENV+= PERSONAL_DIR=.openttd
MAKE_ENV+= WITH_NETWORK=1
MAKE_ENV+= X11BASE=${X11BASE}
WRKSRC= ${WRKDIR}/${PKGNAME}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/openttd ${PREFIX}/bin
@${INSTALL_DATA_DIR} ${DATA_DIR}
@${INSTALL_DATA_DIR} ${DATA_DIR}/lang
@${INSTALL_DATA_DIR} ${DATA_DIR}/data
@${INSTALL_DATA_DIR} ${DATA_DIR}/docs
@${INSTALL_DATA_DIR} ${DATA_DIR}/gm
${INSTALL_DATA} -m 644 ${WRKSRC}/lang/*.lng ${DATA_DIR}/lang
${INSTALL_DATA} -m 644 ${WRKSRC}/data/* ${DATA_DIR}/data
${INSTALL_DATA} -m 644 ${WRKSRC}/readme.txt ${DATA_DIR}/docs
${INSTALL_DATA} -m 644 ${WRKSRC}/changelog.txt ${DATA_DIR}/docs
${INSTALL_DATA} -m 644 ${WRKSRC}/docs/Manual.txt ${DATA_DIR}/docs
${INSTALL_DATA} -m 644 ${WRKSRC}/docs/multiplayer.txt ${DATA_DIR}/docs
.include "../../graphics/png/buildlink3.mk"
.include "../../devel/SDL/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|