summaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2005-02-04 12:42:11 +0000
committerume <ume@FreeBSD.org>2005-02-04 12:42:11 +0000
commit4e2d98bd2c72db7bf306ddf7cb2bad32eda6091a (patch)
treea52c026f562d3ba0ab92404810f9452478144864 /sysutils
parentcf4453a19a0009bbc19f011f49f1ba8d4c686d82 (diff)
downloadFreeBSD-ports-4e2d98bd2c72db7bf306ddf7cb2bad32eda6091a.zip
FreeBSD-ports-4e2d98bd2c72db7bf306ddf7cb2bad32eda6091a.tar.gz
use PORTDOCS.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/gkrellm/Makefile19
-rw-r--r--sysutils/gkrellm/pkg-plist4
-rw-r--r--sysutils/gkrellm2/Makefile7
-rw-r--r--sysutils/gkrellm2/pkg-plist5
4 files changed, 16 insertions, 19 deletions
diff --git a/sysutils/gkrellm/Makefile b/sysutils/gkrellm/Makefile
index 2c9a148..da07d63 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 939247f..268eb63 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
diff --git a/sysutils/gkrellm2/Makefile b/sysutils/gkrellm2/Makefile
index fdcb4d3..54dbb51 100644
--- a/sysutils/gkrellm2/Makefile
+++ b/sysutils/gkrellm2/Makefile
@@ -49,7 +49,10 @@ PLIST_SUB+= CLIENT=""
#MAN1= gkrellm.1
.endif
MAN8= gkrellmd.8
-DOCS= COPYRIGHT CREDITS README Themes.html
+
+.if !defined(NOPORTDOCS)
+PORTDOCS= COPYRIGHT CREDITS README Themes.html
+.endif
MAN1PREFIX= ${X11BASE}
@@ -105,7 +108,7 @@ post-install:
fi
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
-.for f in ${DOCS}
+.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
diff --git a/sysutils/gkrellm2/pkg-plist b/sysutils/gkrellm2/pkg-plist
index 02206a9..ee1d4af 100644
--- a/sysutils/gkrellm2/pkg-plist
+++ b/sysutils/gkrellm2/pkg-plist
@@ -1,9 +1,4 @@
sbin/gkrellmd
-%%PORTDOCS%%share/doc/gkrellm/COPYRIGHT
-%%PORTDOCS%%share/doc/gkrellm/CREDITS
-%%PORTDOCS%%share/doc/gkrellm/README
-%%PORTDOCS%%share/doc/gkrellm/Themes.html
-%%PORTDOCS%%@dirrm share/doc/gkrellm
@exec mkdir -p %D/libexec/gkrellm2/plugins-gkrellmd
@unexec rmdir %D/libexec/gkrellm2/plugins-gkrellmd 2>/dev/null || true
@unexec rmdir %D/libexec/gkrellm2 2>/dev/null || true
OpenPOWER on IntegriCloud