summaryrefslogtreecommitdiffstats
path: root/games/viruskiller
diff options
context:
space:
mode:
authormich <mich@FreeBSD.org>2005-07-19 16:07:31 +0000
committermich <mich@FreeBSD.org>2005-07-19 16:07:31 +0000
commit5f807cc3b9e9d45d274239806c61c91ef5345203 (patch)
treec02bb090acc43918c10d5f97445704b1e48b9c44 /games/viruskiller
parent4d47899cd9d50187bf90826e5f9c5ac653420307 (diff)
downloadFreeBSD-ports-5f807cc3b9e9d45d274239806c61c91ef5345203.zip
FreeBSD-ports-5f807cc3b9e9d45d274239806c61c91ef5345203.tar.gz
o Respect DATADIR and DOCSDIR
PR: ports/83733 Submitted by: maintainer
Diffstat (limited to 'games/viruskiller')
-rw-r--r--games/viruskiller/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/games/viruskiller/Makefile b/games/viruskiller/Makefile
index 4c384a8..9b371b1 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}
OpenPOWER on IntegriCloud