c9112b8dc6
it from installing config files into /etc at pkg install time (We could do better, save the information and do it later from the INSTALL script, but I didn't anything ggz-like to work, the game servers didn't respond, so I don't know how to test it.)
16 lines
419 B
Makefile
16 lines
419 B
Makefile
# $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}
|