diff options
author | Michael Landin <mich@FreeBSD.org> | 2005-07-19 16:07:31 +0000 |
---|---|---|
committer | Michael Landin <mich@FreeBSD.org> | 2005-07-19 16:07:31 +0000 |
commit | 34b109962e55135a29f2528b2ec001b855352a3b (patch) | |
tree | f4511b9077b8d021898f9c6e8bfdb056bb709adc /games | |
parent | 050d74a67ac72f2fc4b17c411517e1a842d03839 (diff) |
o Respect DATADIR and DOCSDIR
PR: ports/83733
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=139601
Diffstat (limited to 'games')
-rw-r--r-- | games/viruskiller/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
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} |