aboutsummaryrefslogtreecommitdiffstats
path: root/x11-clocks
diff options
context:
space:
mode:
authorsat <sat@FreeBSD.org>2007-08-09 03:30:36 +0800
committersat <sat@FreeBSD.org>2007-08-09 03:30:36 +0800
commitbc4ad4d680932c0f0a4b8154cdfb3f170553fa42 (patch)
tree2c3176eb6116926ddceafde925339b7ae45bbf1d /x11-clocks
parentfdaac6b388ccc525489a01c4d97b14a249abb078 (diff)
downloadfreebsd-ports-gnome-bc4ad4d680932c0f0a4b8154cdfb3f170553fa42.tar.gz
freebsd-ports-gnome-bc4ad4d680932c0f0a4b8154cdfb3f170553fa42.tar.zst
freebsd-ports-gnome-bc4ad4d680932c0f0a4b8154cdfb3f170553fa42.zip
- Readd intclock into x11-clocks
Suggested by: danfe
Diffstat (limited to 'x11-clocks')
-rw-r--r--x11-clocks/Makefile1
-rw-r--r--x11-clocks/intclock/Makefile33
-rw-r--r--x11-clocks/intclock/distinfo3
-rw-r--r--x11-clocks/intclock/pkg-descr5
-rw-r--r--x11-clocks/intclock/pkg-plist25
5 files changed, 67 insertions, 0 deletions
diff --git a/x11-clocks/Makefile b/x11-clocks/Makefile
index bcb145dbb3e8..111d4e0c68dd 100644
--- a/x11-clocks/Makefile
+++ b/x11-clocks/Makefile
@@ -25,6 +25,7 @@
SUBDIR += gdesklets-ebichuclock
SUBDIR += glclock
SUBDIR += gtubeclock
+ SUBDIR += intclock
SUBDIR += kdetoys3
SUBDIR += lmclock
SUBDIR += mlclock
diff --git a/x11-clocks/intclock/Makefile b/x11-clocks/intclock/Makefile
new file mode 100644
index 000000000000..4322622c60c5
--- /dev/null
+++ b/x11-clocks/intclock/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: intclock
+# Date created: 6 August 2007
+# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= intclock
+PORTVERSION= 2.10
+CATEGORIES= x11-clocks perl5
+MASTER_SITES= http://www.peterverthez.net/projects/${PORTNAME}/ CENKES
+
+MAINTAINER= infofarmer@FreeBSD.org
+COMMENT= Multi-timezone clock
+
+BUILD_DEPENDS= p5-Gtk2>=1.144:${PORTSDIR}/x11-toolkits/p5-Gtk2 \
+ iso-codes>=1.3:${PORTSDIR}/misc/iso-codes
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+
+USE_PERL5= yes
+PERL_CONFIGURE= yes
+
+post-patch:
+ @${REINPLACE_CMD} -e \
+ 's|$$zonedir/$$countryfile|${LOCALBASE}/share/iso-codes/iso_3166.tab|' \
+ ${WRKSRC}/lib/Intclock/TZ.pm
+ @${REINPLACE_CMD} -e 's|$$prefix/share/intclock|${DATADIR}|;\
+ s|/usr/share|${PREFIX}/share|' ${WRKSRC}/Makefile.PL
+ @${REINPLACE_CMD} -e 's|/usr/bin|${PREFIX}/bin|;\
+ s|/usr/share/intclock|${DATADIR}|' ${WRKSRC}/data/intclock.desktop
+ @${FIND} ${WRKSRC} -name \*.bak -delete
+
+.include <bsd.port.mk>
diff --git a/x11-clocks/intclock/distinfo b/x11-clocks/intclock/distinfo
new file mode 100644
index 000000000000..27a2b40cceef
--- /dev/null
+++ b/x11-clocks/intclock/distinfo
@@ -0,0 +1,3 @@
+MD5 (intclock-2.10.tar.gz) = f15772dd7b9e86629f5df79f29d3371d
+SHA256 (intclock-2.10.tar.gz) = 5a50b0d258c9e619ec88dbd4dc04ca5c5ce2afa2a37b5f8dd3e5ed28202b82de
+SIZE (intclock-2.10.tar.gz) = 320000
diff --git a/x11-clocks/intclock/pkg-descr b/x11-clocks/intclock/pkg-descr
new file mode 100644
index 000000000000..3d842ff4c69a
--- /dev/null
+++ b/x11-clocks/intclock/pkg-descr
@@ -0,0 +1,5 @@
+Intclock provides a graphical multi-timezone clock that is customizable
+via a configuration window. It is based on hsclock.
+
+WWW: http://www.peterverthez.net/projects/intclock/
+Author: Peter Verthez <peter.verthez@advalvas.be>
diff --git a/x11-clocks/intclock/pkg-plist b/x11-clocks/intclock/pkg-plist
new file mode 100644
index 000000000000..a6fba9c2e7c6
--- /dev/null
+++ b/x11-clocks/intclock/pkg-plist
@@ -0,0 +1,25 @@
+bin/intclock
+%%SITE_PERL%%/Intclock/Config.pm
+%%SITE_PERL%%/Intclock/L10N/de.pm
+%%SITE_PERL%%/Intclock/L10N/en.pm
+%%SITE_PERL%%/Intclock/L10N/fr.pm
+%%SITE_PERL%%/Intclock/L10N/nl.pm
+%%SITE_PERL%%/Intclock/L10N/pl.pm
+%%SITE_PERL%%/Intclock/L10N/ru.pm
+%%SITE_PERL%%/Intclock/L10N.pm
+%%SITE_PERL%%/Intclock/TZ.pm
+%%SITE_PERL%%/Intclock/UI.pm
+%%SITE_PERL%%/Intclock/UI_gtk.pm
+%%SITE_PERL%%/Intclock/UI_gtk2.pm
+%%SITE_PERL%%/Intclock/UI_tty.pm
+%%SITE_PERL%%/Intclock.pl
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Intclock/.packlist
+share/applications/intclock.desktop
+%%DATADIR%%/intclock.png
+%%DATADIR%%/territories.dat
+%%DATADIR%%/zones.dat
+@dirrm %%SITE_PERL%%/Intclock/L10N
+@dirrm %%SITE_PERL%%/Intclock
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Intclock
+@dirrm %%DATADIR%%
+@dirrmtry share/applications