summaryrefslogtreecommitdiff
path: root/korean/bitchx/Makefile
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-12-11 22:45:43 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-12-11 22:45:43 +0000
commit1b8a71b99a7b3863755254d3dcec4d100e2e334d (patch)
tree5adf47b4b210545e760a7abafd4511b569142ba5 /korean/bitchx/Makefile
parent- Fix pkg-plist in NOPORTEXAMPLES case (diff)
- Setup DATADIR, DOCSDIR
- Fix NO* vars Reported by: QAT
Notes
Notes: svn path=/head/; revision=266075
Diffstat (limited to '')
-rw-r--r--korean/bitchx/Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/korean/bitchx/Makefile b/korean/bitchx/Makefile
index c59a1af7bc20..ec42d5a7cc85 100644
--- a/korean/bitchx/Makefile
+++ b/korean/bitchx/Makefile
@@ -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>