aboutsummaryrefslogtreecommitdiff
path: root/ftp/spegla/Makefile
blob: c2c0fb10a21d852952436420ca34180d388f4294 (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
# ex:ts=8
# New ports collection makefile for:    spegla
# Date created:         Sun Apr 19 16:17:25 PDT 1998
# Whom:                 Jordan Hubbard <jkh@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	spegla
PORTVERSION=	1.1p4
PORTREVISION=	5
CATEGORIES=	ftp ipv6
MASTER_SITES=	ftp://subzero.campus.luth.se/pub/spegla/ \
		ftp://ftp.luth.se/pub/unix/mirror/

PATCH_SITES=	http://www.mahoroba.org/~ume/ipv6/
PATCHFILES=	${DISTNAME}-ipv6-20020129-3.diff.gz

MAINTAINER=	hrs@FreeBSD.org
COMMENT=	A mirror program for FTP sites (written in C)

MAKE_ARGS=	MANDIR=${MAN1PREFIX}/man/man
PLIST_FILES=	bin/spegla
PORTEXAMPLES=	freebsd.org spegla.conf spegla.sh

MANCOMPRESSED=	yes
MAN1=		spegla.1

OPTIONS=	IPV6	"IPv6 support"	on

.if !defined(NOPORTEXAMPLES)
post-install:
	${MKDIR} ${EXAMPLESDIR}
	cd ${WRKSRC} && \
		${INSTALL_DATA} freebsd.org spegla.conf ${EXAMPLESDIR} && \
		${INSTALL_SCRIPT} spegla.sh ${EXAMPLESDIR}
.endif

.include <bsd.port.pre.mk>

.if !defined(WITHOUT_IPV6)
MAKE_ARGS+=	-DINET6
.endif

.include <bsd.port.post.mk>