summaryrefslogtreecommitdiffstats
path: root/www/linbot/Makefile
blob: c39f4b307ea4be14ef649bc7fea5f433a112d32a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# 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>
OpenPOWER on IntegriCloud