aboutsummaryrefslogtreecommitdiff
path: root/net/zsync/Makefile
blob: c260a6c20e9314cbadca89cd065a8bdfa81f6525 (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
37
38
39
40
41
42
43
44
45
46
# Ports collection makefile for:	zsync
# Date created:			16 Jan 2005
# Whom:				Gea-Suan Lin <gslin@ccca.nctu.edu.tw>
#
# $FreeBSD$
#

PORTNAME=	zsync
PORTVERSION=	0.4.0
CATEGORIES=	net
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	gordon@FreeBSD.org
COMMENT=	A file transfer program

PLIST_FILES=	bin/zsync \
		bin/zsyncmake

.if !defined(NOPORTDOCS)
PORTDOCS=	COPYING \
		README
.endif

MAN1=		zsync.1 \
		zsyncmake.1

GNU_CONFIGURE=	yes

do-install:
.for FILE in zsync zsyncmake
	${INSTALL_PROGRAM} ${WRKSRC}/${FILE} ${PREFIX}/bin
.endfor

.for FILE in ${MAN1}
	${INSTALL_MAN} ${WRKSRC}/doc/${FILE} ${MAN1PREFIX}/man/man1
.endfor

.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
.for FILE in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>