diff options
author | joerg <joerg@pkgsrc.org> | 2010-02-04 02:31:29 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-02-04 02:31:29 +0000 |
commit | f5ebf945e1d56df7d92a2fd828af623b23169e73 (patch) | |
tree | 87809cbb157a633cf256f8b100cb8fa1dfb4e8c7 /mail/mush | |
parent | 09fee1cf828c3981e784db30d40cba9a8ff16f1f (diff) | |
download | pkgsrc-f5ebf945e1d56df7d92a2fd828af623b23169e73.tar.gz |
DESTDIR support
Diffstat (limited to 'mail/mush')
-rw-r--r-- | mail/mush/Makefile | 6 | ||||
-rw-r--r-- | mail/mush/distinfo | 4 | ||||
-rw-r--r-- | mail/mush/patches/patch-ag | 19 |
3 files changed, 13 insertions, 16 deletions
diff --git a/mail/mush/Makefile b/mail/mush/Makefile index 771dfbf00b7..90a5f67f3cf 100644 --- a/mail/mush/Makefile +++ b/mail/mush/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2009/05/19 08:59:22 wiz Exp $ +# $NetBSD: Makefile,v 1.21 2010/02/04 02:35:08 joerg Exp $ DISTNAME= mush-7.2.5 PKGNAME= mush-7.2.6.b4.pl1 @@ -21,6 +21,8 @@ MAINTAINER= christos@NetBSD.org COMMENT= Text-based mail client LICENSE= mush-license +PKG_DESTDIR_SUPPORT= user-destdir + RESTRICTED= Unmodified source may be distributed but not sold. NO_BIN_ON_FTP= ${RESTRICTED} NO_SRC_ON_CDROM= ${RESTRICTED} @@ -30,7 +32,7 @@ WRKSRC= ${WRKDIR} DIST_SUBDIR= mush BUILD_TARGET= mush -INSTALLATION_DIRS= bin share/misc +INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/misc .include "../../mk/bsd.prefs.mk" diff --git a/mail/mush/distinfo b/mail/mush/distinfo index e603ea2cc8a..31864387e84 100644 --- a/mail/mush/distinfo +++ b/mail/mush/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.10 2006/01/08 17:04:58 joerg Exp $ +$NetBSD: distinfo,v 1.11 2010/02/04 02:35:08 joerg Exp $ SHA1 (mush/mush-7.2.5.tar.Z) = 1b9b54b368b9a748401b1baeb3b3eba5a9ed2c03 RMD160 (mush/mush-7.2.5.tar.Z) = 32e010f544f79cc1a0f899d722d465975d552a4e @@ -30,7 +30,7 @@ SHA1 (patch-ac) = 963ce2cc9e30a2cd5e7e63edbe09692a880d8d5b SHA1 (patch-ad) = 2bcbd8e6e052d1549d4eb5201ec10f5ff3fd3051 SHA1 (patch-ae) = 2923fa751a0e3dba13bc711694285973225e21b6 SHA1 (patch-af) = 1df2f9fb0b536cc30f94ba357a5de9fe11bbf941 -SHA1 (patch-ag) = dce8cf449bca506d2d478a9b925aa4b80b34f6d6 +SHA1 (patch-ag) = 19a580901c94dfc30deb7945050a45acd1d2b444 SHA1 (patch-ah) = ddd684d8de13fd2f338c506254229fa63cca9e94 SHA1 (patch-ai) = 5659b2d975f86e856d1bf6efb8909bc08ec2acf4 SHA1 (patch-aj) = fee38b6e855a6494ecef0e41e2602850d1b58746 diff --git a/mail/mush/patches/patch-ag b/mail/mush/patches/patch-ag index 9887f12edea..2fb6dc17766 100644 --- a/mail/mush/patches/patch-ag +++ b/mail/mush/patches/patch-ag @@ -1,10 +1,10 @@ -$NetBSD: patch-ag,v 1.3 2006/01/08 17:04:58 joerg Exp $ +$NetBSD: patch-ag,v 1.4 2010/02/04 02:35:08 joerg Exp $ *** /dev/null Fri Sep 4 13:38:54 1998 --- makefile.netbsd Fri Sep 4 13:36:36 1998 *************** *** 0 **** ---- 1,76 ---- +--- 1,71 ---- + # makefile.netbsd + # + HDRS= mush.h config.h-dist strings.h bindings.h options.h version.h glob.h pop.h @@ -26,7 +26,7 @@ $NetBSD: patch-ag,v 1.3 2006/01/08 17:04:58 joerg Exp $ + + MAKES= makefile.bsdi makefile.bsd makefile.xenix makefile.sys.v makefile.hpux makefile.sun makefile.solaris makefile.freebsd + -+ CFLAGS= -O2 -DPOSIX -DCURSES -DBSD -DBSD44 -DSIGRET=void -DBASENAME -DENV_MAIL -DMSGS_DYNAMIC ++ CFLAGS+= -DPOSIX -DCURSES -DBSD -DBSD44 -DSIGRET=void -DBASENAME -DENV_MAIL -DMSGS_DYNAMIC + LDFLAGS= + LINTFLAGS= -bxah -Dlint -DCURSES -DBSD + LIBS= -lcurses -ltermlib @@ -66,15 +66,10 @@ $NetBSD: patch-ag,v 1.3 2006/01/08 17:04:58 joerg Exp $ + MANEXT= 1 + + install: mush -+ cp mush $(BINDIR) -+ strip $(BINDIR)/mush -+ chmod 0755 $(BINDIR)/mush -+ cp cmd_help $(LIBDIR) -+ chmod 0644 $(LIBDIR)/cmd_help -+ cp Mushrc $(MRCDIR)/Mushrc -+ chmod 0644 $(MRCDIR)/Mushrc -+ cp mush.1 $(MANDIR)/mush.$(MANEXT) -+ chmod 0644 $(MANDIR)/mush.$(MANEXT) ++ ${BSD_INSTALL_PROGRAM} mush ${DESTDIR}$(BINDIR) ++ ${BSD_INSTALL_DATA} cmd_help ${DESTDIR}$(LIBDIR) ++ ${BSD_INSTALL_DATA} Mushrc ${DESTDIR}$(MRCDIR)/Mushrc ++ ${BSD_INSTALL_MAN} mush.1 ${DESTDIR}$(MANDIR)/mush.$(MANEXT) + + + glob: glob.c |