summaryrefslogtreecommitdiff
path: root/net/uucp/files/uucpd
diff options
context:
space:
mode:
authorchristos <christos@pkgsrc.org>2007-03-16 17:52:25 +0000
committerchristos <christos@pkgsrc.org>2007-03-16 17:52:25 +0000
commitb7115c8c13f8d7b90ff5e2a1a4eaa5fd21c8877a (patch)
treef3811e1948798b996fe64e38192eb76834b936bd /net/uucp/files/uucpd
parent185782f13af1f9f4a8bae65cde12cfc1cff89ac3 (diff)
downloadpkgsrc-b7115c8c13f8d7b90ff5e2a1a4eaa5fd21c8877a.tar.gz
Adjust ${PREFIX} dynamically so that man pages and programs work properly.
Diffstat (limited to 'net/uucp/files/uucpd')
-rw-r--r--net/uucp/files/uucpd/Makefile4
-rw-r--r--net/uucp/files/uucpd/pathnames.h4
-rw-r--r--net/uucp/files/uucpd/uucpd.84
3 files changed, 7 insertions, 5 deletions
diff --git a/net/uucp/files/uucpd/Makefile b/net/uucp/files/uucpd/Makefile
index 318c3b7fdd1..a655c95a17b 100644
--- a/net/uucp/files/uucpd/Makefile
+++ b/net/uucp/files/uucpd/Makefile
@@ -1,8 +1,10 @@
-# $NetBSD: Makefile,v 1.1 2007/03/15 20:02:20 christos Exp $
+# $NetBSD: Makefile,v 1.2 2007/03/16 17:52:30 christos Exp $
# from: @(#)Makefile 8.1 (Berkeley) 6/4/93
PROG= uucpd
MAN= uucpd.8
+BINDIR= @PREFIX@/libexec
+MANDIR= @PREFIX@/man
LDADD+= -lcrypt -lutil
DPADD+= ${LIBCRYPT} ${LIBUTIL}
CPPFLAGS+=-DSUPPORT_UTMP -DSUPPORT_UTMPX
diff --git a/net/uucp/files/uucpd/pathnames.h b/net/uucp/files/uucpd/pathnames.h
index 41ec17b86d6..a10ef6cf61e 100644
--- a/net/uucp/files/uucpd/pathnames.h
+++ b/net/uucp/files/uucpd/pathnames.h
@@ -1,4 +1,4 @@
-/* $NetBSD: pathnames.h,v 1.1 2007/03/15 20:02:20 christos Exp $ */
+/* $NetBSD: pathnames.h,v 1.2 2007/03/16 17:52:30 christos Exp $ */
/*
* Copyright (c) 1989 The Regents of the University of California.
@@ -33,4 +33,4 @@
#include <paths.h>
-#define _PATH_UUCICO "/usr/libexec/uucp/uucico"
+#define _PATH_UUCICO "@PREFIX@/libexec/uucp/uucico"
diff --git a/net/uucp/files/uucpd/uucpd.8 b/net/uucp/files/uucpd/uucpd.8
index 301d77a9809..cf322204436 100644
--- a/net/uucp/files/uucpd/uucpd.8
+++ b/net/uucp/files/uucpd/uucpd.8
@@ -1,4 +1,4 @@
-.\" $NetBSD: uucpd.8,v 1.1 2007/03/15 20:02:20 christos Exp $
+.\" $NetBSD: uucpd.8,v 1.2 2007/03/16 17:52:30 christos Exp $
.\"
.\" Copyright (c) 1998 Matthew R. Green
.\" All rights reserved.
@@ -48,7 +48,7 @@ file transfer daemon, if the following conditions are met:
the username and password match a valid account
.It
the accounts shell is
-.Dq /usr/libexec/uucp/uucico .
+.Dq @PREFIX@/libexec/uucp/uucico .
.El
.Pp
.Nm