summaryrefslogtreecommitdiff
path: root/lang/logo
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2003-07-03 14:19:01 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2003-07-03 14:19:01 +0000
commit6a41349079a61ac7af46994112950958d5b96912 (patch)
tree1bef675038c795bbcef69f43df336df0342fc76c /lang/logo
parentAdd jadetex-ptex 3.13, (diff)
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)
Notes
Notes: svn path=/head/; revision=84136
Diffstat (limited to 'lang/logo')
-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%%