aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/wmthemeinstall
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/wmthemeinstall')
-rw-r--r--x11-wm/wmthemeinstall/Makefile13
-rw-r--r--x11-wm/wmthemeinstall/pkg-plist8
2 files changed, 10 insertions, 11 deletions
diff --git a/x11-wm/wmthemeinstall/Makefile b/x11-wm/wmthemeinstall/Makefile
index a21c4afdcf12..f8fcee9c27b4 100644
--- a/x11-wm/wmthemeinstall/Makefile
+++ b/x11-wm/wmthemeinstall/Makefile
@@ -19,20 +19,19 @@ USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GTK= yes
GNU_CONFIGURE= yes
-DOCS_DIR= ${PREFIX}/share/wmthemeinstall
pre-build:
@${PERL} -pi -e "s:/usr/local:${PREFIX}:g" ${WRKSRC}/wmOptions.c
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/wmthemeinstall ${PREFIX}/bin
+ @${INSTALL_PROGRAM} ${WRKSRC}/wmthemeinstall ${PREFIX}/bin
.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCS_DIR}
- ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCS_DIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCS_DIR}
- ${INSTALL_DATA} ${WRKSRC}/AUTHORS ${DOCS_DIR}
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/AUTHORS ${DOCSDIR}
@${ECHO}
- @${ECHO} "Documentation was installed in ${DOCS_DIR}."
+ @${ECHO} "Documentation was installed in ${DOCSDIR}."
@${ECHO}
.endif
diff --git a/x11-wm/wmthemeinstall/pkg-plist b/x11-wm/wmthemeinstall/pkg-plist
index 595c0aad510f..719cd8bcede5 100644
--- a/x11-wm/wmthemeinstall/pkg-plist
+++ b/x11-wm/wmthemeinstall/pkg-plist
@@ -1,5 +1,5 @@
bin/wmthemeinstall
-share/wmthemeinstall/AUTHORS
-share/wmthemeinstall/ChangeLog
-share/wmthemeinstall/README
-@dirrm share/wmthemeinstall
+%%PORTDOCS%%share/doc/wmthemeinstall/AUTHORS
+%%PORTDOCS%%share/doc/wmthemeinstall/ChangeLog
+%%PORTDOCS%%share/doc/wmthemeinstall/README
+%%PORTDOCS%%@dirrm share/doc/wmthemeinstall