openbsd-ports/net/py-irclib/Makefile
2010-08-30 21:21:53 +00:00

34 lines
750 B
Makefile

# $OpenBSD: Makefile,v 1.10 2010/08/30 21:21:53 sthen Exp $
COMMENT= Internet Relay Chat (IRC) protocol client library for Python
DISTNAME= python-irclib-0.4.6
PKGNAME= ${DISTNAME:S/python/py/g}
REVISION = 2
CATEGORIES= net
HOMEPAGE= http://python-irclib.sourceforge.net/
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=python-irclib/}
MODULES= lang/python
NO_REGRESS= Yes
EXAMPLES= dccreceive dccsend irccat irccat2 servermap testbot.py
EXAMPLESDIR= ${PREFIX}/share/examples/py-irclib
post-install:
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
.for f in ${EXAMPLES}
${INSTALL_DATA} ${WRKSRC}/${f} ${EXAMPLESDIR}
.endfor
.include <bsd.port.mk>