From 34b109962e55135a29f2528b2ec001b855352a3b Mon Sep 17 00:00:00 2001 From: Michael Landin Date: Tue, 19 Jul 2005 16:07:31 +0000 Subject: o Respect DATADIR and DOCSDIR PR: ports/83733 Submitted by: maintainer --- games/viruskiller/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'games') diff --git a/games/viruskiller/Makefile b/games/viruskiller/Makefile index 4c384a86abdc..9b371b11e29d 100644 --- a/games/viruskiller/Makefile +++ b/games/viruskiller/Makefile @@ -26,7 +26,9 @@ MAKE_ENV= CXX="${CXX}" post-patch: # Fix Makefile - @${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}| ; \ + @${REINPLACE_CMD} -e 's|$$(PREFIX)/share/$$(PROG)|${DATADIR}| ; \ + s|$$(PREFIX)/share/doc/$$(PROG)|${DOCSDIR}| ; \ + s|sdl-config|${SDL_CONFIG}| ; \ s|\(-Wall\)|${CFLAGS} \1|' \ ${WRKSRC}/${MAKEFILE} -- cgit v1.2.3