mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
Add DOCSDIR support as suggested by portlint warning.
This commit is contained in:
parent
1ae5fdeb10
commit
a603a87a5f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=215392
@ -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>
|
||||
|
@ -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%%
|
||||
|
Loading…
Reference in New Issue
Block a user