mirror of
https://git.freebsd.org/ports.git
synced 2025-05-25 07:26:29 -04:00
- Setup DATADIR, DOCSDIR
- Fix NO* vars Reported by: QAT
This commit is contained in:
parent
f044e9a04f
commit
1b8a71b99a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=266075
2 changed files with 970 additions and 967 deletions
|
@ -40,18 +40,21 @@ BROKEN= Does not compile on sparc64 (needs -fPIC)
|
|||
|
||||
CONFIGURE_ARGS+=--without-gtk
|
||||
|
||||
DOCSDIR= ${PREFIX}/share/doc/bitchx
|
||||
DATADIR= ${PREFIX}/share/bx
|
||||
|
||||
post-patch:
|
||||
${TOUCH} ${WRKSRC}/configure
|
||||
|
||||
post-install:
|
||||
@(${LN} -sf ${PREFIX}/bin/BitchX ${PREFIX}/bin/bx)
|
||||
${MKDIR} ${DATADIR}/help/
|
||||
${CP} -r ${WRKSRC}/bitchx-docs/* ${DATADIR}/help
|
||||
${RMDIR} ${DATADIR}/help/4_Misc/fset
|
||||
${RMDIR} ${DATADIR}/help/4_Misc/wset
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${PREFIX}/share/bx/help
|
||||
${MKDIR} ${PREFIX}/share/doc/bitchx
|
||||
${CP} -r ${WRKSRC}/bitchx-docs/* ${PREFIX}/share/bx/help
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/bxfaq.html ${PREFIX}/share/doc/bitchx
|
||||
${RMDIR} ${PREFIX}/share/bx/help/4_Misc/fset
|
||||
${RMDIR} ${PREFIX}/share/bx/help/4_Misc/wset
|
||||
${MKDIR} ${DOCSDIR}/
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/bxfaq.html ${DOCSDIR}/
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue