blob: 41220a82aea98107921ed103a3493030b6dc2e9f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# $NetBSD: ggz-client.mk,v 1.1 2009/07/28 18:47:14 drochner Exp $
REALGGZCONFIG= ${PREFIX}/bin/ggz-config
CONFIGURE_ARGS+= --with-ggzconfig=${WRAPPER_DIR}/bin
pre-configure: ${WRAPPER_DIR}/bin/ggz-config
${WRAPPER_DIR}/bin/ggz-config:
${PRINTF} "#! ${SH}\\n\
case \$$1 in\\n\
--configdir|--gamedir|--datadir) ${REALGGZCONFIG} \$$1;;\\n\
*) exit 0;;\\n\
esac\\n\
" > ${.TARGET}
${CHMOD} +x ${.TARGET}
|