From 4e2d98bd2c72db7bf306ddf7cb2bad32eda6091a Mon Sep 17 00:00:00 2001 From: ume Date: Fri, 4 Feb 2005 12:42:11 +0000 Subject: use PORTDOCS. --- sysutils/gkrellm/Makefile | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'sysutils/gkrellm/Makefile') diff --git a/sysutils/gkrellm/Makefile b/sysutils/gkrellm/Makefile index 2c9a148d14b2..da07d639bcc8 100644 --- a/sysutils/gkrellm/Makefile +++ b/sysutils/gkrellm/Makefile @@ -26,7 +26,10 @@ USE_GMAKE= yes INCLUDES= gkrellm.h gkrellm_public_proto.h MAN1= gkrellm.1 -DOCS= COPYRIGHT README Themes.html + +.if !defined(NOPORTDOCS) +PORTDOCS= COPYRIGHT README Themes.html +.endif # If you want to support LM78/79 feature, set this to `yes'. You # should aware that GKrellM must be setuid root to obtain @@ -61,18 +64,18 @@ do-install: ${GMAKE} install enable_nls=1 LOCALEDIR=${PREFIX}/share/locale @${MKDIR} ${PREFIX}/include/gkrellm -.for file in ${INCLUDES} - ${INSTALL_DATA} ${WRKSRC}/src/${file} ${PREFIX}/include/gkrellm +.for f in ${INCLUDES} + ${INSTALL_DATA} ${WRKSRC}/src/${f} ${PREFIX}/include/gkrellm .endfor @${MKDIR} ${PREFIX}/libexec/gkrellm/plugins @${MKDIR} ${PREFIX}/share/gkrellm/themes -.for file in ${MAN1} - ${INSTALL_MAN} ${WRKSRC}/${file} ${MANPREFIX}/man/man1/${file} +.for f in ${MAN1} + ${INSTALL_MAN} ${WRKSRC}/${f} ${MANPREFIX}/man/man1/${f} .endfor .if !defined(NOPORTDOCS) - @${MKDIR} ${PREFIX}/share/doc/gkrellm -.for file in ${DOCS} - ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/gkrellm + @${MKDIR} ${DOCSDIR} +.for f in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} .endfor .endif .if !defined(WITH_SENSOR) -- cgit