Stagify.
Approved by: portmgr@ (blanket approval)
This commit is contained in:
parent
fffc1aedbc
commit
67eeb6b46e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359388
3 changed files with 24 additions and 6 deletions
|
@ -13,8 +13,4 @@ COMMENT= A GTK-based shutdown manager using shutdown(8)
|
|||
USES= desktop-file-utils pkgconfig shared-mime-info
|
||||
USE_GNOME= gtk20
|
||||
|
||||
MAN1= downtime.1
|
||||
MANCOMPRESSED= yes
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.mk>
|
||||
|
|
23
sysutils/downtime/files/patch-Makefile
Normal file
23
sysutils/downtime/files/patch-Makefile
Normal file
|
@ -0,0 +1,23 @@
|
|||
--- 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
|
||||
+ $(INSTALL) -c -g $(GROUP) -o $(OWNER) -m 755 downtime $(DESTDIR)$(PREFIX)/bin
|
||||
+ $(INSTALL) -c -g $(GROUP) -o $(OWNER) -m 444 downtime.1.gz $(DESTDIR)$(PREFIX)/man/man1
|
||||
+ $(INSTALL) -c -d -g $(GROUP) -o $(OWNER) -m 755 $(DESTDIR)$(PREFIX)/share/applications
|
||||
+ $(INSTALL) -c -g $(GROUP) -o $(OWNER) -m 444 downtime.desktop $(DESTDIR)$(PREFIX)/share/applications
|
||||
+ $(INSTALL) -c -d -g $(GROUP) -o $(OWNER) -m 755 $(DESTDIR)$(PREFIX)/share/mime/packages
|
||||
+ $(INSTALL) -c -g $(GROUP) -o $(OWNER) -m 444 downtime.xml $(DESTDIR)$(PREFIX)/share/mime/packages
|
||||
|
||||
clean:
|
||||
-rm $(OBJS) *.core *~ downtime downtime.1.gz downtime-*.tar.gz
|
|
@ -1,5 +1,4 @@
|
|||
bin/downtime
|
||||
man/man1/downtime.1.gz
|
||||
share/applications/downtime.desktop
|
||||
share/mime/packages/downtime.xml
|
||||
@dirrmtry share/mime/packages
|
||||
@dirrmtry share/mime
|
||||
|
|
Loading…
Reference in a new issue