use BSD_INSTALL_SCRIPT instead of BSD_INSTALL_DATA for a shell script

This commit is contained in:
dmcmahill 2010-03-08 17:30:23 +00:00
parent a374da3092
commit 70f4fd80e9
2 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.16 2010/01/17 12:02:06 wiz Exp $
# $NetBSD: Makefile,v 1.17 2010/03/08 17:30:23 dmcmahill Exp $
DISTNAME= ejabberd-2.1.1
PKGREVISION= 1
PKGREVISION= 2
CATEGORIES= chat
MASTER_SITES= http://www.process-one.net/downloads/ejabberd/2.1.1/

View file

@ -1,4 +1,4 @@
$NetBSD: patch-aa,v 1.5 2009/12/15 13:30:54 fhajny Exp $
$NetBSD: patch-aa,v 1.6 2010/03/08 17:30:23 dmcmahill Exp $
--- src/Makefile.in.orig 2009-11-06 19:53:19.000000000 +0000
+++ src/Makefile.in
@ -72,7 +72,7 @@ $NetBSD: patch-aa,v 1.5 2009/12/15 13:30:54 fhajny Exp $
- [ -d $(SBINDIR) ] || install -d -m 755 $(SBINDIR)
- install -m 550 $(G_USER) ejabberdctl.example $(SBINDIR)/ejabberdctl
+ [ -d $(SBINDIR) ] || $(BSD_INSTALL_DATA_DIR) -m 755 $(SBINDIR)
+ $(BSD_INSTALL_DATA) -m 550 $(G_USER) ejabberdctl.example $(SBINDIR)/ejabberdctl
+ $(BSD_INSTALL_SCRIPT) -m 550 $(G_USER) ejabberdctl.example $(SBINDIR)/ejabberdctl
#
# Init script
sed -e "s*@ctlscriptpath@*$(SBINDIR)*" \