aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/xrmftp/Makefile
blob: b17551988a8ca113405ce1193772ae797be716b8 (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
# 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=   2
CATEGORIES= ftp
MASTER_SITES=   http://www-users.mat.uni.torun.pl/~rafmet/xrmftp/
EXTRACT_SUFX=   .src.tgz

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

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

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

USE_X_PREFIX=   yes
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>