2009-03-25 09:39:40 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.4 2009/03/25 13:39:40 jasper Exp $
|
2006-11-10 23:28:17 -05:00
|
|
|
|
2007-09-15 18:36:51 -04:00
|
|
|
COMMENT= Jabber client for text terminals
|
2006-11-10 23:28:17 -05:00
|
|
|
|
|
|
|
DISTNAME= cjc-1.0.0
|
2009-03-25 09:39:40 -04:00
|
|
|
PKGNAME= ${DISTNAME}p1
|
2006-11-10 23:28:17 -05:00
|
|
|
CATEGORIES= net
|
|
|
|
|
|
|
|
HOMEPAGE= http://cjc.jajcus.net/
|
|
|
|
|
|
|
|
MAINTAINER= Will Maier <willmaier@ml1.net>
|
|
|
|
|
|
|
|
# GPLv2
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${HOMEPAGE}downloads/
|
|
|
|
|
|
|
|
MODULES= lang/python
|
|
|
|
|
|
|
|
RUN_DEPENDS= :py-xmpp-*:net/py-xmpp
|
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
@cp ${FILESDIR}/setup.py ${WRKSRC}
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@sed -e '1s|.*|#!${MODPY_BIN}|; s|BASE_DIR|${LOCALBASE}/share/cjc|' \
|
|
|
|
${WRKSRC}/cjc.in > ${WRKSRC}/cjc.out
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/cjc.out ${PREFIX}/bin/cjc
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/cjc/plugins
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/plugins/*py ${PREFIX}/share/cjc/plugins
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/cjc
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/manual.html ${PREFIX}/share/doc/cjc
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|