mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 01:09:24 -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
|
CONFIGURE_ARGS+=--without-gtk
|
||||||
|
|
||||||
|
DOCSDIR= ${PREFIX}/share/doc/bitchx
|
||||||
|
DATADIR= ${PREFIX}/share/bx
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
${TOUCH} ${WRKSRC}/configure
|
${TOUCH} ${WRKSRC}/configure
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
@(${LN} -sf ${PREFIX}/bin/BitchX ${PREFIX}/bin/bx)
|
@(${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)
|
.if !defined(NOPORTDOCS)
|
||||||
${MKDIR} ${PREFIX}/share/bx/help
|
${MKDIR} ${DOCSDIR}/
|
||||||
${MKDIR} ${PREFIX}/share/doc/bitchx
|
${INSTALL_DATA} ${WRKSRC}/doc/bxfaq.html ${DOCSDIR}/
|
||||||
${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
|
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue