2004-01-02 18:03:11 +01:00
|
|
|
# $NetBSD: Makefile,v 1.7 2004/01/02 17:03:11 taca Exp $
|
2002-05-09 18:20:58 +02:00
|
|
|
#
|
|
|
|
|
2004-01-02 18:03:11 +01:00
|
|
|
DISTNAME= ftpproxy-1.2.2
|
2002-05-09 18:20:58 +02:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= http://www.ftpproxy.org/download/ \
|
2003-03-28 09:54:09 +01:00
|
|
|
http://www.ftpproxy.org/download/older_releases/
|
2002-05-09 18:20:58 +02:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2003-09-02 19:27:16 +02:00
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
2002-05-09 18:20:58 +02:00
|
|
|
HOMEPAGE= http://www.ftpproxy.org/
|
2003-07-21 19:10:16 +02:00
|
|
|
COMMENT= Application level gateway for FTP
|
2002-05-09 18:20:58 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if ${OPSYS} == "SunOS"
|
|
|
|
NROFF?= nroff
|
|
|
|
MANDOC?= -man
|
2002-05-09 18:55:51 +02:00
|
|
|
LIBS+= "-lsocket -lnsl"
|
|
|
|
MAKE_ENV+= LIBS=${LIBS}
|
2002-05-09 18:20:58 +02:00
|
|
|
.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"
|