diff options
author | minskim <minskim> | 2004-12-13 23:18:12 +0000 |
---|---|---|
committer | minskim <minskim> | 2004-12-13 23:18:12 +0000 |
commit | c5a8a568159ed76f62fada0c3113dd85bbf7a90c (patch) | |
tree | 996601940832f134feeb379bbfc1a311a9d5a6b4 /mail/bmf | |
parent | d58e5e7e9020ac1b092f0b1945928f94ba3d5d4f (diff) | |
download | pkgsrc-c5a8a568159ed76f62fada0c3113dd85bbf7a90c.tar.gz |
Use BSD_INSTALL_* instead of mkdir/cp to set ownership and permission
of installed files correctly.
Diffstat (limited to 'mail/bmf')
-rw-r--r-- | mail/bmf/distinfo | 4 | ||||
-rw-r--r-- | mail/bmf/patches/patch-ab | 32 |
2 files changed, 30 insertions, 6 deletions
diff --git a/mail/bmf/distinfo b/mail/bmf/distinfo index 845c14c9e50..fafcc70b081 100644 --- a/mail/bmf/distinfo +++ b/mail/bmf/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.2 2002/10/25 14:18:13 mjl Exp $ +$NetBSD: distinfo,v 1.3 2004/12/13 23:18:12 minskim Exp $ SHA1 (bmf-0.9.4.tar.gz) = d0b7ab253a531a533fefc6bc0691cc7af7ccea79 Size (bmf-0.9.4.tar.gz) = 36740 bytes SHA1 (patch-aa) = 2dccc61f00373e67868bdc8e49e791e7b41fa8c0 -SHA1 (patch-ab) = 453971a7be6d6e2b53a0e99a3b1ab64f7b161416 +SHA1 (patch-ab) = 3975eed6acd129f292631bcb2ddc6916b079e3e7 diff --git a/mail/bmf/patches/patch-ab b/mail/bmf/patches/patch-ab index 906eefb06f5..a52b0b3c3ad 100644 --- a/mail/bmf/patches/patch-ab +++ b/mail/bmf/patches/patch-ab @@ -1,11 +1,35 @@ -$NetBSD: patch-ab,v 1.2 2002/10/25 14:18:14 mjl Exp $ +$NetBSD: patch-ab,v 1.3 2004/12/13 23:18:12 minskim Exp $ ---- Makefile.in.orig Sun Oct 20 22:27:56 2002 -+++ Makefile.in Fri Oct 25 16:01:40 2002 -@@ -2,4 +2,4 @@ +--- Makefile.in.orig 2002-10-20 15:27:56.000000000 -0500 ++++ Makefile.in +@@ -1,7 +1,7 @@ + # Makefile for bmf -BINDIR=/usr/bin -MANDIR=/usr/share/man +BINDIR?=/usr/bin +MANDIR?=/usr/share/man + VERSION=0.9.4 + +@@ -30,13 +30,13 @@ bmfconv: bmfconv.o dbmysql.o dbdb.o dbte + bmfconv.o: bmfconv.c + $(CC) $(CFLAGS) -DPACKAGE=\"bmfconv\" -DVERSION=\"$(VERSION)\" -c $< + +-install: checkroot bmf bmf.1 bmfconv bmfconv.1 +- [ -d $(DESTDIR)$(BINDIR) ] || mkdir -p $(DESTDIR)$(BINDIR) +- [ -d $(DESTDIR)$(MANDIR)/man1 ] || mkdir -p $(DESTDIR)$(MANDIR)/man1 +- cp bmf $(DESTDIR)$(BINDIR) +- cp bmf.1 $(DESTDIR)$(MANDIR)/man1 +- cp bmfconv $(DESTDIR)$(BINDIR) +- cp bmfconv.1 $(DESTDIR)$(MANDIR)/man1 ++install: bmf bmf.1 bmfconv bmfconv.1 ++ $(BSD_INSTALL_PROGRAM_DIR) $(DESTDIR)$(BINDIR) ++ $(BSD_INSTALL_MAN_DIR) $(DESTDIR)$(MANDIR)/man1 ++ $(BSD_INSTALL_PROGRAM) bmf $(DESTDIR)$(BINDIR) ++ $(BSD_INSTALL_MAN) bmf.1 $(DESTDIR)$(MANDIR)/man1 ++ $(BSD_INSTALL_PROGRAM) bmfconv $(DESTDIR)$(BINDIR) ++ $(BSD_INSTALL_MAN) bmfconv.1 $(DESTDIR)$(MANDIR)/man1 + + uninstall: checkroot + rm -f $(DESTDIR)$(BINDIR)/bmf |