diff options
author | ume <ume@FreeBSD.org> | 2005-02-04 20:42:11 +0800 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2005-02-04 20:42:11 +0800 |
commit | 4e2d98bd2c72db7bf306ddf7cb2bad32eda6091a (patch) | |
tree | a52c026f562d3ba0ab92404810f9452478144864 /sysutils/gkrellm | |
parent | cf4453a19a0009bbc19f011f49f1ba8d4c686d82 (diff) | |
download | freebsd-ports-graphics-4e2d98bd2c72db7bf306ddf7cb2bad32eda6091a.tar.gz freebsd-ports-graphics-4e2d98bd2c72db7bf306ddf7cb2bad32eda6091a.tar.zst freebsd-ports-graphics-4e2d98bd2c72db7bf306ddf7cb2bad32eda6091a.zip |
use PORTDOCS.
Diffstat (limited to 'sysutils/gkrellm')
-rw-r--r-- | sysutils/gkrellm/Makefile | 19 | ||||
-rw-r--r-- | sysutils/gkrellm/pkg-plist | 4 |
2 files changed, 11 insertions, 12 deletions
diff --git a/sysutils/gkrellm/Makefile b/sysutils/gkrellm/Makefile index 2c9a148d14b..da07d639bcc 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) diff --git a/sysutils/gkrellm/pkg-plist b/sysutils/gkrellm/pkg-plist index 939247f6792..268eb63fd97 100644 --- a/sysutils/gkrellm/pkg-plist +++ b/sysutils/gkrellm/pkg-plist @@ -1,9 +1,6 @@ bin/gkrellm include/gkrellm/gkrellm.h include/gkrellm/gkrellm_public_proto.h -%%PORTDOCS%%share/doc/gkrellm/COPYRIGHT -%%PORTDOCS%%share/doc/gkrellm/README -%%PORTDOCS%%share/doc/gkrellm/Themes.html share/locale/de/LC_MESSAGES/gkrellm.mo share/locale/es/LC_MESSAGES/gkrellm.mo share/locale/fr/LC_MESSAGES/gkrellm.mo @@ -11,7 +8,6 @@ share/locale/ja/LC_MESSAGES/gkrellm.mo share/locale/pl/LC_MESSAGES/gkrellm.mo share/locale/ru/LC_MESSAGES/gkrellm.mo share/locale/sv/LC_MESSAGES/gkrellm.mo -%%PORTDOCS%%@dirrm share/doc/gkrellm @dirrm include/gkrellm @exec mkdir -p %D/libexec/gkrellm/plugins @exec mkdir -p %D/share/gkrellm/themes |