diff options
author | khorben <khorben@pkgsrc.org> | 2013-11-06 00:35:19 +0000 |
---|---|---|
committer | khorben <khorben@pkgsrc.org> | 2013-11-06 00:35:19 +0000 |
commit | 44c3df98f7d9ff930b951b9d6bec0c5cd16b79da (patch) | |
tree | 645f2b9e5e6317b142aec569869b9022cf485173 /time/wmitime/patches | |
parent | 53cb152b28b526dd35a84e45126ab3b070625aa8 (diff) | |
download | pkgsrc-44c3df98f7d9ff930b951b9d6bec0c5cd16b79da.tar.gz |
Added time/wmitime at version 0.3nb3 (as found in wip)
Windowmaker dockapp showing time, date and itime. Digital and analog time
displays. Works under fluxbox/blackbox window managers.
Diffstat (limited to 'time/wmitime/patches')
-rw-r--r-- | time/wmitime/patches/patch-aa | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/time/wmitime/patches/patch-aa b/time/wmitime/patches/patch-aa new file mode 100644 index 00000000000..eb9339179db --- /dev/null +++ b/time/wmitime/patches/patch-aa @@ -0,0 +1,29 @@ +$NetBSD: patch-aa,v 1.1 2013/11/06 00:35:20 khorben Exp $ + +Implements PKG_DESTDIR_SUPPORT + +--- Makefile.orig 1999-03-29 03:51:39.000000000 +0000 ++++ Makefile +@@ -1,7 +1,7 @@ +-#LANG = fr +-LIBDIR = -L/usr/X11R6/lib ++LANG = en ++LIBDIR = ${LDFLAGS} + LIBS = -lXpm -lXext -lX11 -lm +-FLAGS = -O2 ++FLAGS = -O2 ${BUILDLINK_CPPFLAGS} + OBJS = wmitime.o \ + ../wmgeneral/wmgeneral.o \ + ../wmgeneral/misc.o \ +@@ -24,9 +24,8 @@ clean:: + rm -f *~ + + install:: wmitime +- cp -f wmitime /usr/local/bin/ +- chmod 755 /usr/local/bin/wmitime +- chown root:root /usr/local/bin/wmitime ++ mkdir -p $(DESTDIR)$(PREFIX)/bin ++ install -m 755 wmitime $(DESTDIR)$(PREFIX)/bin/wmitime + # cp wminetrc $(HOME)/.wminetrc + # chmod 600 $(HOME)/.wminetrc + # cp wminetrc /etc/wminetrc |