pkgsrc/sysutils/wipe/patches/patch-aa
2010-01-27 20:28:15 +00:00

27 lines
925 B
Text

$NetBSD: patch-aa,v 1.2 2010/01/27 20:37:48 joerg Exp $
--- Makefile.in.orig 2003-08-30 20:18:03.000000000 -0500
+++ Makefile.in
@@ -57,15 +57,15 @@ info: $(BIN_OUT)
@ldd $(BIN_OUT)
install: $(BIN_OUT)
- $(INSTALL_BIN) -d $(bindir)
- $(INSTALL_BIN) -s $(BIN_OUT) $(bindir)
- $(INSTALL) -d $(mandir)/man1
- $(INSTALL) -o root -m 0644 wipe.1 $(mandir)/man1/
+ $(BSD_INSTALL_PROGRAM_DIR) ${DESTDIR}$(bindir)
+ $(BSD_INSTALL_PROGRAM) $(BIN_OUT) ${DESTDIR}$(bindir)
+ $(BSD_INSTALL_MAN_DIR) ${DESTDIR}$(mandir)/man1
+ $(BSD_INSTALL_MAN) wipe.1 ${DESTDIR}$(mandir)/man1/
- rm -rf $(datadir)/doc/wipe*
+ rm -rf ${DESTDIR}$(datadir)/doc/wipe*
- $(INSTALL) -d $(datadir)/doc/wipe
+ $(BSD_INSTALL_DATA_DIR) ${DESTDIR}$(datadir)/doc/wipe
for file in $(DOCS); do \
- $(INSTALL) -o root -m 0644 $$file $(datadir)/doc/wipe/; \
+ $(BSD_INSTALL_DATA) $$file ${DESTDIR}$(datadir)/doc/wipe/; \
done
install_home: $(BIN_OUT)