2011-09-16 05:24:48 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.16 2011/09/16 09:24:56 espie Exp $
|
2006-10-09 09:10:34 -04:00
|
|
|
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
|
2007-09-15 22:52:56 -04:00
|
|
|
COMMENT= Python bindings for the SILC toolkit
|
2006-10-09 09:10:34 -04:00
|
|
|
|
2008-07-08 17:29:20 -04:00
|
|
|
V= 0.5
|
2007-05-15 04:27:27 -04:00
|
|
|
DISTNAME= pysilc-${V}
|
2010-08-30 18:24:14 -04:00
|
|
|
PKGNAME= py-silc-${V}
|
2011-09-16 05:24:48 -04:00
|
|
|
REVISION= 4
|
2010-08-30 18:24:14 -04:00
|
|
|
EPOCH= 0
|
2006-10-09 09:10:34 -04:00
|
|
|
CATEGORIES= devel
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.liquidx.net/pysilc/
|
|
|
|
|
2008-07-08 17:29:20 -04:00
|
|
|
MAINTAINER= Martynas Venckus <martynas@openbsd.org>
|
2006-10-09 09:10:34 -04:00
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2010-11-15 14:45:56 -05:00
|
|
|
LIB_DEPENDS= devel/silc-toolkit
|
|
|
|
WANTLIB += silc>=7 silcclient>=5
|
2011-05-31 01:44:26 -04:00
|
|
|
WANTLIB += ${MODPY_WANTLIB}
|
2006-10-09 09:10:34 -04:00
|
|
|
|
|
|
|
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>
|