1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/irc/bip/Makefile
Mark Felder a60811c242 Update to 0.8.9
Support STAGE
2014-03-06 13:04:17 +00:00

51 lines
1.2 KiB
Makefile

# Created by: Chess Griffin <chess@chessgriffin.com>
# $FreeBSD$
PORTNAME= bip
PORTVERSION= 0.8.9
CATEGORIES= irc
MASTER_SITES= https://projects.duckcorp.org/attachments/download/61/
MAINTAINER= swills@FreeBSD.org
COMMENT= A simple IRC proxy with SSL support
LICENSE= GPLv2
GNU_CONFIGURE= yes
LDFLAGS+= -L${LOCALBASE}/lib
CFLAGS+= -Wno-sign-compare -Wno-error
USES= gmake
INSTALL_TARGET= SUBDIR=src install-exec
USE_OPENSSL= yes
PATCH_STRIP= -p1
SUB_FILES= pkg-message
PORTDOCS= AUTHORS BUGS ChangeLog NEWS README TODO
EXAMPLEFILES= bip.conf bip.vim
.include <bsd.port.pre.mk>
post-install:
@cd ${WRKSRC} && ${INSTALL} bip.1 ${STAGEDIR}${PREFIX}/man/man1
@cd ${WRKSRC} && ${INSTALL} bipmkpw.1 ${STAGEDIR}${PREFIX}/man/man1
@cd ${WRKSRC} && ${INSTALL} bip.conf.5 ${STAGEDIR}${PREFIX}/man/man5
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for docs in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${docs} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for i in ${EXAMPLEFILES}
${INSTALL_DATA} ${WRKSRC}/samples/${i} ${STAGEDIR}${EXAMPLESDIR}
.endfor
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>