# New ports collection makefile for: GShisen # Date created: 12 Jun 2001 # Whom: Thomas Gellekum # # $FreeBSD$ # PORTNAME= gshisen PORTVERSION= 1.0.1 PORTREVISION= 1 CATEGORIES= games MASTER_SITES= http://www.gnustep.it/enrico/gshisen/ MAINTAINER= dinoex@FreeBSD.org COMMENT= Mahjongg-kind of game that uses the GNUstep toolkit BUILD_DEPENDS= ${BACKBUNDLEDIR}/libgnustep-back:${PORTSDIR}/x11-toolkits/gnustep-back BUILD_DEPENDS+= ${LOCALBASE}/lib/libcallback.a:${PORTSDIR}/devel/ffcall RUN_DEPENDS= ${BACKBUNDLEDIR}/libgnustep-back:${PORTSDIR}/x11-toolkits/gnustep-back PREFIX= ${LOCALBASE}/GNUstep WRKSRC= ${WRKDIR}/GShisen USE_GMAKE= yes MAKEFILE= MAKE_FLAGS= GUI_BACKEND_LIB=back ALL_TARGET= NO_MTREE= yes USE_GCC= 3.2 BACKBUNDLEDIR= ${PREFIX}/System/Library/Bundles/libgnustep-back.bundle/${GNU_ARCH}/${OPSYS:L}/gnu-gnu-gnu .include .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