aboutsummaryrefslogtreecommitdiff
path: root/ftp/IglooFTP/Makefile
blob: a29f1ca580ad771d860ca6c9e6bc7d310f396250 (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
# New ports collection makefile for:	IglooFTP
# Date created:				3 May 1999
# Whom:					Andrey Zakhvatov
#
# $FreeBSD$
#

PORTNAME=	IglooFTP
PORTVERSION=	0.6.1
PORTREVISION=	5
CATEGORIES=	ftp
MASTER_SITES=	${MASTER_SITE_SUNSITE} \
		ftp://littleigloo.org/pub/iglooftp/
MASTER_SITE_SUBDIR=	system/network/file-transfer
DISTNAME=	${PORTNAME}-${PORTVERSION}.src

MAINTAINER=	shaun@FreeBSD.org
COMMENT=	Easy to use FTP client for X Window System

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/src

USE_XORG=	x11 xmu
USE_GNOME=	gtk12
ALL_TARGET=	# empty
MAKE_ARGS=	CC=${CC} C_FLAGS="${CFLAGS}" DESTDIR=${PREFIX}

.include <bsd.port.pre.mk>

post-extract:
	@${RM} ${WRKSRC}/../share/docs/LICENSE~

post-patch:
	@${REINPLACE_CMD} -e 's|(char) user_rc.default_session.firewall_login_type|user_rc.default_session.firewall_login_type|' \
		${WRKSRC}/custom_io.h

post-install:
.if !defined(NOPORTDOCS)
.for file in AUTHORS BUGS COPYRIGHT THANKS TODO
	${INSTALL_DATA} ${WRKSRC}/../${file} ${PREFIX}/share/IglooFTP/docs
.endfor
.endif

.include <bsd.port.post.mk>