From 07dadb115825f3e6b59ef3a65463da180f45faa6 Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 14 Mar 2005 19:55:39 +0000 Subject: There's no need to manually format and install a nroffed manpage. Install the source and let man(1) do it. Use PREFIX, not LOCALBASE, when installing. --- net/ftpproxy/Makefile | 16 ++++------------ net/ftpproxy/PLIST | 4 ++-- 2 files changed, 6 insertions(+), 14 deletions(-) (limited to 'net/ftpproxy') diff --git a/net/ftpproxy/Makefile b/net/ftpproxy/Makefile index ab37de47ea5..1463cea9dd0 100644 --- a/net/ftpproxy/Makefile +++ b/net/ftpproxy/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.7 2004/01/02 17:03:11 taca Exp $ +# $NetBSD: Makefile,v 1.8 2005/03/14 19:55:39 tv Exp $ # DISTNAME= ftpproxy-1.2.2 +PKGREVISION= 1 CATEGORIES= net MASTER_SITES= http://www.ftpproxy.org/download/ \ http://www.ftpproxy.org/download/older_releases/ @@ -14,21 +15,12 @@ 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 + ${INSTALL_PROGRAM} ${WRKSRC}/src/ftp.proxy ${PREFIX}/libexec/ + ${INSTALL_MAN} ${WRKSRC}/doc/ftp.proxy.1 ${PREFIX}/man/man8/ftp.proxy.8 .include "../../mk/bsd.pkg.mk" diff --git a/net/ftpproxy/PLIST b/net/ftpproxy/PLIST index b15bc26a07a..884e7426f6b 100644 --- a/net/ftpproxy/PLIST +++ b/net/ftpproxy/PLIST @@ -1,3 +1,3 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2002/05/09 16:20:58 taca Exp $ +@comment $NetBSD: PLIST,v 1.2 2005/03/14 19:55:39 tv Exp $ libexec/ftp.proxy -man/cat8/ftp.proxy.8 +man/man8/ftp.proxy.8 -- cgit v1.2.3