summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjlam <jlam>1999-10-07 17:25:05 +0000
committerjlam <jlam>1999-10-07 17:25:05 +0000
commit4c48989b5cf7dcfc399a19d48675207d504eec2d (patch)
treeaf5a75138aeaabbb6cb1cbf774d49e1187aad256 /x11
parente601578a89e26ccb80f718337a1059f8125580d3 (diff)
downloadpkgsrc-4c48989b5cf7dcfc399a19d48675207d504eec2d.tar.gz
asclock-gtk-2.1.10: dockable clock and calendar with themes for GTK+
Diffstat (limited to 'x11')
-rw-r--r--x11/asclock-gtk/Makefile40
-rw-r--r--x11/asclock-gtk/files/md53
-rw-r--r--x11/asclock-gtk/files/patch-sum3
-rw-r--r--x11/asclock-gtk/patches/patch-aa24
-rw-r--r--x11/asclock-gtk/pkg/COMMENT1
-rw-r--r--x11/asclock-gtk/pkg/DESCR5
-rw-r--r--x11/asclock-gtk/pkg/PLIST4
-rw-r--r--x11/asclock-gtk/pkg/PLIST.themes100
8 files changed, 180 insertions, 0 deletions
diff --git a/x11/asclock-gtk/Makefile b/x11/asclock-gtk/Makefile
new file mode 100644
index 00000000000..8277f4670f9
--- /dev/null
+++ b/x11/asclock-gtk/Makefile
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/10/07 17:25:05 jlam Exp $
+#
+
+DISTNAME= asclock-gtk-2.1.10beta
+PKGNAME= asclock-gtk-2.1.10
+WRKSRC= ${WRKDIR}/asclock-gtk
+CATEGORIES= x11
+MASTER_SITES= http://www.asclock.org/tar/
+
+MAINTAINER= jlam@netbsd.org
+HOMEPAGE= http://www.asclock.org/
+
+DEPENDS+= gtk+-1.2.*:../../x11/gtk
+
+CONFLICTS= asclock-* asclock-xlib-*
+
+USE_X11BASE= yes
+
+PLIST_SRC= ${PKGDIR}/PLIST \
+ ${PKGDIR}/PLIST.themes
+
+ALL_TARGET= asclock
+MAKE_ENV+= CONFIG_PATH="${X11BASE}/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
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/asclock
+ ${INSTALL_DATA} ${WRKSRC}/README.THEMES ${PREFIX}/share/doc/asclock
+ ${MKDIR} ${PREFIX}/share/asclock
+ ${CP} -R ${WRKSRC}/themes/* ${PREFIX}/share/asclock
+ ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/asclock
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/asclock-gtk/files/md5 b/x11/asclock-gtk/files/md5
new file mode 100644
index 00000000000..01fd00caf74
--- /dev/null
+++ b/x11/asclock-gtk/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/10/07 17:25:05 jlam Exp $
+
+MD5 (asclock-gtk-2.1.10beta.tar.gz) = afa682d7954cb4d5c443202ffdd04b17
diff --git a/x11/asclock-gtk/files/patch-sum b/x11/asclock-gtk/files/patch-sum
new file mode 100644
index 00000000000..6229c79f06c
--- /dev/null
+++ b/x11/asclock-gtk/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 1999/10/07 17:25:05 jlam Exp $
+
+MD5 (patch-aa) = b283930d392cb08d8d7323e0ca2f449c
diff --git a/x11/asclock-gtk/patches/patch-aa b/x11/asclock-gtk/patches/patch-aa
new file mode 100644
index 00000000000..b36da5c3840
--- /dev/null
+++ b/x11/asclock-gtk/patches/patch-aa
@@ -0,0 +1,24 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/10/07 17:25:06 jlam 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/"\" \
+ -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/"\" \
+ -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/x11/asclock-gtk/pkg/COMMENT b/x11/asclock-gtk/pkg/COMMENT
new file mode 100644
index 00000000000..7b2cead1dad
--- /dev/null
+++ b/x11/asclock-gtk/pkg/COMMENT
@@ -0,0 +1 @@
+dockable clock and calendar with themes for GTK+
diff --git a/x11/asclock-gtk/pkg/DESCR b/x11/asclock-gtk/pkg/DESCR
new file mode 100644
index 00000000000..5adfd3c5f12
--- /dev/null
+++ b/x11/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/x11/asclock-gtk/pkg/PLIST b/x11/asclock-gtk/pkg/PLIST
new file mode 100644
index 00000000000..fd137cf0e58
--- /dev/null
+++ b/x11/asclock-gtk/pkg/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/10/07 17:25:05 jlam Exp $
+bin/asclock
+share/doc/asclock/README.THEMES
+@dirrm share/doc/asclock
diff --git a/x11/asclock-gtk/pkg/PLIST.themes b/x11/asclock-gtk/pkg/PLIST.themes
new file mode 100644
index 00000000000..b5aac9a5e5b
--- /dev/null
+++ b/x11/asclock-gtk/pkg/PLIST.themes
@@ -0,0 +1,100 @@
+@comment $NetBSD: PLIST.themes,v 1.1.1.1 1999/10/07 17:25:05 jlam Exp $
+share/asclock/Freeamp/beats.xpm
+share/asclock/Freeamp/clock.xpm
+share/asclock/Freeamp/config
+share/asclock/Freeamp/date.xpm
+share/asclock/Freeamp/hour.xpm
+share/asclock/Freeamp/led.xpm
+share/asclock/Freeamp/minute.xpm
+share/asclock/Freeamp/month.xpm
+share/asclock/Freeamp/old.clock.xpm
+share/asclock/Freeamp/second.xpm
+share/asclock/Freeamp/weekday.xpm
+share/asclock/Newstone/beats.xpm
+share/asclock/Newstone/clock.xpm
+share/asclock/Newstone/config
+share/asclock/Newstone/date.xpm
+share/asclock/Newstone/hour.xpm
+share/asclock/Newstone/led.xpm
+share/asclock/Newstone/minute.xpm
+share/asclock/Newstone/month.xpm
+share/asclock/Newstone/second.xpm
+share/asclock/Newstone/weekday.xpm
+share/asclock/Orb/beats.xpm
+share/asclock/Orb/clock.xpm
+share/asclock/Orb/config
+share/asclock/Orb/date.xpm
+share/asclock/Orb/hour.xpm
+share/asclock/Orb/led.xpm
+share/asclock/Orb/minute.xpm
+share/asclock/Orb/month.xpm
+share/asclock/Orb/second.xpm
+share/asclock/Orb/weekday.xpm
+share/asclock/Stone/beats.xpm
+share/asclock/Stone/clock.xpm
+share/asclock/Stone/config
+share/asclock/Stone/date.xpm
+share/asclock/Stone/hour.xpm
+share/asclock/Stone/led.xpm
+share/asclock/Stone/minute.xpm
+share/asclock/Stone/month.xpm
+share/asclock/Stone/second.xpm
+share/asclock/Stone/weekday.xpm
+share/asclock/analog/beats.xpm
+share/asclock/analog/clock.xpm
+share/asclock/analog/config
+share/asclock/analog/date.xpm
+share/asclock/analog/hour.xpm
+share/asclock/analog/led.xpm
+share/asclock/analog/minute.xpm
+share/asclock/analog/month.xpm
+share/asclock/analog/second.xpm
+share/asclock/analog/weekday.xpm
+share/asclock/beats/beats.xpm
+share/asclock/beats/classic
+share/asclock/beats/clock.xpm
+share/asclock/beats/config
+share/asclock/beats/date.xpm
+share/asclock/beats/hour.xpm
+share/asclock/beats/led.xpm
+share/asclock/beats/minute.xpm
+share/asclock/beats/month.xpm
+share/asclock/beats/second.xpm
+share/asclock/beats/weekday.xpm
+share/asclock/classic/beats.xpm
+share/asclock/classic/classic
+share/asclock/classic/clock.xpm
+share/asclock/classic/config
+share/asclock/classic/date.xpm
+share/asclock/classic/hour.xpm
+share/asclock/classic/led.xpm
+share/asclock/classic/minute.xpm
+share/asclock/classic/month.xpm
+share/asclock/classic/second.xpm
+share/asclock/classic/weekday.xpm
+share/asclock/penguin/clock.xpm
+share/asclock/penguin/config
+share/asclock/penguin/date.xpm
+share/asclock/penguin/led.xpm
+share/asclock/penguin/month.xpm
+share/asclock/shaped/beats.xpm
+share/asclock/shaped/classic
+share/asclock/shaped/clock.xpm
+share/asclock/shaped/config
+share/asclock/shaped/date.xpm
+share/asclock/shaped/hour.xpm
+share/asclock/shaped/led.xpm
+share/asclock/shaped/minute.xpm
+share/asclock/shaped/month.xpm
+share/asclock/shaped/second.xpm
+share/asclock/shaped/weekday.xpm
+@dirrm share/asclock/shaped
+@dirrm share/asclock/penguin
+@dirrm share/asclock/classic
+@dirrm share/asclock/beats
+@dirrm share/asclock/analog
+@dirrm share/asclock/Stone
+@dirrm share/asclock/Orb
+@dirrm share/asclock/Newstone
+@dirrm share/asclock/Freeamp
+@dirrm share/asclock