2018-07-16 07:56:10 +02:00
|
|
|
# $NetBSD: Makefile,v 1.29 2018/07/16 05:56:10 mef Exp $
|
2004-11-30 09:18:39 +01:00
|
|
|
#
|
|
|
|
|
2013-04-08 09:13:07 +02:00
|
|
|
DISTNAME= riece-9.0.0
|
2005-08-28 06:25:28 +02:00
|
|
|
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}
|
2018-07-16 07:56:10 +02:00
|
|
|
PKGREVISION= 2
|
2004-11-30 09:18:39 +01:00
|
|
|
CATEGORIES= chat japanese
|
2008-10-06 09:24:31 +02:00
|
|
|
MASTER_SITES= http://download.savannah.gnu.org/releases/riece/
|
2013-04-08 09:13:07 +02:00
|
|
|
LICENSE= gnu-gpl-v3
|
2004-11-30 09:18:39 +01:00
|
|
|
|
2013-04-08 09:37:46 +02:00
|
|
|
MAINTAINER= makoto@ki.nu
|
2004-11-30 09:18:39 +01:00
|
|
|
HOMEPAGE= http://www.nongnu.org/riece/
|
|
|
|
COMMENT= IRC client for Emacs
|
|
|
|
|
2008-10-11 11:31:54 +02:00
|
|
|
INSTALLATION_DIRS= ${EMACS_LISPPREFIX:C|^${PREFIX}/||}/riece \
|
|
|
|
${EMACS_INFOPREFIX:C|^${PREFIX}/||}
|
|
|
|
|
2004-11-30 09:18:39 +01:00
|
|
|
EMACS_VERSIONS_ACCEPTED= \
|
2018-07-16 07:56:10 +02:00
|
|
|
emacs27 emacs26 emacs26nox emacs25 emacs25nox emacs21 emacs21nox \
|
2009-08-05 08:36:29 +02:00
|
|
|
xemacs215 xemacs215nox xemacs214 xemacs214nox
|
2008-10-11 11:31:54 +02:00
|
|
|
EMACS_MODULES= base
|
2004-11-30 09:18:39 +01:00
|
|
|
|
|
|
|
GNU_CONFIGURE= YES
|
2013-04-06 22:27:16 +02:00
|
|
|
INFO_FILES= yes
|
2006-03-30 05:31:13 +02:00
|
|
|
|
2007-10-29 05:38:47 +01:00
|
|
|
# --with-emacs=... or --with-xemacs=...
|
2018-01-14 00:18:25 +01:00
|
|
|
CONFIGURE_ARGS+= --with-${EMACS_FLAVOR}=${EMACS_BIN}
|
2007-10-29 05:38:47 +01:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_ARGS.${EMACS_FLAVOR}}
|
2006-03-30 05:31:13 +02:00
|
|
|
|
2004-11-30 09:18:39 +01:00
|
|
|
# Riece digs sub directory.
|
2018-01-14 00:18:25 +01:00
|
|
|
CONFIGURE_ARGS.emacs= --with-lispdir=${EMACS_LISPPREFIX}
|
2007-10-29 05:38:47 +01:00
|
|
|
CONFIGURE_ARGS.xemacs= --with-packagedir=${EMACS_LISPPREFIX:C|/lisp\$||}
|
|
|
|
|
2008-10-11 11:31:54 +02:00
|
|
|
do-install: plist
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.info ${DESTDIR}${EMACS_INFOPREFIX}
|
|
|
|
cd ${WRKSRC}/lisp; \
|
|
|
|
grep -v '^@' ${PLIST} | grep '/site-lisp/riece/' | \
|
|
|
|
while read file; do \
|
|
|
|
file=$$( basename $$file ); \
|
|
|
|
${INSTALL_DATA} $$file ${DESTDIR}${EMACS_LISPPREFIX}/riece; \
|
|
|
|
done
|
|
|
|
|
|
|
|
.include "../../editors/emacs/modules.mk"
|
2004-11-30 09:18:39 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|