1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/databases/useracc/files/patch-Makefile
Vanilla I. Shu a76b81ad55 1: Support staging.
2: make portlint happy.

Approved by:	portmgr@
2014-05-16 15:02:06 +00:00

22 lines
1.1 KiB
Plaintext

--- Makefile.orig 2014-05-16 22:58:38.350622720 +0800
+++ Makefile 2014-05-16 22:59:10.972611338 +0800
@@ -57,12 +57,12 @@ deinstall:
-$(RMDIR) -p $(PREFIX)/man/man1
install:
- $(INSTALL) -d -g wheel -m 755 -o root $(PREFIX)/bin
- $(INSTALL) -c -g wheel -m 555 -o root -s bin/useracc $(PREFIX)/bin
- $(INSTALL) -d -g wheel -m 755 -o root $(PREFIX)/etc/rc.d
- $(INSTALL) -c -g wheel -m 555 -o root etc/useracc.sh.sample $(PREFIX)/etc/rc.d
- $(INSTALL) -d -g wheel -m 755 -o root $(PREFIX)/man/man1
- $(INSTALL) -c -g wheel -m 444 -o root man/useracc.1.gz $(PREFIX)/man/man1
+ $(INSTALL) -d -g wheel -m 755 -o root $(DESTDIR)$(PREFIX)/bin
+ $(INSTALL) -c -g wheel -m 555 -o root -s bin/useracc $(DESTDIR)$(PREFIX)/bin
+ $(INSTALL) -d -g wheel -m 755 -o root $(DESTDIR)$(PREFIX)/etc/rc.d
+ $(INSTALL) -c -g wheel -m 555 -o root etc/useracc.sh.sample $(DESTDIR)$(PREFIX)/etc/rc.d
+ $(INSTALL) -d -g wheel -m 755 -o root $(DESTDIR)$(PREFIX)/man/man1
+ $(INSTALL) -c -g wheel -m 444 -o root man/useracc.1.gz $(DESTDIR)$(PREFIX)/man/man1
useracc: useracc.o
$(CC) $(CFLAGS) useracc.o $(LDFLAGS) -o $@