aboutsummaryrefslogtreecommitdiff
path: root/ftp/xrmftp/Makefile
blob: 305d10309bbf7e70b7ec34f6e944a60c861970fe (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
# New ports collection Makefile for:	xrmftp
# Date created:				28 March 2000
# Whom:					Matt Heckaman <matt@LUCIDA.CA>
#
# $FreeBSD$
#

PORTNAME=	xrmftp
PORTVERSION=	1.2.4
PORTREVISION=	3
CATEGORIES=	ftp
MASTER_SITES=	http://www-users.mat.uni.torun.pl/~rafmet/xrmftp/
EXTRACT_SUFX=	.src.tgz

MAINTAINER=	beech@FreeBSD.org
COMMENT=	Graphical FTP client based on the xforms library

LIB_DEPENDS=	forms.1:${PORTSDIR}/x11-toolkits/xforms

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

ALL_TARGET=	xrmftp
CFLAGS+=	-I${X11BASE}/include -I${X11BASE}/include/X11
MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}" \
		LDFLAGS="-L/usr/lib -L${X11BASE}/lib -lm -lX11 -lforms -lXpm"

PORTDOCS=	CHANGES FIXED-BUGS README
PLIST_FILES=	bin/xrmftp

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/xrmftp ${PREFIX}/bin
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
.for file in CHANGES FIXED-BUGS README
	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>