aboutsummaryrefslogtreecommitdiffstats
path: root/irc/iroffer/Makefile
blob: d992e23f9b9013ae07c42706051530d561051835 (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
# Created by: Donald Burr <dburr@FreeBSD.org>
# $FreeBSD$

PORTNAME=   iroffer
PORTVERSION=    1.4.3
CATEGORIES= irc
MASTER_SITES=   http://iroffer.org/archive/v1.4/
DISTNAME=   iroffer1.4.b03

MAINTAINER= dinoex@FreeBSD.org
COMMENT=    IRC "bot" that makes sharing files via DCC extremely easy

LICENSE=    GPLv2

CONFLICTS=  iroffer-lamm-1.* iroffer-dinoex-3.*

USES=       tar:tgz
HAS_CONFIGURE=  yes
CONFIGURE_SCRIPT=   Configure

OPTIONS_DEFINE= DOCS EXAMPLES

post-patch:
    ${REINPLACE_CMD} -e 's|cctype="gcc"|cctype="${CC}"|' \
        ${WRKSRC}/Configure

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/convertxdccfile ${STAGEDIR}${PREFIX}/bin/
    ${INSTALL_PROGRAM} ${WRKSRC}/iroffer ${STAGEDIR}${PREFIX}/bin/

do-install-DOCS-on:
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/
    ${INSTALL_DATA} ${WRKSRC}/WHATSNEW ${STAGEDIR}${DOCSDIR}/

do-install-EXAMPLES-on:
    ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
    ${INSTALL_DATA} ${WRKSRC}/dynip.sh ${STAGEDIR}${EXAMPLESDIR}/
    ${INSTALL_DATA} ${WRKSRC}/iroffer.cron ${STAGEDIR}${EXAMPLESDIR}/
    ${INSTALL_DATA} ${WRKSRC}/sample.config ${STAGEDIR}${EXAMPLESDIR}/

.include <bsd.port.mk>