2011-11-16 11:00:00 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.11 2011/11/16 16:00:00 rpointel Exp $
|
2006-11-10 23:28:17 -05:00
|
|
|
|
2009-06-01 14:39:51 -04:00
|
|
|
COMMENT= Jabber client for text terminals
|
2006-11-10 23:28:17 -05:00
|
|
|
|
2011-11-16 11:00:00 -05:00
|
|
|
MODPY_EGG_VERSION= 1.2.1
|
2009-06-01 14:39:51 -04:00
|
|
|
DISTNAME= cjc-${MODPY_EGG_VERSION}
|
|
|
|
CATEGORIES= net
|
2006-11-10 23:28:17 -05:00
|
|
|
|
2009-06-01 14:39:51 -04:00
|
|
|
HOMEPAGE= http://cjc.jajcus.net/
|
2006-11-10 23:28:17 -05:00
|
|
|
|
2009-06-01 14:39:51 -04:00
|
|
|
MAINTAINER= Will Maier <wcmaier@openbsd.org>
|
2006-11-10 23:28:17 -05:00
|
|
|
|
|
|
|
# GPLv2
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2011-11-16 11:00:00 -05:00
|
|
|
MASTER_SITES= http://cloud.github.com/downloads/Jajcus/cjc/
|
2006-11-10 23:28:17 -05:00
|
|
|
|
|
|
|
MODULES= lang/python
|
|
|
|
|
2010-11-19 17:31:32 -05:00
|
|
|
RUN_DEPENDS= net/py-xmpp
|
2006-11-10 23:28:17 -05:00
|
|
|
|
|
|
|
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>
|