summaryrefslogtreecommitdiff
path: root/time/asclock-gtk
diff options
context:
space:
mode:
Diffstat (limited to 'time/asclock-gtk')
-rw-r--r--time/asclock-gtk/Makefile40
-rw-r--r--time/asclock-gtk/files/md53
-rw-r--r--time/asclock-gtk/files/patch-sum3
-rw-r--r--time/asclock-gtk/patches/patch-aa24
-rw-r--r--time/asclock-gtk/pkg/COMMENT1
-rw-r--r--time/asclock-gtk/pkg/DESCR5
-rw-r--r--time/asclock-gtk/pkg/PLIST4
-rw-r--r--time/asclock-gtk/pkg/PLIST.themes100
8 files changed, 180 insertions, 0 deletions
diff --git a/time/asclock-gtk/Makefile b/time/asclock-gtk/Makefile
new file mode 100644
index 00000000000..bb376c5c725
--- /dev/null
+++ b/time/asclock-gtk/Makefile
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/17 23:32:13 wiz Exp $
+#
+
+DISTNAME= asclock-gtk-2.1.10beta
+PKGNAME= asclock-gtk-2.1.10
+WRKSRC= ${WRKDIR}/asclock-gtk
+CATEGORIES= x11 time
+MASTER_SITES= http://www.asclock.org/tar/
+
+MAINTAINER= jlam@netbsd.org
+HOMEPAGE= http://www.asclock.org/
+
+DEPENDS+= gtk+-1.2.*:../../x11/gtk
+
+USE_X11BASE= yes
+
+PLIST_SRC= ${PKGDIR}/PLIST \
+ ${PKGDIR}/PLIST.themes
+
+ALL_TARGET= asclock
+
+EVAL_PREFIX+= GTKDIR=gtk+
+MAKE_ENV+= CONFIG_PATH="${GTKDIR}/bin/" # for gtk-config
+
+pre-configure:
+ cd ${WRKSRC}; ${LN} -sf themes/classic default_theme
+
+pre-install:
+ ${RM} -f ${WRKSRC}/themes/Freeamp/Makefile*
+ ${RM} -rf ${WRKSRC}/themes/themes
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/asclock ${PREFIX}/bin/asclock-gtk
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/asclock-gtk
+ ${INSTALL_DATA} ${WRKSRC}/README.THEMES ${PREFIX}/share/doc/asclock-gtk
+ ${MKDIR} ${PREFIX}/share/asclock-gtk
+ ${CP} -R ${WRKSRC}/themes/* ${PREFIX}/share/asclock-gtk
+ ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/asclock-gtk
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/asclock-gtk/files/md5 b/time/asclock-gtk/files/md5
new file mode 100644
index 00000000000..634769db28d
--- /dev/null
+++ b/time/asclock-gtk/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/12/17 23:32:13 wiz Exp $
+
+MD5 (asclock-gtk-2.1.10beta.tar.gz) = afa682d7954cb4d5c443202ffdd04b17
diff --git a/time/asclock-gtk/files/patch-sum b/time/asclock-gtk/files/patch-sum
new file mode 100644
index 00000000000..3f386cf386b
--- /dev/null
+++ b/time/asclock-gtk/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/12/17 23:32:13 wiz Exp $
+
+MD5 (patch-aa) = 8be133f8928190cf0f9c1ec973b17df9
diff --git a/time/asclock-gtk/patches/patch-aa b/time/asclock-gtk/patches/patch-aa
new file mode 100644
index 00000000000..81f5d13b557
--- /dev/null
+++ b/time/asclock-gtk/patches/patch-aa
@@ -0,0 +1,24 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/12/17 23:32:13 wiz Exp $
+
+--- ./Makefile.orig Fri Mar 26 02:08:33 1999
++++ ./Makefile Thu Oct 7 04:41:07 1999
+@@ -1,16 +1,16 @@
+ CP=cp -f
+ MKDIR=mkdir -p
+
+-CFLAGS = -Wall -g
++CFLAGS = -Wall
+
+-GNOME_CC = gcc $(CFLAGS) -DASCLOCK_THEMES_DIR=\""/usr/local/share/asclock"\" \
++GNOME_CC = $(CC) $(CFLAGS) -DASCLOCK_THEMES_DIR=\""${PREFIX}/share/asclock-gtk/"\" \
+ -DASCLOCK_GNOME `gnome-config --cflags gnomeui gnome gtk`
+ GNOME_OBJS = .gnome/draw.o .gnome/asclock.o .gnome/config.o .gnome/rot.o .gnome/parser.o \
+ .gnome/symbols.o .gnome/dialogs.o .gnome/timezone.o .gnome/gnome_config.o
+
+ GNOME_LIBS = -lpanel -lpanel_applet `gnome-config --libs gnomeui gnome gtk gnorba`
+
+-GTK_CC = gcc $(CFLAGS) -DASCLOCK_THEMES_DIR=\""/usr/local/share/asclock"\" \
++GTK_CC = $(CC) $(CFLAGS) -DASCLOCK_THEMES_DIR=\""${PREFIX}/share/asclock-gtk/"\" \
+ -DASCLOCK_GTK `$(CONFIG_PATH)gtk-config --cflags`
+ GTK_OBJS = .gtk/draw.o .gtk/asclock.o .gtk/config.o .gtk/rot.o .gtk/parser.o .gtk/symbols.o
+ GTK_LIBS = `$(CONFIG_PATH)gtk-config --libs`
diff --git a/time/asclock-gtk/pkg/COMMENT b/time/asclock-gtk/pkg/COMMENT
new file mode 100644
index 00000000000..7b2cead1dad
--- /dev/null
+++ b/time/asclock-gtk/pkg/COMMENT
@@ -0,0 +1 @@
+dockable clock and calendar with themes for GTK+
diff --git a/time/asclock-gtk/pkg/DESCR b/time/asclock-gtk/pkg/DESCR
new file mode 100644
index 00000000000..5adfd3c5f12
--- /dev/null
+++ b/time/asclock-gtk/pkg/DESCR
@@ -0,0 +1,5 @@
+ASClock is a dockable clock and calendar application with themes which
+supports multiple languages, military and AM/PM time formats, and
+program execution.
+
+This version of asclock is an GTK+ application.
diff --git a/time/asclock-gtk/pkg/PLIST b/time/asclock-gtk/pkg/PLIST
new file mode 100644
index 00000000000..afae5a1bdc7
--- /dev/null
+++ b/time/asclock-gtk/pkg/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/17 23:32:14 wiz Exp $
+bin/asclock-gtk
+share/doc/asclock-gtk/README.THEMES
+@dirrm share/doc/asclock-gtk
diff --git a/time/asclock-gtk/pkg/PLIST.themes b/time/asclock-gtk/pkg/PLIST.themes
new file mode 100644
index 00000000000..d11d71ec76a
--- /dev/null
+++ b/time/asclock-gtk/pkg/PLIST.themes
@@ -0,0 +1,100 @@
+@comment $NetBSD: PLIST.themes,v 1.1.1.1 2000/12/17 23:32:14 wiz Exp $
+share/asclock-gtk/Freeamp/beats.xpm
+share/asclock-gtk/Freeamp/clock.xpm
+share/asclock-gtk/Freeamp/config
+share/asclock-gtk/Freeamp/date.xpm
+share/asclock-gtk/Freeamp/hour.xpm
+share/asclock-gtk/Freeamp/led.xpm
+share/asclock-gtk/Freeamp/minute.xpm
+share/asclock-gtk/Freeamp/month.xpm
+share/asclock-gtk/Freeamp/old.clock.xpm
+share/asclock-gtk/Freeamp/second.xpm
+share/asclock-gtk/Freeamp/weekday.xpm
+share/asclock-gtk/Newstone/beats.xpm
+share/asclock-gtk/Newstone/clock.xpm
+share/asclock-gtk/Newstone/config
+share/asclock-gtk/Newstone/date.xpm
+share/asclock-gtk/Newstone/hour.xpm
+share/asclock-gtk/Newstone/led.xpm
+share/asclock-gtk/Newstone/minute.xpm
+share/asclock-gtk/Newstone/month.xpm
+share/asclock-gtk/Newstone/second.xpm
+share/asclock-gtk/Newstone/weekday.xpm
+share/asclock-gtk/Orb/beats.xpm
+share/asclock-gtk/Orb/clock.xpm
+share/asclock-gtk/Orb/config
+share/asclock-gtk/Orb/date.xpm
+share/asclock-gtk/Orb/hour.xpm
+share/asclock-gtk/Orb/led.xpm
+share/asclock-gtk/Orb/minute.xpm
+share/asclock-gtk/Orb/month.xpm
+share/asclock-gtk/Orb/second.xpm
+share/asclock-gtk/Orb/weekday.xpm
+share/asclock-gtk/Stone/beats.xpm
+share/asclock-gtk/Stone/clock.xpm
+share/asclock-gtk/Stone/config
+share/asclock-gtk/Stone/date.xpm
+share/asclock-gtk/Stone/hour.xpm
+share/asclock-gtk/Stone/led.xpm
+share/asclock-gtk/Stone/minute.xpm
+share/asclock-gtk/Stone/month.xpm
+share/asclock-gtk/Stone/second.xpm
+share/asclock-gtk/Stone/weekday.xpm
+share/asclock-gtk/analog/beats.xpm
+share/asclock-gtk/analog/clock.xpm
+share/asclock-gtk/analog/config
+share/asclock-gtk/analog/date.xpm
+share/asclock-gtk/analog/hour.xpm
+share/asclock-gtk/analog/led.xpm
+share/asclock-gtk/analog/minute.xpm
+share/asclock-gtk/analog/month.xpm
+share/asclock-gtk/analog/second.xpm
+share/asclock-gtk/analog/weekday.xpm
+share/asclock-gtk/beats/beats.xpm
+share/asclock-gtk/beats/classic
+share/asclock-gtk/beats/clock.xpm
+share/asclock-gtk/beats/config
+share/asclock-gtk/beats/date.xpm
+share/asclock-gtk/beats/hour.xpm
+share/asclock-gtk/beats/led.xpm
+share/asclock-gtk/beats/minute.xpm
+share/asclock-gtk/beats/month.xpm
+share/asclock-gtk/beats/second.xpm
+share/asclock-gtk/beats/weekday.xpm
+share/asclock-gtk/classic/beats.xpm
+share/asclock-gtk/classic/classic
+share/asclock-gtk/classic/clock.xpm
+share/asclock-gtk/classic/config
+share/asclock-gtk/classic/date.xpm
+share/asclock-gtk/classic/hour.xpm
+share/asclock-gtk/classic/led.xpm
+share/asclock-gtk/classic/minute.xpm
+share/asclock-gtk/classic/month.xpm
+share/asclock-gtk/classic/second.xpm
+share/asclock-gtk/classic/weekday.xpm
+share/asclock-gtk/penguin/clock.xpm
+share/asclock-gtk/penguin/config
+share/asclock-gtk/penguin/date.xpm
+share/asclock-gtk/penguin/led.xpm
+share/asclock-gtk/penguin/month.xpm
+share/asclock-gtk/shaped/beats.xpm
+share/asclock-gtk/shaped/classic
+share/asclock-gtk/shaped/clock.xpm
+share/asclock-gtk/shaped/config
+share/asclock-gtk/shaped/date.xpm
+share/asclock-gtk/shaped/hour.xpm
+share/asclock-gtk/shaped/led.xpm
+share/asclock-gtk/shaped/minute.xpm
+share/asclock-gtk/shaped/month.xpm
+share/asclock-gtk/shaped/second.xpm
+share/asclock-gtk/shaped/weekday.xpm
+@dirrm share/asclock-gtk/shaped
+@dirrm share/asclock-gtk/penguin
+@dirrm share/asclock-gtk/classic
+@dirrm share/asclock-gtk/beats
+@dirrm share/asclock-gtk/analog
+@dirrm share/asclock-gtk/Stone
+@dirrm share/asclock-gtk/Orb
+@dirrm share/asclock-gtk/Newstone
+@dirrm share/asclock-gtk/Freeamp
+@dirrm share/asclock-gtk