aboutsummaryrefslogtreecommitdiff
path: root/x11-clocks
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>1999-05-08 14:09:32 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>1999-05-08 14:09:32 +0000
commit563c66bc18f88fbf29b9b41132ffac1c63b44a10 (patch)
tree0d832a5fa7d2944cc26d0d44d6bd0449d468d6c7 /x11-clocks
parent7d26b046460730f40a00e03d43808f528a99efb0 (diff)
downloadports-563c66bc18f88fbf29b9b41132ffac1c63b44a10.tar.gz
ports-563c66bc18f88fbf29b9b41132ffac1c63b44a10.zip
Notes
Diffstat (limited to 'x11-clocks')
-rw-r--r--x11-clocks/asclock-gtk/Makefile33
-rw-r--r--x11-clocks/asclock-gtk/distinfo1
-rw-r--r--x11-clocks/asclock-gtk/files/patch-aa69
-rw-r--r--x11-clocks/asclock-gtk/pkg-comment1
-rw-r--r--x11-clocks/asclock-gtk/pkg-descr3
-rw-r--r--x11-clocks/asclock-gtk/pkg-plist83
6 files changed, 190 insertions, 0 deletions
diff --git a/x11-clocks/asclock-gtk/Makefile b/x11-clocks/asclock-gtk/Makefile
new file mode 100644
index 000000000000..b24dc0a6cc0c
--- /dev/null
+++ b/x11-clocks/asclock-gtk/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: asclock-gtk
+# Version required: 2.1.10beta
+# Date created: 16 March 1998
+# Whom: Jun Kuriyama <kuriyama@FreeBSD.ORG>
+#
+# $Id$
+#
+
+DISTNAME= asclock-gtk-2.1.10beta
+PKGNAME= asclock-gtk-beta-2.1.10
+CATEGORIES= x11-clocks afterstep windowmaker
+MASTER_SITES= http://www.asclock.org/tar/
+
+MAINTAINER= kuriyama@FreeBSD.ORG
+
+LIB_DEPENDS= gtk12.1:${PORTSDIR}/x11-toolkits/gtk12
+
+HAS_CONFIGURE= YES
+WRKSRC= ${WRKDIR}/asclock-gtk
+USE_X_PREFIX= YES
+ALL_TARGET= asclock
+
+.if defined(BATCH)
+do-configure:
+ @(cd ${WRKSRC}; \
+ ${RM} -rf default_theme; \
+ ${LN} -s themes/classic default_theme)
+.endif
+
+post-install:
+ @strip ${PREFIX}/bin/asclock
+
+.include <bsd.port.mk>
diff --git a/x11-clocks/asclock-gtk/distinfo b/x11-clocks/asclock-gtk/distinfo
new file mode 100644
index 000000000000..8dbf6a6f4b7d
--- /dev/null
+++ b/x11-clocks/asclock-gtk/distinfo
@@ -0,0 +1 @@
+MD5 (asclock-gtk-2.1.10beta.tar.gz) = afa682d7954cb4d5c443202ffdd04b17
diff --git a/x11-clocks/asclock-gtk/files/patch-aa b/x11-clocks/asclock-gtk/files/patch-aa
new file mode 100644
index 000000000000..dc9837d1a246
--- /dev/null
+++ b/x11-clocks/asclock-gtk/files/patch-aa
@@ -0,0 +1,69 @@
+--- Makefile.orig Fri Mar 26 16:08:33 1999
++++ Makefile Wed May 5 12:23:28 1999
+@@ -2,18 +2,19 @@
+ MKDIR=mkdir -p
+
+ CFLAGS = -Wall -g
++PREFIX?= /usr/local
+
+-GNOME_CC = gcc $(CFLAGS) -DASCLOCK_THEMES_DIR=\""/usr/local/share/asclock"\" \
++GNOME_CC = gcc $(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"\" \
+- -DASCLOCK_GTK `$(CONFIG_PATH)gtk-config --cflags`
++GTK_CC = gcc $(CFLAGS) -DASCLOCK_THEMES_DIR=\""${PREFIX}/share/asclock"\" \
++ -DASCLOCK_GTK `$(CONFIG_PATH)gtk12-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`
++GTK_LIBS = `$(CONFIG_PATH)gtk12-config --libs`
+
+
+ info: default_theme
+@@ -41,24 +42,24 @@
+ $(GTK_CC) $(GTK_LIBS) $(GTK_OBJS) -o asclock
+
+ install: asclock
+- $(CP) asclock /usr/X11/bin
+- $(MKDIR) /usr/local/share/asclock
+- $(MKDIR) /usr/local/share/asclock/themes
+- $(MKDIR) /usr/local/share/asclock/themes/Newstone
+- $(CP) themes/Newstone/* /usr/local/share/asclock/themes/Newstone
+- $(MKDIR) /usr/local/share/asclock/themes/Orb
+- $(CP) themes/Orb/* /usr/local/share/asclock/themes/Orb
+- $(MKDIR) /usr/local/share/asclock/themes/Stone
+- $(CP) themes/Stone/* /usr/local/share/asclock/themes/Stone
+- $(MKDIR) /usr/local/share/asclock/themes/analog
+- $(CP) themes/analog/* /usr/local/share/asclock/themes/analog
+- $(MKDIR) /usr/local/share/asclock/themes/beats
+- $(CP) themes/beats/* /usr/local/share/asclock/themes/beats
+- $(MKDIR) /usr/local/share/asclock/themes/classic
+- $(CP) themes/classic/* /usr/local/share/asclock/themes/classic
+- $(MKDIR) /usr/local/share/asclock/themes/shaped
+- $(CP) themes/shaped/* /usr/local/share/asclock/themes/shaped
+-# $(CP) -rf themes/* /usr/local/share/asclock/
++ $(CP) asclock ${PREFIX}/bin
++ $(MKDIR) ${PREFIX}/share/asclock
++ $(MKDIR) ${PREFIX}/share/asclock/themes
++ $(MKDIR) ${PREFIX}/share/asclock/themes/Newstone
++ $(CP) themes/Newstone/* ${PREFIX}/share/asclock/themes/Newstone
++ $(MKDIR) ${PREFIX}/share/asclock/themes/Orb
++ $(CP) themes/Orb/* ${PREFIX}/share/asclock/themes/Orb
++ $(MKDIR) ${PREFIX}/share/asclock/themes/Stone
++ $(CP) themes/Stone/* ${PREFIX}/share/asclock/themes/Stone
++ $(MKDIR) ${PREFIX}/share/asclock/themes/analog
++ $(CP) themes/analog/* ${PREFIX}/share/asclock/themes/analog
++ $(MKDIR) ${PREFIX}/share/asclock/themes/beats
++ $(CP) themes/beats/* ${PREFIX}/share/asclock/themes/beats
++ $(MKDIR) ${PREFIX}/share/asclock/themes/classic
++ $(CP) themes/classic/* ${PREFIX}/share/asclock/themes/classic
++ $(MKDIR) ${PREFIX}/share/asclock/themes/shaped
++ $(CP) themes/shaped/* ${PREFIX}/share/asclock/themes/shaped
++# $(CP) -rf themes/* ${PREFIX}/share/asclock/
+
+ clean:
+ rm -rf core *.o *~ .gtk .gnome asclock asclock_applet
diff --git a/x11-clocks/asclock-gtk/pkg-comment b/x11-clocks/asclock-gtk/pkg-comment
new file mode 100644
index 000000000000..a298cce52280
--- /dev/null
+++ b/x11-clocks/asclock-gtk/pkg-comment
@@ -0,0 +1 @@
+New flavor of asclock (GTK version).
diff --git a/x11-clocks/asclock-gtk/pkg-descr b/x11-clocks/asclock-gtk/pkg-descr
new file mode 100644
index 000000000000..e76001e7e3e8
--- /dev/null
+++ b/x11-clocks/asclock-gtk/pkg-descr
@@ -0,0 +1,3 @@
+New flavor of asclock (GTK version).
+
+WWW: http://www.asclock.org
diff --git a/x11-clocks/asclock-gtk/pkg-plist b/x11-clocks/asclock-gtk/pkg-plist
new file mode 100644
index 000000000000..bd3e2170b064
--- /dev/null
+++ b/x11-clocks/asclock-gtk/pkg-plist
@@ -0,0 +1,83 @@
+bin/asclock
+share/asclock/themes/Newstone/beats.xpm
+share/asclock/themes/Newstone/clock.xpm
+share/asclock/themes/Newstone/config
+share/asclock/themes/Newstone/date.xpm
+share/asclock/themes/Newstone/hour.xpm
+share/asclock/themes/Newstone/led.xpm
+share/asclock/themes/Newstone/minute.xpm
+share/asclock/themes/Newstone/month.xpm
+share/asclock/themes/Newstone/second.xpm
+share/asclock/themes/Newstone/weekday.xpm
+share/asclock/themes/Orb/beats.xpm
+share/asclock/themes/Orb/clock.xpm
+share/asclock/themes/Orb/config
+share/asclock/themes/Orb/date.xpm
+share/asclock/themes/Orb/hour.xpm
+share/asclock/themes/Orb/led.xpm
+share/asclock/themes/Orb/minute.xpm
+share/asclock/themes/Orb/month.xpm
+share/asclock/themes/Orb/second.xpm
+share/asclock/themes/Orb/weekday.xpm
+share/asclock/themes/Stone/beats.xpm
+share/asclock/themes/Stone/clock.xpm
+share/asclock/themes/Stone/config
+share/asclock/themes/Stone/date.xpm
+share/asclock/themes/Stone/hour.xpm
+share/asclock/themes/Stone/led.xpm
+share/asclock/themes/Stone/minute.xpm
+share/asclock/themes/Stone/month.xpm
+share/asclock/themes/Stone/second.xpm
+share/asclock/themes/Stone/weekday.xpm
+share/asclock/themes/analog/beats.xpm
+share/asclock/themes/analog/clock.xpm
+share/asclock/themes/analog/config
+share/asclock/themes/analog/date.xpm
+share/asclock/themes/analog/hour.xpm
+share/asclock/themes/analog/led.xpm
+share/asclock/themes/analog/minute.xpm
+share/asclock/themes/analog/month.xpm
+share/asclock/themes/analog/second.xpm
+share/asclock/themes/analog/weekday.xpm
+share/asclock/themes/beats/beats.xpm
+share/asclock/themes/beats/clock.xpm
+share/asclock/themes/beats/classic
+share/asclock/themes/beats/config
+share/asclock/themes/beats/date.xpm
+share/asclock/themes/beats/hour.xpm
+share/asclock/themes/beats/led.xpm
+share/asclock/themes/beats/minute.xpm
+share/asclock/themes/beats/month.xpm
+share/asclock/themes/beats/second.xpm
+share/asclock/themes/beats/weekday.xpm
+share/asclock/themes/classic/beats.xpm
+share/asclock/themes/classic/clock.xpm
+share/asclock/themes/classic/classic
+share/asclock/themes/classic/config
+share/asclock/themes/classic/date.xpm
+share/asclock/themes/classic/hour.xpm
+share/asclock/themes/classic/led.xpm
+share/asclock/themes/classic/minute.xpm
+share/asclock/themes/classic/month.xpm
+share/asclock/themes/classic/second.xpm
+share/asclock/themes/classic/weekday.xpm
+share/asclock/themes/shaped/beats.xpm
+share/asclock/themes/shaped/clock.xpm
+share/asclock/themes/shaped/classic
+share/asclock/themes/shaped/config
+share/asclock/themes/shaped/date.xpm
+share/asclock/themes/shaped/hour.xpm
+share/asclock/themes/shaped/led.xpm
+share/asclock/themes/shaped/minute.xpm
+share/asclock/themes/shaped/month.xpm
+share/asclock/themes/shaped/second.xpm
+share/asclock/themes/shaped/weekday.xpm
+@dirrm share/asclock/themes/Newstone
+@dirrm share/asclock/themes/Orb
+@dirrm share/asclock/themes/Stone
+@dirrm share/asclock/themes/analog
+@dirrm share/asclock/themes/beats
+@dirrm share/asclock/themes/classic
+@dirrm share/asclock/themes/shaped
+@dirrm share/asclock/themes
+@dirrm share/asclock