=================================================================== RCS file: /cvs/ports/games/zod/Attic/Makefile,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- ports/games/zod/Attic/Makefile 2011/09/15 09:26:45 1.2 +++ ports/games/zod/Attic/Makefile 2011/10/26 17:00:19 1.3 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2011/09/15 09:26:45 yason Exp $ +# $OpenBSD: Makefile,v 1.3 2011/10/26 17:00:19 yason Exp $ COMMENT-main = multiplayer oriented remake of the game Z COMMENT-data = data files for zod @@ -53,5 +53,9 @@ ${INSTALL_PROGRAM} ${WRKSRC}/zod /${PREFIX}/share/zod/ ${INSTALL_DATA_DIR} ${PREFIX}/share/zod/assets cd ${WRKDIR}/assets && pax -rw . ${PREFIX}/share/zod/assets + + @echo "#!/bin/sh" > ${WRKSRC}/zod.sh + @echo "cd $(LOCALBASE)/share/zod/; ./zod \$$*; exit \$$?" >> ${WRKSRC}/zod.sh + $(INSTALL_SCRIPT) ${WRKSRC}/zod.sh $(PREFIX)/bin/zod .include