summaryrefslogtreecommitdiff
path: root/chat/riece/Makefile
blob: c794930c6a1fd46aef4e03f9b23b83f2f098de94 (plain)
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
# $NetBSD: Makefile,v 1.11 2007/02/20 12:45:07 uebayasi Exp $
#

DISTNAME=	riece-3.1.2
PKGNAME=	${EMACS_PKGNAME_PREFIX}${DISTNAME}
CATEGORIES=	chat japanese
MASTER_SITES=	http://savannah.nongnu.org/download/riece/

MAINTAINER=	uebayasi@NetBSD.org
HOMEPAGE=	http://www.nongnu.org/riece/
COMMENT=	IRC client for Emacs

EMACS_VERSIONS_ACCEPTED= \
		emacs21 emacs21nox emacs22 emacs22nox xemacs214

WRKSRC=		${WRKDIR}/${DISTNAME:C|[^0-9]$||}

GNU_CONFIGURE=	YES
INFO_FILES=	# PLIST
EMACS_MODULES=	base

.include "../../mk/emacs.mk"

.if ${EMACS_FLAVOR} == "emacs"
CONFIGURE_ARGS+=	--with-emacs=${EMACS_BIN:Q}
.elif ${EMACS_FLAVOR} == "xemacs"
CONFIGURE_ARGS+=	--with-xemacs=${EMACS_BIN:Q}
CONFIGURE_ARGS+=	--with-packagedir=${EMACS_LISPPREFIX:C|/lisp\$||}
.endif
# Riece digs sub directory.
CONFIGURE_ARGS+=	--with-lispdir=${EMACS_LISPPREFIX:Q}

.include "../../mk/bsd.pkg.mk"