aboutsummaryrefslogtreecommitdiffstats
path: root/irc/dancer/Makefile
blob: 13749a0f935b42ef41584f739dd63e89afaa034d (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
# Created by: Dominic Marks <dom@cus.org.uk>
# $FreeBSD$

PORTNAME=   dancer
PORTVERSION=    4.16
PORTREVISION=   1
CATEGORIES= irc
MASTER_SITES=   SF

MAINTAINER= ports@FreeBSD.org
COMMENT=    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}"
LDFLAGS+=   -lm
CPP=        #
USE_CSTD=   gnu89

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

.include <bsd.port.mk>