2013-09-20 18:44:49 +00:00
|
|
|
# Created by: Chess Griffin <chess@chessgriffin.com>
|
2007-12-17 03:48:51 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= bip
|
2014-03-06 13:04:17 +00:00
|
|
|
PORTVERSION= 0.8.9
|
2007-12-17 03:48:51 +00:00
|
|
|
CATEGORIES= irc
|
2014-03-06 13:04:17 +00:00
|
|
|
MASTER_SITES= https://projects.duckcorp.org/attachments/download/61/
|
2007-12-17 03:48:51 +00:00
|
|
|
|
2014-01-16 19:00:09 +00:00
|
|
|
MAINTAINER= swills@FreeBSD.org
|
2014-06-13 07:36:27 +00:00
|
|
|
COMMENT= Simple IRC proxy with SSL support
|
2007-12-17 03:48:51 +00:00
|
|
|
|
2016-09-08 17:53:13 +00:00
|
|
|
LICENSE= GPLv2+
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
2012-02-25 21:16:22 +00:00
|
|
|
|
2018-11-10 10:09:48 +00:00
|
|
|
BROKEN_SSL= openssl111
|
2018-02-17 12:00:03 +00:00
|
|
|
|
2007-12-17 03:48:51 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2016-09-10 18:18:31 +00:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib -L${OPENSSLLIB}
|
|
|
|
CFLAGS+= -Wno-sign-compare -Wno-error -I${OPENSSLINC}
|
2016-09-08 17:53:13 +00:00
|
|
|
USES= cpe gmake ssl
|
2015-04-16 07:36:11 +00:00
|
|
|
CPE_VENDOR= duckcorp
|
2007-12-17 03:48:51 +00:00
|
|
|
INSTALL_TARGET= SUBDIR=src install-exec
|
|
|
|
|
2012-02-25 21:16:22 +00:00
|
|
|
PATCH_STRIP= -p1
|
2007-12-17 03:48:51 +00:00
|
|
|
SUB_FILES= pkg-message
|
2008-02-18 03:30:08 +00:00
|
|
|
|
|
|
|
PORTDOCS= AUTHORS BUGS ChangeLog NEWS README TODO
|
2014-03-06 13:04:17 +00:00
|
|
|
EXAMPLEFILES= bip.conf bip.vim
|
2007-12-17 03:48:51 +00:00
|
|
|
|
2014-07-15 15:38:31 +00:00
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
|
2019-04-03 09:32:47 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${SSL_DEFAULT} == base
|
|
|
|
BROKEN_FreeBSD_12= error: incomplete definition of type 'struct dh_st'
|
|
|
|
BROKEN_FreeBSD_13= error: incomplete definition of type 'struct dh_st'
|
|
|
|
.endif
|
|
|
|
|
2007-12-17 03:48:51 +00:00
|
|
|
post-install:
|
2016-09-08 17:53:13 +00:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/bip.1 ${STAGEDIR}${PREFIX}/man/man1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/bipmkpw.1 ${STAGEDIR}${PREFIX}/man/man1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/bip.conf.5 ${STAGEDIR}${PREFIX}/man/man5
|
2007-12-17 03:48:51 +00:00
|
|
|
|
2016-09-08 17:53:13 +00:00
|
|
|
post-install-DOCS-on:
|
2014-03-06 13:04:17 +00:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2009-09-15 23:55:47 +00:00
|
|
|
.for docs in ${PORTDOCS}
|
2014-03-06 13:04:17 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${docs} ${STAGEDIR}${DOCSDIR}
|
2009-09-15 23:55:47 +00:00
|
|
|
.endfor
|
2007-12-17 03:48:51 +00:00
|
|
|
|
2016-09-08 17:53:13 +00:00
|
|
|
post-install-EXAMPLES-on:
|
|
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
2014-03-06 13:04:17 +00:00
|
|
|
.for i in ${EXAMPLEFILES}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/samples/${i} ${STAGEDIR}${EXAMPLESDIR}
|
2009-09-15 23:55:47 +00:00
|
|
|
.endfor
|
2007-12-17 03:48:51 +00:00
|
|
|
|
2019-04-03 09:32:47 +00:00
|
|
|
.include <bsd.port.post.mk>
|