aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 b0d80f614b30..90be81a18fd6 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 2e1612426a48..4e84e944e152 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%%