diff options
author | minskim <minskim@pkgsrc.org> | 2005-05-29 05:57:20 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2005-05-29 05:57:20 +0000 |
commit | d092625f7ab068cc992035b51f4fe246cd14e0be (patch) | |
tree | fe8927a8f17e419ef17715bea9e8e1f41d814c0b /mail/mush | |
parent | 171b30288ea38b36bc621dc81c9d670d63aa00bb (diff) | |
download | pkgsrc-d092625f7ab068cc992035b51f4fe246cd14e0be.tar.gz |
Correct installation directories and use BSD_INSTALL_* to set
permission correctly.
Diffstat (limited to 'mail/mush')
-rw-r--r-- | mail/mush/distinfo | 4 | ||||
-rw-r--r-- | mail/mush/patches/patch-ao | 34 |
2 files changed, 31 insertions, 7 deletions
diff --git a/mail/mush/distinfo b/mail/mush/distinfo index 502f04f7fe2..1331b33d95b 100644 --- a/mail/mush/distinfo +++ b/mail/mush/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.7 2005/05/29 05:45:58 minskim Exp $ +$NetBSD: distinfo,v 1.8 2005/05/29 05:57:20 minskim Exp $ SHA1 (mush/mush-7.2.5.tar.Z) = 1b9b54b368b9a748401b1baeb3b3eba5a9ed2c03 RMD160 (mush/mush-7.2.5.tar.Z) = 32e010f544f79cc1a0f899d722d465975d552a4e @@ -38,4 +38,4 @@ SHA1 (patch-ak) = 47a3a7dc405a654db3a7d76f80d71af98e9501cb SHA1 (patch-al) = 4d0c9ff2a6a8c3c1d59a81b659ed3599881cc762 SHA1 (patch-am) = 2af4636ebd0168d06711abff5f05ffbf0e1868a8 SHA1 (patch-an) = a750c02339df8a161f3c3c8cf33aa6411f1aa2bd -SHA1 (patch-ao) = f48b3cc63489fcbb61e21f1b44f4a755595faada +SHA1 (patch-ao) = e5b28c4a761c1bc1bba195c5dc6ff332cad51f67 diff --git a/mail/mush/patches/patch-ao b/mail/mush/patches/patch-ao index 84e55dcb9e4..904d22e6f71 100644 --- a/mail/mush/patches/patch-ao +++ b/mail/mush/patches/patch-ao @@ -1,6 +1,6 @@ -$NetBSD: patch-ao,v 1.1 2005/05/29 05:45:58 minskim Exp $ +$NetBSD: patch-ao,v 1.2 2005/05/29 05:57:20 minskim Exp $ ---- makefile.linux.orig 2005-05-29 00:37:30.610283960 -0500 +--- makefile.linux.orig 2005-05-29 00:51:20.300151928 -0500 +++ makefile.linux @@ -30,9 +30,9 @@ DEBUG=-O6 # apparently has the ncurses library installed as -lcurses, whereas the latter @@ -14,12 +14,36 @@ $NetBSD: patch-ao,v 1.1 2005/05/29 05:45:58 minskim Exp $ LIBS= -lncurses -ltermcap #LIBS= -lcurses -ltermcap #LIBS= -lcurses -@@ -50,7 +50,7 @@ $(OBJS2): $(HDRS1) $(HDRS2) $(HDRS3) +@@ -50,24 +50,20 @@ $(OBJS2): $(HDRS1) $(HDRS2) $(HDRS3) loop.o: version.h #PREFIX= /usr/packages/mush -PREFIX= /usr +#PREFIX= /usr BINDIR= $(PREFIX)/bin - LIBDIR= $(PREFIX)/lib - MRCDIR= $(PREFIX)/lib +-LIBDIR= $(PREFIX)/lib +-MRCDIR= $(PREFIX)/lib ++LIBDIR= $(PREFIX)/share/misc ++MRCDIR= $(PREFIX)/share/misc + MANDIR= $(PREFIX)/man/man1 + MANEXT= 1 + + install: mush + -mkdir $(PREFIX) $(PREFIX)/{bin,lib,man,man/man1} +- cp mush $(BINDIR) +- strip $(BINDIR)/mush +- chmod 0755 $(BINDIR)/mush +- cp mush.1 $(MANDIR)/mush.$(MANEXT) +- chmod 0644 $(MANDIR)/mush.$(MANEXT) +- cp cmd_help $(LIBDIR) +- chmod 0644 $(LIBDIR)/cmd_help +- cp Mushrc $(MRCDIR)/Mushrc +- chmod 0644 $(MRCDIR)/Mushrc ++ $(BSD_INSTALL_PROGRAM) mush $(BINDIR) ++ $(BSD_INSTALL_MAN) mush.1 $(MANDIR)/mush.$(MANEXT) ++ $(BSD_INSTALL_DATA_DIR) $(LIBDIR) ++ $(BSD_INSTALL_DATA) cmd_help $(LIBDIR) ++ $(BSD_INSTALL_DATA) Mushrc $(MRCDIR)/Mushrc + + clean: + rm -f *.o *~ core TAGS tags a.out mush |