summaryrefslogblamecommitdiff
path: root/irc/bip/Makefile
blob: fffa4c3153491dad111294b5e65298c437553b5a (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                             


                                                        











                                                   
                                          




















                                                                               
# New ports collection makefile for:   bip
# Date created:        23 October 2007
# Whom:                Chess Griffin <chess@chessgriffin.com>
#
# $FreeBSD$
#

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

MAINTAINER=	chess@chessgriffin.com
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 bip.conf.1 bipmkpw.1

PORTDOCS=	AUTHORS ChangeLog NEWS README README.floodcontrol TODO
PORTEXAMPLES=	bip.conf bip.vim

.include <bsd.port.pre.mk>

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

.if !defined(NOPORTDOCS)
	@${INSTALL} -d ${DOCSDIR}
	@cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif

.if !defined(NOPORTEXAMPLES)
	@${INSTALL} -d ${EXAMPLESDIR}
	@cd ${WRKSRC}/samples && ${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR}
.endif
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>