1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-28 10:08:24 +00:00
freebsd-ports/irc/bip/Makefile

57 lines
1.4 KiB
Makefile
Raw Normal View History

# Created by: Chess Griffin <chess@chessgriffin.com>
# $FreeBSD$
PORTNAME= bip
2014-03-06 13:04:17 +00:00
PORTVERSION= 0.8.9
CATEGORIES= irc
2014-03-06 13:04:17 +00:00
MASTER_SITES= https://projects.duckcorp.org/attachments/download/61/
2014-01-16 19:00:09 +00:00
MAINTAINER= swills@FreeBSD.org
COMMENT= Simple IRC proxy with SSL support
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_SSL= openssl111
GNU_CONFIGURE= yes
LDFLAGS+= -L${LOCALBASE}/lib -L${OPENSSLLIB}
CFLAGS+= -Wno-sign-compare -Wno-error -I${OPENSSLINC}
USES= cpe gmake ssl
CPE_VENDOR= duckcorp
INSTALL_TARGET= SUBDIR=src install-exec
PATCH_STRIP= -p1
SUB_FILES= pkg-message
PORTDOCS= AUTHORS BUGS ChangeLog NEWS README TODO
2014-03-06 13:04:17 +00:00
EXAMPLEFILES= bip.conf bip.vim
OPTIONS_DEFINE= DOCS EXAMPLES
.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
post-install:
${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
post-install-DOCS-on:
2014-03-06 13:04:17 +00:00
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for docs in ${PORTDOCS}
2014-03-06 13:04:17 +00:00
${INSTALL_DATA} ${WRKSRC}/${docs} ${STAGEDIR}${DOCSDIR}
.endfor
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}
.endfor
.include <bsd.port.post.mk>