aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/navi2ch/Makefile
blob: eafd2ab6c3727e10e6d60270a124218ecece81e0 (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
# Created by: FUJISHIMA Satsuki <sf@FreeBSD.org>
# $FreeBSD$

PORTNAME=   navi2ch
PORTVERSION=    2.0.0.d
PORTREVISION=   5
PORTEPOCH=  1
CATEGORIES= japanese www elisp
PKGNAMESUFFIX=  -${EMACS_PORT_NAME}

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

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

RUN_DEPENDS=    ${LOCALBASE}/sbin/2chproxy.pl:japanese/p5-2chproxy

USE_EMACS=  yes
USE_GITHUB= yes
GH_ACCOUNT= naota
GH_TAGNAME= faebfd1
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  EMACS="${EMACS_CMD}"
CONFIGURE_ARGS= --with-lispdir=${PREFIX}/${LISPDIR}/${PORTNAME}
PLIST_SUB=  LISPDIR=${LISPDIR}
PORTDOCS=   ${PORTDOC_FILES} contrib

INFO=       navi2ch

PORTDOC_FILES=  ChangeLog README TODO
PORTDOC_LISPS=  gikope.el navi2ch-logo.el navi2ch-migemo.el
LISPDIR=    ${EMACS_VERSION_SITE_LISPDIR}

OPTIONS_DEFINE= DOCS X11
OPTIONS_DEFAULT=X11
X11_RUN_DEPENDS=${LOCALBASE}/share/mona/monak12.pcf.gz:japanese/font-mona

post-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    cd ${WRKSRC} && \
        ${INSTALL_DATA} ${PORTDOC_FILES} ${STAGEDIR}${DOCSDIR}
    @${MKDIR} ${STAGEDIR}${DOCSDIR}/contrib
    cd ${WRKSRC}/contrib && \
        ${INSTALL_DATA} ${PORTDOC_LISPS} ${STAGEDIR}${DOCSDIR}/contrib

.include <bsd.port.mk>