$NetBSD: patch-aa,v 1.2 2006/02/22 20:52:11 wiz Exp $ --- Makefile.orig 2005-03-16 01:25:03.000000000 +0000 +++ Makefile @@ -1,6 +1,5 @@ -PREFIX=/usr/local BINDIR=${PREFIX}/bin -MANDIR=${PREFIX}/share/man/man1 +MANDIR=${PREFIX}/man/man1 DOCDIR=${PREFIX}/share/doc/raggle DATADIR=${PREFIX}/share/raggle DATA=themes extras @@ -22,7 +21,7 @@ install : if [ ! -d "${MANDIR}" ]; then \ ${mkdir} ${MANDIR}; \ fi && \ - ruby -pe 'gsub(/^(.)DATADIR = ".*"/, "\\1DATADIR = \"${DATADIR}\"")' < ./raggle > ${BINDIR}/raggle && chmod 755 ${BINDIR}/raggle && \ + ${RUBY} -pe 'gsub(/^(.)DATADIR = ".*"/, "\\1DATADIR = \"${DATADIR}\"")' < ./raggle > ${BINDIR}/raggle && chmod 755 ${BINDIR}/raggle && \ cp raggle.1 ${MANDIR} && \ cp -r ${DOCS} ${DOCDIR} && \ cp -r ${DATA} ${DATADIR}