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

PORTNAME=   lambdamoo
PORTVERSION=    1.8.1
PORTREVISION=   1
CATEGORIES= japanese net
MASTER_SITES=   SF\
        ftp://ftp.leo.chubu.ac.jp/pub/network/mnews/:MN

DISTNAME=   LambdaMOO-${PORTVERSION}
DISTFILES=  ${DISTNAME}${EXTRACT_SUFX} \
        mnews122.tar.gz:MN

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

MAINTAINER= ports@FreeBSD.org
COMMENT=    The most commonly used program to run MOOs

WRKSRC=     ${WRKDIR}/MOO-${PORTVERSION}
GNU_CONFIGURE=  yes
ALL_TARGET=
DOCSDIR=    ${PREFIX}/share/doc/LambdaMOO

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} ${DOCSDIR}
    @(cd ${WRKSRC};\
    ${INSTALL_MAN} Minimal.db README README.Minimal \
        ${DOCSDIR}; \
    )
    @${INSTALL_DATA} ${FILESDIR}/README.FreeBSD \
        ${DOCSDIR}
.endif

.include <bsd.port.mk>