aboutsummaryrefslogtreecommitdiff
path: root/irc/irchat-jp/Makefile
blob: bdf3926370b47aeec02ce6e53cd09a24b6e54d0c (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
# New ports collection makefile for:	irchat-jp
# Date Created:		8 Aug 2007
# Whom:			Makoto Matsushita <matusita@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	irchat-jp
PORTVERSION=	26.d
#PORTREVISION=	0
CATEGORIES=	irc elisp
MASTER_SITES=	http://www.ircnet.jp/dist/irchat/:master \
		${MASTER_SITE_LOCAL:S/$/:backup/}
MASTER_SITE_SUBDIR= "":master matusita/${PORTNAME}/:backup
DISTNAME=	${PORTNAME}${PORTVERSION:S/.//}
DISTFILES=	${DISTNAME}.tgz:master,backup

MAINTAINER=	matusita@FreeBSD.org
COMMENT=	IRC client for Emacs, derived from irchat

RUN_DEPENDS=	${LOCALBASE}/bin/dcc:${PORTSDIR}/irc/dcc

NO_WRKSUBDIR=	YES
NO_BUILD=	YES
USE_EMACS=	YES

LISPDIR?=	${EMACS_SITE_LISPDIR}/${PORTNAME}
LISPFILES=	irchat-commands.el irchat-ctcp.el irchat-dcc.el \
		irchat-filter.el irchat-globals.el irchat-handle.el \
		irchat-inlines.el irchat-iso-2022-jp.el irchat-misc.el \
		irchat-original-copyright.el irchat-vars.el irchat.el

PLIST_DIRS=	${LISPDIR}
.for f in ${LISPFILES}
PLIST_FILES+=	${LISPDIR}/${f}
.endfor

do-install:
	${MKDIR} ${PREFIX}/${LISPDIR}
.for f in ${LISPFILES}
	${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/${LISPDIR}
.endfor

.include <bsd.port.mk>