mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
- install docs in DOCSDIR and examples in EXAMPLESDIR and respect NO* vars
- fix plist with -DNOPORTDOCS - bump PORTREVISION Prompted by: QAT QA run
This commit is contained in:
parent
adfd5ff1c7
commit
b7371c6f3a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=223287
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= workplace
|
||||
PORTVERSION= 1.0.a3
|
||||
PORTREVISION= 5
|
||||
PORTREVISION= 6
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= x11-fm
|
||||
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
||||
@ -32,13 +32,15 @@ do-install:
|
||||
@ ${INSTALL_PROGRAM} ${WRKSRC}/src/workplace ${PREFIX}/bin
|
||||
@ ${MKDIR} ${PREFIX}/include/X11/pixmaps
|
||||
@ ${INSTALL_DATA} ${WRKSRC}/icons/*.xpm ${PREFIX}/include/X11/pixmaps
|
||||
@ ${MKDIR} ${PREFIX}/share/doc/workplace
|
||||
.if !defined(NOPORTDOCS)
|
||||
.for file in AUTHORS INSTALL README TODO
|
||||
@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/workplace
|
||||
@ ${MKDIR} ${PREFIX}/share/doc/workplace
|
||||
@ ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
@ ${MKDIR} ${PREFIX}/share/examples/workplace
|
||||
@ ${INSTALL_DATA} ${WRKSRC}/example/* ${PREFIX}/share/examples/workplace
|
||||
.if !defined(NOPORTEXAMPLES)
|
||||
@ ${MKDIR} ${EXAMPLESDIR}
|
||||
@ ${INSTALL_DATA} ${WRKSRC}/example/* ${EXAMPLESDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -61,12 +61,12 @@ include/X11/pixmaps/WWW.xpm
|
||||
include/X11/pixmaps/Window.xpm
|
||||
include/X11/pixmaps/Write.xpm
|
||||
include/X11/pixmaps/WriteMail.xpm
|
||||
share/doc/workplace/AUTHORS
|
||||
share/doc/workplace/INSTALL
|
||||
share/doc/workplace/README
|
||||
share/doc/workplace/TODO
|
||||
share/examples/workplace/WPPref
|
||||
share/examples/workplace/WPSuffix
|
||||
@dirrm share/doc/workplace
|
||||
@dirrm share/examples/workplace
|
||||
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%%%DOCSDIR%%/TODO
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/WPPref
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/WPSuffix
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
|
||||
@dirrmtry include/X11/pixmaps
|
||||
|
Loading…
Reference in New Issue
Block a user