aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2008-06-21 05:25:28 +0800
committerolgeni <olgeni@FreeBSD.org>2008-06-21 05:25:28 +0800
commit53a58dd728df0166d7eca2763245a0d5376ab2b6 (patch)
tree8c7a4969a1262e60b06aff1331b48d4056e71646 /x11
parent1297c49cbd58d75ecc63a2f1f8f2609840411040 (diff)
downloadfreebsd-ports-gnome-53a58dd728df0166d7eca2763245a0d5376ab2b6.tar.gz
freebsd-ports-gnome-53a58dd728df0166d7eca2763245a0d5376ab2b6.tar.zst
freebsd-ports-gnome-53a58dd728df0166d7eca2763245a0d5376ab2b6.zip
Add DOCSDIR support as suggested by portlint warning.
Diffstat (limited to 'x11')
-rw-r--r--x11/eterm/Makefile6
-rw-r--r--x11/eterm/pkg-plist6
2 files changed, 6 insertions, 6 deletions
diff --git a/x11/eterm/Makefile b/x11/eterm/Makefile
index 59672432e3d3..a5f3f4567bba 100644
--- a/x11/eterm/Makefile
+++ b/x11/eterm/Makefile
@@ -45,9 +45,9 @@ post-patch:
post-install:
@${CHMOD} 4711 ${PREFIX}/bin/Eterm
.if !defined(NOPORTDOCS)
- @${MKDIR} ${PREFIX}/share/doc/Eterm
- @${INSTALL_DATA} ${WRKSRC}/ReleaseNotes ${PREFIX}/share/doc/Eterm
- @${INSTALL_DATA} ${WRKSRC}/doc/Eterm_reference.html ${PREFIX}/share/doc/Eterm
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/ReleaseNotes ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/doc/Eterm_reference.html ${DOCSDIR}
.endif
.include <bsd.port.post.mk>
diff --git a/x11/eterm/pkg-plist b/x11/eterm/pkg-plist
index 96be60903ba0..57d48c10d157 100644
--- a/x11/eterm/pkg-plist
+++ b/x11/eterm/pkg-plist
@@ -45,8 +45,8 @@ share/Eterm/themes/auto/theme.cfg
share/Eterm/themes/trans/menus.cfg
share/Eterm/themes/trans/pixmaps.list
share/Eterm/themes/trans/theme.cfg
-%%PORTDOCS%%share/doc/Eterm/Eterm_reference.html
-%%PORTDOCS%%share/doc/Eterm/ReleaseNotes
+%%PORTDOCS%%%%DOCSDIR%%/Eterm_reference.html
+%%PORTDOCS%%%%DOCSDIR%%/ReleaseNotes
@dirrm share/Eterm/pix/scale
@dirrm share/Eterm/pix/tile
@dirrm share/Eterm/pix
@@ -56,4 +56,4 @@ share/Eterm/themes/trans/theme.cfg
@dirrm share/Eterm/themes/trans
@dirrm share/Eterm/themes
@dirrm share/Eterm
-%%PORTDOCS%%@dirrm share/doc/Eterm
+%%PORTDOCS%%@dirrm %%DOCSDIR%%