o Respect DATADIR and DOCSDIR

PR:		ports/83733
Submitted by:	maintainer
This commit is contained in:
Michael Landin 2005-07-19 16:07:31 +00:00
parent 050d74a67a
commit 34b109962e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=139601

View File

@ -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}