mirror of https://git.freebsd.org/ports.git
sysutils/b43-fwcutter: install the manpage under $PREFIX/share/man
While here, drop needless ``install -d'' commands from the `install' target recipe which are created as part of standard stage hierarchy.2024Q2
parent
d50b8ca7a8
commit
76675a9a41
|
@ -14,7 +14,6 @@ USES= gmake tar:bzip2
|
|||
|
||||
MAKE_ARGS= V=1
|
||||
|
||||
PLIST_FILES= bin/b43-fwcutter \
|
||||
man/man1/b43-fwcutter.1.gz
|
||||
PLIST_FILES= bin/b43-fwcutter share/man/man1/b43-fwcutter.1.gz
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- Makefile.orig 2011-08-21 20:17:01.000000000 +0800
|
||||
+++ Makefile 2014-02-21 09:40:52.782172201 +0800
|
||||
@@ -51,10 +51,10 @@
|
||||
--- Makefile.orig 2014-06-25 14:04:20 UTC
|
||||
+++ Makefile
|
||||
@@ -51,10 +51,8 @@ $(BIN): $(call OBJS,$(SRCS))
|
||||
$(QUIET_CC) $(CFLAGS) -o $(BIN) $(call OBJS,$(SRCS)) $(LDFLAGS)
|
||||
|
||||
install: all
|
||||
|
@ -8,10 +8,8 @@
|
|||
- install -o 0 -g 0 -m 755 $(BIN) $(PREFIX)/bin/
|
||||
- install -d -o 0 -g 0 -m 755 $(PREFIX)/man/man1/
|
||||
- install -o 0 -g 0 -m 644 $(BIN).1 $(PREFIX)/man/man1/
|
||||
+ install -d -m 755 $(DESTDIR)$(PREFIX)/bin/
|
||||
+ $(BSD_INSTALL_PROGRAM) $(BIN) $(DESTDIR)$(PREFIX)/bin/
|
||||
+ install -d -m 755 $(DESTDIR)$(PREFIX)/man/man1/
|
||||
+ $(BSD_INSTALL_MAN) $(BIN).1 $(DESTDIR)$(PREFIX)/man/man1/
|
||||
+ $(BSD_INSTALL_PROGRAM) $(BIN) $(DESTDIR)$(PREFIX)/bin
|
||||
+ $(BSD_INSTALL_MAN) $(BIN).1 $(DESTDIR)$(PREFIX)/share/man/man1
|
||||
|
||||
clean:
|
||||
-rm -Rf obj dep *.orig *.rej *~
|
||||
|
|
Loading…
Reference in New Issue