summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2005-03-14 19:55:39 +0000
committertv <tv@pkgsrc.org>2005-03-14 19:55:39 +0000
commit07dadb115825f3e6b59ef3a65463da180f45faa6 (patch)
treed6c51f99d3653a2a7c3dcf5c1521f544d4f739c4 /net
parenta0ef05d53ed8e1b745b51e11c2a371ec4ae9a0ee (diff)
downloadpkgsrc-07dadb115825f3e6b59ef3a65463da180f45faa6.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')
-rw-r--r--net/ftpproxy/Makefile16
-rw-r--r--net/ftpproxy/PLIST4
2 files changed, 6 insertions, 14 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"
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