aboutsummaryrefslogtreecommitdiffstats
path: root/irc/dcc/Makefile
blob: 64e1b7c8904920dfb8020f19ffdd841840652dac (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
# New ports collection makefile for:    dcc
# Date Created:     6 May 2001
# Whom:         Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
#
# $FreeBSD$
#

PORTNAME=   dcc
PORTVERSION=    2.5.6
PORTREVISION=   1
CATEGORIES= irc
MASTER_SITES=   ftp://ftp.fan.gr.jp/pub/elisp/irchat-pj/2.5/ \
        ftp://ftp.fan.gr.jp/pub/elisp/irchat-pj/2.5/OLD/
DISTNAME=   irchat-pj-${PORTVERSION}p

PATCH_SITES=    ${MASTER_SITES}
PATCHFILES= irchat-pj-${PORTVERSION}pl2.diff.gz
PATCH_DIST_STRIP=   -p1

MAINTAINER= yoichi@FreeBSD.org
COMMENT=    DCC support program for irchat-pj

PLIST_FILES=    bin/dcc
ALL_TARGET= dcc
LDFLAGS=    ${PTHREAD_LIBS}
CFLAGS+=    ${PTHREAD_CFLAGS} -DUSE_PTHREAD -DENABLE_PTHREAD_ATTR
MAKE_ENV+=  LDFLAGS="${LDFLAGS}"

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/dcc ${PREFIX}/bin

.include <bsd.port.mk>