aboutsummaryrefslogtreecommitdiffstats
path: root/irc/bip/Makefile
blob: a7f723e308cd03aed51e76caeebb8a56c48529f7 (plain) (blame)
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
55
56
57
# New ports collection makefile for:   bip
# Date created:        23 October 2007
# Whom:                Chess Griffin <chess@chessgriffin.com>
#
# $FreeBSD$
#

PORTNAME=   bip
PORTVERSION=    0.8.8
PORTREVISION=   1
CATEGORIES= irc
MASTER_SITES=   https://projects.duckcorp.org/attachments/download/39/

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

LICENSE=    GPLv2

GNU_CONFIGURE=  yes
LDFLAGS+=   -L${LOCALBASE}/lib
USE_GMAKE=  yes
INSTALL_TARGET= SUBDIR=src install-exec

USE_OPENSSL=    yes

PATCH_STRIP=    -p1
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>