aboutsummaryrefslogtreecommitdiffstats
path: root/x11-clocks/mlclock
diff options
context:
space:
mode:
authornakai <nakai@FreeBSD.org>1999-10-05 10:36:18 +0800
committernakai <nakai@FreeBSD.org>1999-10-05 10:36:18 +0800
commit6fb461a33c9a1d239837850932f6db588b62d8ad (patch)
tree0877ad2941f91142477ba9ccb81c1a8cdd2d635a /x11-clocks/mlclock
parentc7ad540180a1eef750c0375a7fca7289277e2132 (diff)
downloadfreebsd-ports-gnome-6fb461a33c9a1d239837850932f6db588b62d8ad.tar.gz
freebsd-ports-gnome-6fb461a33c9a1d239837850932f6db588b62d8ad.tar.zst
freebsd-ports-gnome-6fb461a33c9a1d239837850932f6db588b62d8ad.zip
Update to 1.1
(Patch is from "KATO Tsuguru" <tkato@prontomail.ne.jp> )
Diffstat (limited to 'x11-clocks/mlclock')
-rw-r--r--x11-clocks/mlclock/Makefile21
-rw-r--r--x11-clocks/mlclock/distinfo2
-rw-r--r--x11-clocks/mlclock/pkg-descr16
-rw-r--r--x11-clocks/mlclock/pkg-plist3
4 files changed, 27 insertions, 15 deletions
diff --git a/x11-clocks/mlclock/Makefile b/x11-clocks/mlclock/Makefile
index b6c218ecf2bc..df4a2d424cde 100644
--- a/x11-clocks/mlclock/Makefile
+++ b/x11-clocks/mlclock/Makefile
@@ -1,28 +1,25 @@
# New ports collection makefile for: mlclock
-# Version required: 1.0
+# Version required: 1.1
# Date created: December 05 1997
# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
#
# $FreeBSD$
#
-DISTNAME= mlclock
-PKGNAME= mlclock-1.0
+DISTNAME= mlclock-1.1
CATEGORIES= x11-clocks
-MASTER_SITES= http://www.bioele.nuee.nagoya-u.ac.jp/member/tak/
+MASTER_SITES= http://www.hry.info.gifu-u.ac.jp/~hideki/
-MAINTAINER= nacai@iname.com
+MAINTAINER= nakai@FreeBSD.org
USE_IMAKE= yes
NO_INSTALL_MANPAGES= yes
WRKSRC= ${WRKDIR}/mlclock
-.if !defined(KANJIMODE)
-pre-patch:
- @${ECHO_MSG} "Japanese Kanji mode disabled."
- @${ECHO_MSG} "Use 'make -DKANJIMODE' when compiling if you want the Japanese"
- @${ECHO_MSG} "kanji mode enabled."
- @${PATCH} ${PATCH_ARGS} < ${FILESDIR}/patch-aa
-.endif
+post-install:
+ @${MKDIR} ${PREFIX}/share/mlclock
+.for i in mlclockrc mlclockrc-kanji
+ ${INSTALL_DATA} ${WRKSRC}/rcfile/${i} ${PREFIX}/share/mlclock
+.endfor
.include <bsd.port.mk>
diff --git a/x11-clocks/mlclock/distinfo b/x11-clocks/mlclock/distinfo
index f95eb59bbdaf..5c9bc8bc6398 100644
--- a/x11-clocks/mlclock/distinfo
+++ b/x11-clocks/mlclock/distinfo
@@ -1 +1 @@
-MD5 (mlclock.tar.gz) = b3501706b19de1b8e12f9f10e113e294
+MD5 (mlclock-1.1.tar.gz) = 60239c3294902792090463a9c99eba8c
diff --git a/x11-clocks/mlclock/pkg-descr b/x11-clocks/mlclock/pkg-descr
index d046057d2882..8a18fa6a84af 100644
--- a/x11-clocks/mlclock/pkg-descr
+++ b/x11-clocks/mlclock/pkg-descr
@@ -1,4 +1,16 @@
Mlclock is the best clock for the mlvwm window manager.
-Use 'make -DKANJIMODE' when compiling if you want the Japanese
-kanji mode enabled.
+HOW TO USE
+
+ Copy /usr/X11R6/share/mlclock/mlclockrc file to your home
+ directory as ".mlclockrc"
+ (or specifyed name in Imakefile).
+
+ Then, add following line into .mlvwmrc.
+
+ Swallow "MLClock" Action Exec "mlclock" exec mlclock
+
+ that's all.
+
+HomePage:
+http://www.hry.info.gifu-u.ac.jp/~hideki/
diff --git a/x11-clocks/mlclock/pkg-plist b/x11-clocks/mlclock/pkg-plist
index 84f714c0bb67..3bd402e1f0f9 100644
--- a/x11-clocks/mlclock/pkg-plist
+++ b/x11-clocks/mlclock/pkg-plist
@@ -1 +1,4 @@
bin/mlclock
+share/mlclock/mlclockrc
+share/mlclock/mlclockrc-kanji
+@dirrm share/mlclock