mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
. Respect NOPORTDOCS.
This commit is contained in:
parent
03faecfd8e
commit
52f1de8f95
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=141824
2 changed files with 5 additions and 3 deletions
|
@ -40,8 +40,10 @@ do-install:
|
|||
${INSTALL_PROGRAM} ${WRKSRC}/libshujit.so ${PREFIX}/lib
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
||||
.endif
|
||||
@${ENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
lib/libshujit.so
|
||||
%%DOCSDIR%%/README
|
||||
@dirrm %%DOCSDIR%%
|
||||
lib/libshujit.so
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
|
|
Loading…
Add table
Reference in a new issue