pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/ftpproxy There's no need to manually format and in...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/576598e1b9ca
branches:  trunk
changeset: 490539:576598e1b9ca
user:      tv <tv%pkgsrc.org@localhost>
date:      Mon Mar 14 19:55:39 2005 +0000

description:
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:

 net/ftpproxy/Makefile |  16 ++++------------
 net/ftpproxy/PLIST    |   4 ++--
 2 files changed, 6 insertions(+), 14 deletions(-)

diffs (46 lines):

diff -r 2160a39cafe8 -r 576598e1b9ca net/ftpproxy/Makefile
--- a/net/ftpproxy/Makefile     Mon Mar 14 19:52:16 2005 +0000
+++ b/net/ftpproxy/Makefile     Mon Mar 14 19:55:39 2005 +0000
@@ -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 @@
 .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 -r 2160a39cafe8 -r 576598e1b9ca net/ftpproxy/PLIST
--- a/net/ftpproxy/PLIST        Mon Mar 14 19:52:16 2005 +0000
+++ b/net/ftpproxy/PLIST        Mon Mar 14 19:55:39 2005 +0000
@@ -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



Home | Main Index | Thread Index | Old Index