summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/tnftp/Makefile4
-rw-r--r--net/tnftp/files/src/Makefile.in4
2 files changed, 6 insertions, 2 deletions
diff --git a/net/tnftp/Makefile b/net/tnftp/Makefile
index 62168b54abd..0a2cd6f7292 100644
--- a/net/tnftp/Makefile
+++ b/net/tnftp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2009/04/09 00:48:10 joerg Exp $
+# $NetBSD: Makefile,v 1.27 2012/03/04 19:49:41 joerg Exp $
DISTNAME= tnftp-20070806
SVR4_PKGNAME= tnftp
@@ -23,6 +23,8 @@ CHECK_PERMS= no
OPSYSVARS+= MAKE_ENV
MAKE_ENV.SunOS+= CPPFLAGS=""
+MAKE_ENV+= MANINSTALL=${MANINSTALL:Q}
+
.include "options.mk"
do-extract:
diff --git a/net/tnftp/files/src/Makefile.in b/net/tnftp/files/src/Makefile.in
index 6ea18fb8b2e..59756faa66f 100644
--- a/net/tnftp/files/src/Makefile.in
+++ b/net/tnftp/files/src/Makefile.in
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.in,v 1.6 2008/03/06 04:45:58 jlam Exp $
+# $NetBSD: Makefile.in,v 1.7 2012/03/04 19:49:41 joerg Exp $
#
srcdir = @srcdir@
@@ -42,8 +42,10 @@ ${OBJS}: ${srcdir}/../tnftp.h ../config.h
install: all
-mkdir -p ${DESTDIR}${bindir}
${INSTALL} -m 555 ${PROG} ${DESTDIR}${bindir}/`echo ${PROG}|sed '$(transform)'`
+.if !empty(MANINSTALL:Mcatinstall)
-mkdir -p ${DESTDIR}${mandircat1}
${INSTALL} -m 444 ${srcdir}/${PROG}.cat1 ${DESTDIR}${mandircat1}/`echo ${PROG}|sed '$(transform)'`.0
+.endif
clean:
rm -f core ${PROG} ${OBJS}