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

PORTNAME=	navi2ch
PORTVERSION=	010628
CATEGORIES=	japanese www elisp
MASTER_SITES=	http://www.geocities.co.jp/SiliconValley-Oakland/7673/
PKGNAMESUFFIX=	-${EMACS_PORT_NAME}

MAINTAINER=	sf@FreeBSD.org

EMACS_PORT_NAME?=	emacs20

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-lispdir=${PREFIX}/${EMACS_LIBDIR}/site-lisp/navi2ch

DOCDIR=		share/doc/ja/navi2ch
.if ${EMACS_PORT_NAME} == emacs20
PLIST_SUB=	XEMACS="@comment "
.elif ${EMACS_PORT_NAME} == xemacs21-mule
PLIST_SUB=	XEMACS=""
.endif

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${PREFIX}/${DOCDIR}
.for i in README TODO
	${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/${DOCDIR}
.endfor
.endif
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>