summaryrefslogtreecommitdiffstats
path: root/irc/bip/Makefile
blob: 29e54920ad05a499491b6f2ce36cb69a234b500c (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# New ports collection makefile for:   bip
# Date created:        23 October 2007
# Whom:                Chess Griffin <chess@chessgriffin.com>
#
# $FreeBSD$
#

PORTNAME=	bip
PORTVERSION=	0.8.2
CATEGORIES=	irc
MASTER_SITES=	http://bip.t1r.net/downloads/ \
		http://distfiles.gentoo.org/distfiles/ \
		LOCAL/beech

MAINTAINER=	sylvio@FreeBSD.org
COMMENT=	A simple IRC proxy with SSL support

GNU_CONFIGURE=	yes
USE_GMAKE=	yes
INSTALL_TARGET=	SUBDIR=src install-exec

USE_OPENSSL=	yes

PLIST_FILES=	bin/bip bin/bipmkpw
SUB_FILES=	pkg-message
MAN1=		bip.1 bipmkpw.1
MAN5=		bip.conf.5

PORTDOCS=	AUTHORS BUGS ChangeLog NEWS README TODO

PORTEXAMPLES=	bip.conf bip.vim

.include <bsd.port.pre.mk>

post-install:
	@cd ${WRKSRC} && ${INSTALL_MAN} ${MAN1} ${MANPREFIX}/man/man1
	@cd ${WRKSRC} && ${INSTALL_MAN} ${MAN5} ${MANPREFIX}/man/man5

.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
.for docs in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
.endfor
.endif

.if !defined(NOPORTEXAMPLES)
	@${MKDIR} ${EXAMPLESDIR}
.for examples in ${PORTEXAMPLES}
	${INSTALL_DATA} ${WRKSRC}/samples/${examples} ${EXAMPLESDIR}
.endfor
.endif
	@${CAT} ${PKGMESSAGE}

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