New flavor of asclock (GTK version).
This commit is contained in:
parent
7d26b04646
commit
563c66bc18
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=18613
6 changed files with 190 additions and 0 deletions
33
x11-clocks/asclock-gtk/Makefile
Normal file
33
x11-clocks/asclock-gtk/Makefile
Normal file
|
@ -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>
|
1
x11-clocks/asclock-gtk/distinfo
Normal file
1
x11-clocks/asclock-gtk/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (asclock-gtk-2.1.10beta.tar.gz) = afa682d7954cb4d5c443202ffdd04b17
|
69
x11-clocks/asclock-gtk/files/patch-aa
Normal file
69
x11-clocks/asclock-gtk/files/patch-aa
Normal file
|
@ -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
|
1
x11-clocks/asclock-gtk/pkg-comment
Normal file
1
x11-clocks/asclock-gtk/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
|||
New flavor of asclock (GTK version).
|
3
x11-clocks/asclock-gtk/pkg-descr
Normal file
3
x11-clocks/asclock-gtk/pkg-descr
Normal file
|
@ -0,0 +1,3 @@
|
|||
New flavor of asclock (GTK version).
|
||||
|
||||
WWW: http://www.asclock.org
|
83
x11-clocks/asclock-gtk/pkg-plist
Normal file
83
x11-clocks/asclock-gtk/pkg-plist
Normal file
|
@ -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
|
Loading…
Reference in a new issue