mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
use PORTDOCS.
This commit is contained in:
parent
97bff1325e
commit
6fa40e0d1a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=128026
@ -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)
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user