aboutsummaryrefslogtreecommitdiffstats
path: root/irc/dcc/Makefile
blob: 3ebcef665deb534bcc98a052426b7cf1a58a816d (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=   http://his.luky.org/ftp/mirrors/irchat-pj/2.5/
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

USE_BZIP2=  yes
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>