mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
c63c60cc72
Python guru and fixed the linbot to work under modern version of Python (as well as the 1.5). He also replaced regex and regsub with the re module, which seems to make it work better with no-ascii web-pages too (a nice side-effect). Bump up PORTREVISION and give MAINTAINERship to Mike (he *did* see it coming). Obtained from: Mike Meyer
41 lines
935 B
Makefile
41 lines
935 B
Makefile
# New ports collection makefile for: linbot
|
|
# Date created: 19 September 1998
|
|
# Whom: Bill Fumerola <billf@chc-chimes.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= linbot
|
|
PORTVERSION= 1.0
|
|
PORTREVISION= 3
|
|
CATEGORIES= www python
|
|
MASTER_SITES= ${MASTER_SITE_SUNSITE}
|
|
MASTER_SITE_SUBDIR= apps/www/misc
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= mwm@mired.org
|
|
|
|
USE_PYTHON= YES
|
|
|
|
do-install:
|
|
${MKDIR} ${PREFIX}/share/linbot
|
|
${CP} ${WRKSRC}/*.py ${PREFIX}/share/linbot
|
|
${CP} ${WRKSRC}/*.css ${PREFIX}/share/linbot
|
|
.for d in plugins schemes
|
|
${MKDIR} ${PREFIX}/share/linbot/${d}
|
|
${CP} ${WRKSRC}/${d}/*.py ${PREFIX}/share/linbot/${d}
|
|
.endfor
|
|
${LN} -sf ${PREFIX}/share/linbot/linbot.py ${PREFIX}/bin/linbot
|
|
.ifndef NOPORTDOCS
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/USAGE ${DOCSDIR}
|
|
|
|
do-build:
|
|
${AWK} '/^Running Linbot/ { output=1 } output' \
|
|
< ${WRKSRC}/INSTALL > ${WRKSRC}/USAGE
|
|
.else
|
|
NO_BUILD= yeah
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|