$NetBSD: patch-aa,v 1.3 2005/12/05 03:04:28 snj Exp $ --- Makefile.in.orig 2005-03-18 00:40:18.000000000 -0800 +++ Makefile.in 2005-12-04 18:49:02.000000000 -0800 @@ -9,7 +9,7 @@ CFLAGS = @CFLAGS@ -I$(srcdir) -I. INSTALL = @INSTALL@ CC = @CC@ CHROOTED_NAME = @CHROOTED_NAME@ -CONFDIR = @sysconfdir@/scponly +CONFDIR = @sysconfdir@ DEBUGFILE = ${CONFDIR}/debuglevel DEFS = @DEFS@ -DDEBUGFILE='"${DEBUGFILE}"' LN_S = @LN_S@ @@ -38,9 +38,10 @@ install: scponly debuglevel scponly.8 ${INSTALL} -d ${DESTDIR}${bindir} ${INSTALL} -d ${DESTDIR}${mandir}/man8 ${INSTALL} -d ${DESTDIR}${CONFDIR} - ${INSTALL} -o 0 -g 0 scponly ${DESTDIR}${bindir}/scponly - ${INSTALL} -o 0 -g 0 -m 0644 scponly.8 ${DESTDIR}${mandir}/man8/scponly.8 - ${INSTALL} -o 0 -g 0 -m 0644 debuglevel ${DESTDIR}${DEBUGFILE} + ${INSTALL} -d ${prefix}/share/examples/scponly + ${BSD_INSTALL_PROGRAM} scponly ${bindir}/scponly + ${BSD_INSTALL_DATA} scponly.8 ${mandir}/man8/scponly.8 + ${BSD_INSTALL_DATA} debuglevel ${prefix}/share/examples/scponly if test "x${CHROOTED_NAME}" != "x"; then \ ${INSTALL} -d ${DESTDIR}${sbindir}; \ rm -f ${DESTDIR}${sbindir}/${CHROOTED_NAME}; \