summaryrefslogtreecommitdiff
path: root/japanese/lambdamoo/Makefile
blob: 17c7ca40e0565cc7d647858120b1ea67236cff32 (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
# New ports collection makefile for:	LambdaMOO
# Date created:		Jul 3 1999
# Whom:			Seiichirou Hiraoka
#
# $FreeBSD$
#

PORTNAME=	lambdamoo
PORTVERSION=	1.8.0r8
CATEGORIES=	japanese net
MASTER_SITES=	ftp://ftp.place.org/pub/moo/unofficial/ \
		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

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>