summaryrefslogtreecommitdiffstats
path: root/irc/ii/Makefile
blob: 4a413306933cca6add97f30171f5f360979283a3 (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
# Created by: Julien Laffaye <kimelto@gmail.com>
# $FreeBSD$

PORTNAME=	ii
PORTVERSION=	1.7
CATEGORIES=	irc
MASTER_SITES=	http://dl.suckless.org/tools/ \
		LOCAL/sbz

MAINTAINER=	sbz@FreeBSD.org
COMMENT=	Minimalist FIFO and filesystem-based IRC client

LICENSE=	MIT

PLIST_FILES=	bin/ii man/man1/ii.1.gz
PORTDOCS=	CHANGES FAQ README
PORTEXAMPLES=	query.sh
.if !defined(.PARSEDIR)
MAKE_ARGS=	-E CC
.endif

OPTIONS_DEFINE=	DOCS EXAMPLES

do-install:
	@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
	@${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
	@${INSTALL_DATA} ${WRKSRC}/${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud