aboutsummaryrefslogtreecommitdiffstats
path: root/irc/dcc/Makefile
blob: ebfe3ce8e4901221ba44ebf58de0e574694e0809 (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
# Created by: Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
# $FreeBSD$

PORTNAME=   dcc
PORTVERSION=    2.5.6
PORTREVISION=   1
CATEGORIES= irc
#MASTER_SITES=  http://gouketsu.net/irchat-pj/src/2.5/
MASTER_SITES=   http://ftp.dti.ad.jp/pub/unix/net/irc/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= ports@FreeBSD.org
COMMENT=    DCC support program for irchat-pj

LICENSE=    GPLv2 # (or later)

USE_BZIP2=  yes
ALL_TARGET= dcc

CFLAGS+=    -DUSE_PTHREAD -DENABLE_PTHREAD_ATTR
LDFLAGS+=   -pthread

PLIST_FILES=    bin/dcc

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

.include <bsd.port.mk>