blob: 1797aff2de46a309ba99b48314eaa5dae48547e6 (
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
|
# Created by: FUJISHIMA Satsuki <sf@FreeBSD.org>
# $FreeBSD$
PORTNAME= navi2ch
PORTVERSION= 1.8.4
PORTREVISION= 4
PORTEPOCH= 1
CATEGORIES= japanese www elisp
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
MAINTAINER= hrs@FreeBSD.org
COMMENT= 2ch.net and 2ch-like BBS navigator for Emacsen
LICENSE= GPLv2
USE_EMACS= yes
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=DOCS X11
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MX11}
RUN_DEPENDS= ${LOCALBASE}/lib/X11/fonts/local/monak12.pcf.gz:${PORTSDIR}/japanese/monafonts
.endif
.if ${PORT_OPTIONS:MDOCS}
post-install:
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && \
${INSTALL_DATA} ${PORTDOC_FILES} ${DOCSDIR}
@${MKDIR} ${DOCSDIR}/contrib
cd ${WRKSRC}/contrib && \
${INSTALL_DATA} ${PORTDOC_LISPS} ${DOCSDIR}/contrib
.endif
.include <bsd.port.mk>
|