mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
24 lines
1.2 KiB
Plaintext
24 lines
1.2 KiB
Plaintext
--- Makefile.orig 2014-06-27 00:24:57.523166764 +0800
|
|
+++ Makefile 2014-06-27 00:25:40.243185312 +0800
|
|
@@ -19,14 +19,12 @@ downtime.1.gz: downtime.1
|
|
gzip -c downtime.1 > downtime.1.gz
|
|
|
|
install: all
|
|
- $(INSTALL) -c -g $(GROUP) -o $(OWNER) -m 755 downtime $(PREFIX)/bin
|
|
- $(INSTALL) -c -g $(GROUP) -o $(OWNER) -m 444 downtime.1.gz $(PREFIX)/man/man1
|
|
- $(INSTALL) -c -d -g $(GROUP) -o $(OWNER) -m 755 $(PREFIX)/share/applications
|
|
- $(INSTALL) -c -g $(GROUP) -o $(OWNER) -m 444 downtime.desktop $(PREFIX)/share/applications
|
|
- $(INSTALL) -c -d -g $(GROUP) -o $(OWNER) -m 755 $(PREFIX)/share/mime/packages
|
|
- $(INSTALL) -c -g $(GROUP) -o $(OWNER) -m 444 downtime.xml $(PREFIX)/share/mime/packages
|
|
- update-mime-database $(PREFIX)/share/mime
|
|
- update-desktop-database $(PREFIX)/share/applications
|
|
+ $(BSD_INSTALL_PROGRAM) downtime $(DESTDIR)$(PREFIX)/bin
|
|
+ $(BSD_INSTALL_MAN) downtime.1.gz $(DESTDIR)$(PREFIX)/man/man1
|
|
+ $(INSTALL) -c -d -m 755 $(DESTDIR)$(PREFIX)/share/applications
|
|
+ $(BSD_INSTALL_DATA) downtime.desktop $(DESTDIR)$(PREFIX)/share/applications
|
|
+ $(INSTALL) -c -d -m 755 $(DESTDIR)$(PREFIX)/share/mime/packages
|
|
+ $(BSD_INSTALL_DATA) downtime.xml $(DESTDIR)$(PREFIX)/share/mime/packages
|
|
|
|
clean:
|
|
-rm $(OBJS) *.core *~ downtime downtime.1.gz downtime-*.tar.gz
|