openbsd-ports/devel/py-silc/Makefile
alek f1537a8e25 Import py-silc 0.4
PySilc is a near-complete set of Python bindings for creating SILC
clients using the silc-toolkit. It allows developers to write
simple bots and clients for connecting to SILC servers.

From Martynas Venckus <martynas@altroot.org>
2006-10-09 13:10:34 +00:00

41 lines
986 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2006/10/09 13:10:34 alek Exp $
SHARED_ONLY= Yes
COMMENT= "Python Secure Internet Live Conferencing (silc) toolkit bindings"
DISTNAME= pysilc-0.4
PKGNAME= ${DISTNAME:S/py/py-/}
CATEGORIES= devel
HOMEPAGE= http://www.liquidx.net/pysilc/
MAINTAINER= Martynas Venckus <martynas@altroot.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_BERLIOS:=python-silc/}
EXTRACT_SUFX= .tar.bz2
MODULES= lang/python converters/libiconv
LIB_DEPENDS= silc.>=6,silcclient.>=4::devel/silc-toolkit
NO_REGRESS= Yes
pre-build:
@perl -pi -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/setup.py
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-silc
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/py-silc
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-silc
${INSTALL_DATA} ${WRKSRC}/examples/*.py \
${PREFIX}/share/examples/py-silc
.include <bsd.port.mk>