aboutsummaryrefslogtreecommitdiffstats
path: root/irc/iroffer-lamm/Makefile
blob: 0104083d7584e9d6d5adef1597406e904933da86 (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
# New ports collection makefile for:    iroffer-lamm
# Date created:         10 Apr 2007
# Whom:                 dirk.meyer@dinoex.sub.org
#
# $FreeBSD$
#

PORTNAME=   iroffer
PORTVERSION=    1.4.3.2
CATEGORIES= irc
MASTER_SITES=   SF/${PORTNAME}-lamm/${PORTNAME}1.4-lamm/${PORTNAME}1.4.b03-lamm.b02
PKGNAMESUFFIX=  -lamm${PKGNAMESUFFIX2}
DISTNAME=   iroffer1.4.b03-lamm.b02
EXTRACT_SUFX=   .tgz

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

LICENSE=    GPLv2

HAS_CONFIGURE=  yes
CONFIGURE_SCRIPT=   Configure
CONFLICTS=  iroffer-1.* iroffer-dinoex-3.*

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

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/convertxdccfile ${PREFIX}/bin/
    ${INSTALL_PROGRAM} ${WRKSRC}/iroffer ${PREFIX}/bin/
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
    ${INSTALL_DATA} ${WRKSRC}/WHATSNEW ${DOCSDIR}/
.endif
.if !defined(NOPORTEXAMPLES)
    ${MKDIR} ${EXAMPLESDIR}
    ${INSTALL_DATA} ${WRKSRC}/dynip.sh ${EXAMPLESDIR}/
    ${INSTALL_DATA} ${WRKSRC}/iroffer.cron ${EXAMPLESDIR}/
    ${INSTALL_DATA} ${WRKSRC}/sample.config ${EXAMPLESDIR}/
.endif
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>