aboutsummaryrefslogtreecommitdiff
path: root/japanese/lambdamoo/Makefile
blob: 0b5b7bfd88ae6e7ce8e5dab06f7c8fd7fb57909b (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
# New ports collection makefile for:	LambdaMOO
# Version required:	1.8.0r8
# Date created:		Jul 3 1999
# Whom:			Seiichirou Hiraoka
#
# $FreeBSD$
#

DISTNAME=	LambdaMOO-1.8.0r8
PKGNAME=	ja-lambdamoo-1.8.0r8
CATEGORIES=	japanese net
MASTER_SITES=	ftp://ftp.place.org/pub/moo/unofficial/ \
		ftp://ftp.leo.chubu.ac.jp/pub/network/mnews/
DISTFILES=	LambdaMOO-1.8.0r8.tar.gz mnews122.tar.gz

PATCH_SITES=	http://www.freebsd.org/~flathill/distfiles/
PATCHFILES=	ja-lambdamoo-19990704.patch.gz

MAINTAINER=	flathill@FreeBSD.ORG

WRKSRC=		${WRKDIR}/MOO-1.8.0r8
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>