summaryrefslogtreecommitdiff
path: root/net/ftpproxy/Makefile
blob: 5526e70aac9df5476e2d0f124615fb92210c226b (plain)
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
# $NetBSD: Makefile,v 1.4 2003/07/17 22:51:11 grant Exp $
#

DISTNAME=	ftpproxy-1.1.5
CATEGORIES=	net
MASTER_SITES=	http://www.ftpproxy.org/download/ \
		http://www.ftpproxy.org/download/older_releases/
EXTRACT_SUFX=	.tgz

MAINTAINER=	package@NetBSD.org
HOMEPAGE=	http://www.ftpproxy.org/
COMMENT=	application level gateway for FTP

.include "../../mk/bsd.prefs.mk"

.if ${OPSYS} == "SunOS"
NROFF?=		nroff
MANDOC?=	-man
LIBS+=		"-lsocket -lnsl"
MAKE_ENV+=	LIBS=${LIBS}
.else
NROFF?=		nroff
MANDOC?=	-mandoc
.endif

post-build:
	cd ${WRKSRC}/doc; ${NROFF} ${MANDOC} ftp.proxy.1 > ftp.proxy.cat8

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/src/ftp.proxy ${LOCALBASE}/libexec
	${INSTALL_MAN} ${WRKSRC}/doc/ftp.proxy.cat8 \
		${LOCALBASE}/man/cat8/ftp.proxy.8

.include "../../mk/bsd.pkg.mk"