aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorosa <osa@FreeBSD.org>2003-07-03 22:19:01 +0800
committerosa <osa@FreeBSD.org>2003-07-03 22:19:01 +0800
commite57e0c4fe507591cb9f79289238500ee53b5af74 (patch)
treed95f74468a898031778e47f02e5cd29e0cc0f48b /lang
parenta46cfa873de1d5708142341db666037ff810b430 (diff)
downloadfreebsd-ports-graphics-e57e0c4fe507591cb9f79289238500ee53b5af74.tar.gz
freebsd-ports-graphics-e57e0c4fe507591cb9f79289238500ee53b5af74.tar.zst
freebsd-ports-graphics-e57e0c4fe507591cb9f79289238500ee53b5af74.zip
Fix a typo: s/NOPORTSDOCS/NOPORTDOCS/ [1]
Use ${DOCSDIR} [2] s/share\/doc\/.../%%DOCSDIR%%/ for pkg-plist [2] PR: 53911 Submitted by: Oliver Eikemeier <eikemeier@fillmore-labs.com> [1] osa [2] Approved by: fjoe (mentor) (implicit)
Diffstat (limited to 'lang')
-rw-r--r--lang/logo/Makefile7
-rw-r--r--lang/logo/pkg-plist6
2 files changed, 7 insertions, 6 deletions
diff --git a/lang/logo/Makefile b/lang/logo/Makefile
index b0d80f614b3..90be81a18fd 100644
--- a/lang/logo/Makefile
+++ b/lang/logo/Makefile
@@ -64,15 +64,16 @@ pre-fetch:
do-install:
.for d in lib/logo lib/logo/logolib \
- lib/logo/helpfiles share/examples/logo/csls share/doc/logo
+ lib/logo/helpfiles share/examples/logo/csls
${MKDIR} ${PREFIX}/$d
.endfor
${INSTALL_PROGRAM} ${WRKSRC}/logo ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/logolib/* ${PREFIX}/lib/logo/logolib/
${INSTALL_DATA} ${WRKSRC}/helpfiles/* ${PREFIX}/lib/logo/helpfiles/
${INSTALL_DATA} ${WRKSRC}/csls/* ${PREFIX}/share/examples/logo/csls/
-.if !defined(NOPORTSDOCS)
- ${INSTALL_DATA} ${WRKSRC}/usermanual $(PREFIX)/share/doc/logo
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/usermanual ${DOCSDIR}
.endif
.if defined(WITH_FULL_DOCS)
cd ${WRKSRC}/emacs/ ;${SETENV} ${MAKE_ENV} ${GMAKE} install-docs
diff --git a/lang/logo/pkg-plist b/lang/logo/pkg-plist
index 2e1612426a4..4e84e944e15 100644
--- a/lang/logo/pkg-plist
+++ b/lang/logo/pkg-plist
@@ -447,7 +447,7 @@ lib/logo/helpfiles/writepos
lib/logo/helpfiles/writer
lib/logo/helpfiles/xcor
lib/logo/helpfiles/ycor
-%%PORTDOCS%%share/doc/logo/usermanual
+%%PORTDOCS%%%%DOCSDIR%%/usermanual
%%WITH_FULL_DOCS%%info/ucblogo.info
%%WITH_FULL_DOCS%%info/ucblogo.info-1
%%WITH_FULL_DOCS%%info/ucblogo.info-2
@@ -511,5 +511,5 @@ share/examples/logo/csls/ttt
@dirrm lib/logo
@dirrm share/examples/logo/csls
@dirrm share/examples/logo
-%%WITH_FULL_DOCS%%@dirrm share/doc/logo/html
-%%PORTDOCS%%@dirrm share/doc/logo
+%%WITH_FULL_DOCS%%@dirrm %%DOCSDIR%%/html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%