mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
f03a4be318
change maintainer's email PR: 32798 Submitted by: maintainer
36 lines
996 B
Makefile
36 lines
996 B
Makefile
# New ports collection makefile for: py-irclib
|
|
# Date created: 25 April 2001
|
|
# Whom: Hye-Shik Chang <perky@python.or.kr>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= irclib
|
|
PORTVERSION= 0.3.2
|
|
CATEGORIES= irc python
|
|
MASTER_SITES= http://joel.rosdahl.net/hacks/ \
|
|
http://fallin.lv/distfiles/
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= perky@fallin.lv
|
|
|
|
USE_PYTHON= yes
|
|
|
|
PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S/^${LOCALBASE}\///g}
|
|
EXAMPLEFILES= ircbot.py irccat irccat2 servermap testbot.py
|
|
|
|
do-build:
|
|
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
|
|
@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
|
|
|
|
do-install:
|
|
@${INSTALL_DATA} ${WRKSRC}/irclib.py* ${PYTHON_SITELIBDIR}/
|
|
@${MKDIR} ${PREFIX}/share/examples/${PORTNAME}
|
|
.for file in ${EXAMPLEFILES}
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/${file} ${PREFIX}/share/examples/${PORTNAME}/
|
|
.endfor
|
|
@${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
|
|
@${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/${PORTNAME}/
|
|
|
|
.include <bsd.port.mk>
|