diff options
author | tv <tv> | 2005-03-14 19:55:39 +0000 |
---|---|---|
committer | tv <tv> | 2005-03-14 19:55:39 +0000 |
commit | c193f8d0ecc830fab3c25bda2edbba1a097fda3e (patch) | |
tree | d6c51f99d3653a2a7c3dcf5c1521f544d4f739c4 /net/ftpproxy/Makefile | |
parent | 17f54fd97b5c13186a244710dbe01cff9852aa81 (diff) | |
download | pkgsrc-c193f8d0ecc830fab3c25bda2edbba1a097fda3e.tar.gz |
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.
Diffstat (limited to 'net/ftpproxy/Makefile')
-rw-r--r-- | net/ftpproxy/Makefile | 16 |
1 files changed, 4 insertions, 12 deletions
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" |