aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--news/leafnode+/Makefile6
-rw-r--r--news/leafnode+/pkg-plist12
2 files changed, 9 insertions, 9 deletions
diff --git a/news/leafnode+/Makefile b/news/leafnode+/Makefile
index c2d51664806f..0a92dcfad0dc 100644
--- a/news/leafnode+/Makefile
+++ b/news/leafnode+/Makefile
@@ -40,10 +40,10 @@ do-install:
@${INSTALL_MAN} ${WRKSRC}/${file} ${PREFIX}/man/man8
.endfor
.if !defined{NOPORTDOCS}
- @${ECHO} "===> Copying documents to ${PREFIX}/share/doc/leafnode+"
- @${MKDIR} ${PREFIX}/share/doc/leafnode+
+ @${ECHO_MSG} "===> Copying documents to ${DOCSDIR}"
+ @${MKDIR} ${DOCSDIR}
.for file in Changes FAQ INSTALL README config.example
- @${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/leafnode+
+ @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
diff --git a/news/leafnode+/pkg-plist b/news/leafnode+/pkg-plist
index 56f5afabf80d..967dc54d7fa3 100644
--- a/news/leafnode+/pkg-plist
+++ b/news/leafnode+/pkg-plist
@@ -3,11 +3,11 @@ sbin/fetchnews
sbin/texpire
sbin/checkgroups
sbin/leaftool
-%%PORTDOCS%%share/doc/leafnode+/Changes
-%%PORTDOCS%%share/doc/leafnode+/FAQ
-%%PORTDOCS%%share/doc/leafnode+/INSTALL
-%%PORTDOCS%%share/doc/leafnode+/README
-%%PORTDOCS%%share/doc/leafnode+/config.example
+%%PORTDOCS%%%%DOCSDIR%%/Changes
+%%PORTDOCS%%%%DOCSDIR%%/FAQ
+%%PORTDOCS%%%%DOCSDIR%%/INSTALL
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/config.example
@exec if [ ! -d %D/lib/leafnode ]; then mkdir -p %D/lib/leafnode; fi
-%%PORTDOCS%%@dirrm share/doc/leafnode+
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm lib/leafnode