summaryrefslogtreecommitdiff
path: root/japanese/lambdamoo/Makefile
blob: 716aaf9fc41a2e8b879d1a22167fde8e5c40f004 (plain) (blame)
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
41
42
43
44
45
46
47
48
# New ports collection makefile for:	LambdaMOO
# Date created:		Jul 3 1999
# Whom:			Seiichirou Hiraoka
#
# $FreeBSD$
#

PORTNAME=	lambdamoo
PORTVERSION=	1.8.1
CATEGORIES=	japanese net
MASTER_SITES=	ftp://ftp.place.org/pub/moo/ \
		ftp://ftp.leo.chubu.ac.jp/pub/network/mnews/
DISTNAME=	LambdaMOO-${PORTVERSION}
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
		mnews122.tar.gz

PATCH_SITES=	${MASTER_SITE_LOCAL}
PATCH_SITE_SUBDIR=	flathill
PATCHFILES=	ja-lambdamoo-19990704.patch.gz

MAINTAINER=	flathill@FreeBSD.ORG
COMMENT=	The most commonly used program to run MOOs

WRKSRC=		${WRKDIR}/MOO-${PORTVERSION}
GNU_CONFIGURE=	yes
ALL_TARGET=

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/moo ${PREFIX}/sbin

pre-build:
.for i in kanjilib.c kanjilib.h
	${CP} ${WRKDIR}/mnews-1.22/kanjilib/$i ${WRKSRC}
.endfor

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${PREFIX}/share/doc/LambdaMOO
	@(cd ${WRKSRC};\
	${INSTALL_MAN} Minimal.db README README.Minimal \
		${PREFIX}/share/doc/LambdaMOO; \
	)
	@${INSTALL_DATA} ${FILESDIR}/README.FreeBSD \
		${PREFIX}/share/doc/LambdaMOO
.endif


.include <bsd.port.mk>