aboutsummaryrefslogtreecommitdiffstats
path: root/irc/dancer/Makefile
blob: c48bd3df493c45c45642d23c5bac0f25c4a1c11a (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
# New ports collection makefile for:    dancer
# Date created:     02/01/2003
# Whom:         Dominic Marks <dom@cus.org.uk>
#
# $FreeBSD$
#

PORTNAME=   dancer
PORTVERSION=    4.16
PORTREVISION=   1
CATEGORIES= irc
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= ports@FreeBSD.org
COMMENT=    An IRC bot written in C for UNIX, Windows, and AmigaOS

PATCH_WRKSRC=       ${WRKDIR}/${DISTNAME}
WRKSRC=     ${WRKDIR}/${DISTNAME}/src
GNU_CONFIGURE=  yes
MAKE_ARGS+= CSPECIAL="${CFLAGS}" LDFLAGS="${LDFLAGS}"

do-install:
    @${MKDIR} ${DATADIR}
    ${INSTALL_PROGRAM} ${WRKSRC}/../${PORTNAME} ${PREFIX}/bin/
    cd ${WRKSRC}/../example && ${INSTALL_DATA} \
        dancer.config dancer.users \
        dancer.funcs dancer.explain ${DATADIR}

.include <bsd.port.pre.mk>

.if ${OSVERSION} > 500000
LDFLAGS+=   -lm
.endif

.include <bsd.port.post.mk>