aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/navi2ch-emacs21/Makefile
blob: 76c0d8660e67196dadbe7ad4c99a439190b3fcae (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
51
52
53
# New ports collection makefile for:    navi2ch for emacs20
# Date created:     13 May 2001
# Whom:         FUJISHIMA Satsuki <sf@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   navi2ch
PORTVERSION=    1.7.5
PORTREVISION=   5
PORTEPOCH=  1
CATEGORIES= japanese www elisp
MASTER_SITES=   SF
PKGNAMESUFFIX=  -${EMACS_PORT_NAME}

MAINTAINER= ports@FreeBSD.org
COMMENT=    2ch.net and 2ch-like BBS navigator for Emacsen

USE_EMACS=  yes
EMACS_PORT_NAME?=   emacs21
INFO=       navi2ch

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-lispdir=${PREFIX}/${LISPDIR}/navi2ch \
        --with-emacs=${EMACS_CMD}

DOCDIR=     share/doc/ja/navi2ch
PLIST_SUB=  LISPDIR=${LISPDIR}

.if ${EMACS_PORT_NAME} == xemacs21-mule
LISPDIR=    ${EMACS_SITE_LISPDIR}
PLIST_SUB+= FSF="@comment "
.else
LISPDIR=    ${EMACS_VERSION_SITE_LISPDIR}
PLIST_SUB+= FSF=""
.if !defined(WITHOUT_X11)
RUN_DEPENDS=    ${LOCALBASE}/lib/X11/fonts/local/monak12.pcf.gz:${PORTSDIR}/japanese/monafonts
.endif
.endif

post-install:
    @${MKDIR} ${PREFIX}/${DOCDIR}
.if !defined(NOPORTDOCS)
.for i in ChangeLog README TODO
    ${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/${DOCDIR}
.endfor
.endif
    @${MKDIR} ${PREFIX}/${DOCDIR}/contrib
.for i in gikope.el navi2ch-logo.el navi2ch-migemo.el
    ${INSTALL_DATA} ${WRKSRC}/contrib/$i ${PREFIX}/${DOCDIR}/contrib
.endfor

.include <bsd.port.mk>