aboutsummaryrefslogtreecommitdiff
path: root/sysutils/downtime
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-06-26 16:29:09 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-06-26 16:29:09 +0000
commit67eeb6b46e26cbf2a5bfb9a585f0d1750a7d4297 (patch)
tree3b3d217898b78edd0d4022ea6bd297e54e2ecc60 /sysutils/downtime
parentfffc1aedbc8431f402f9a2a07d82728482f07420 (diff)
downloadports-67eeb6b46e26cbf2a5bfb9a585f0d1750a7d4297.tar.gz
ports-67eeb6b46e26cbf2a5bfb9a585f0d1750a7d4297.zip
Notes
Diffstat (limited to 'sysutils/downtime')
-rw-r--r--sysutils/downtime/Makefile4
-rw-r--r--sysutils/downtime/files/patch-Makefile23
-rw-r--r--sysutils/downtime/pkg-plist3
3 files changed, 24 insertions, 6 deletions
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 <bsd.port.mk>
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