aboutsummaryrefslogtreecommitdiffstats
path: root/games/gshisen/Makefile
blob: 7cb9791524b0bef79edbcf2fab7b88657f043baa (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
40
41
42
43
44
45
46
# New ports collection makefile for:    GShisen
# Date created:         12 Jun 2001
# Whom:                 Thomas Gellekum <tg@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   gshisen
PORTVERSION=    1.0.1
CATEGORIES= games
MASTER_SITES=   http://www.gnustep.it/enrico/gshisen/

MAINTAINER= ports@FreeBSD.org

BUILD_DEPENDS=  ${XGPSBUNDLEDIR}/${GNU_ARCH}/${OPSYS:L}/gnu-gnu-gnu/libgnustep-xgps:${PORTSDIR}/x11-toolkits/gnustep-xgps
RUN_DEPENDS=    ${XGPSBUNDLEDIR}/${GNU_ARCH}/${OPSYS:L}/gnu-gnu-gnu/libgnustep-xgps:${PORTSDIR}/x11-toolkits/gnustep-xgps

PREFIX=     ${LOCALBASE}/GNUstep
WRKSRC=     ${WRKDIR}/GShisen
USE_GMAKE=  yes
MAKEFILE=
MAKE_FLAGS= GUI_BACKEND_LIB=xgps
ALL_TARGET=
NO_MTREE=   yes

XGPSBUNDLEDIR=  ${PREFIX}/System/Library/Bundles/libgnustep-xgps.bundle

.include <bsd.port.pre.mk>

.if ${MACHINE_ARCH} == "i386"
GNU_ARCH=   ix86
.else
GNU_ARCH=   ${MACHINE_ARCH}
.endif

PLIST_SUB+= GNU_ARCH=${GNU_ARCH} OPSYS=${OPSYS:L}

do-build:
    @(cd ${WRKSRC}; . ${PREFIX}/System/Makefiles/GNUstep.sh; \
        ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${ALL_TARGET})

do-install:
    @(cd ${WRKSRC}; . ${PREFIX}/System/Makefiles/GNUstep.sh; \
        ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET})

.include <bsd.port.post.mk>