From 67eeb6b46e26cbf2a5bfb9a585f0d1750a7d4297 Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Thu, 26 Jun 2014 16:29:09 +0000 Subject: Stagify. Approved by: portmgr@ (blanket approval) --- sysutils/downtime/Makefile | 4 ---- sysutils/downtime/files/patch-Makefile | 23 +++++++++++++++++++++++ sysutils/downtime/pkg-plist | 3 +-- 3 files changed, 24 insertions(+), 6 deletions(-) create mode 100644 sysutils/downtime/files/patch-Makefile (limited to 'sysutils/downtime') diff --git a/sysutils/downtime/Makefile b/sysutils/downtime/Makefile index 2843a14f34ba..aa981631ba5d 100644 --- a/sysutils/downtime/Makefile +++ b/sysutils/downtime/Makefile @@ -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 diff --git a/sysutils/downtime/files/patch-Makefile b/sysutils/downtime/files/patch-Makefile new file mode 100644 index 000000000000..8feb95ed2dd2 --- /dev/null +++ b/sysutils/downtime/files/patch-Makefile @@ -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 diff --git a/sysutils/downtime/pkg-plist b/sysutils/downtime/pkg-plist index 9e6039b6c3b0..de51e23dae53 100644 --- a/sysutils/downtime/pkg-plist +++ b/sysutils/downtime/pkg-plist @@ -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 -- cgit v1.2.3