aboutsummaryrefslogtreecommitdiff
path: root/games/openglad/Makefile
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2008-08-24 19:05:39 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2008-08-24 19:05:39 +0000
commit682b9842a4d1f2ca13a680707cf995b53b552888 (patch)
tree32d5272f99ec53c2105f428c9e48be009b802e55 /games/openglad/Makefile
parent509e23f218e143ae9a1e0f831a8784aee998c2bd (diff)
- Fix plist for NOPORTDOCS case
- While here, use %%DATADIR%% macros in the plist Reported by: QAT
Notes
Notes: svn path=/head/; revision=219096
Diffstat (limited to 'games/openglad/Makefile')
-rw-r--r--games/openglad/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/games/openglad/Makefile b/games/openglad/Makefile
index e809a969751f..8a5beb87533d 100644
--- a/games/openglad/Makefile
+++ b/games/openglad/Makefile
@@ -19,10 +19,14 @@ GNU_CONFIGURE= yes
USE_SDL= sdl mixer
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include"
-PLIST_SUB= DOCDIR=share/doc/${PORTNAME}
NOT_FOR_ARCHS= sparc64
+.if defined(NOPORTDOCS)
+post-patch:
+ @${REINPLACE_CMD} -e 's|^docs_DOCS = |nono&|' ${WRKSRC}/Makefile.in
+.endif
+
post-configure:
${REINPLACE_CMD} -e 's|/path/to/data/dir|${LOCALBASE}/share/openglad|g' \
${WRKSRC}/openglad.cfg