aboutsummaryrefslogtreecommitdiffstats
path: root/x11-clocks
diff options
context:
space:
mode:
authorflz <flz@FreeBSD.org>2005-04-11 16:16:57 +0800
committerflz <flz@FreeBSD.org>2005-04-11 16:16:57 +0800
commitff2f473e91cf234629551876570bf88365792ea1 (patch)
tree190cda2b841eb4270a085f7408627fe15d6bb796 /x11-clocks
parentabf4ca64aafc7f0e4f16ce7fb98d48368579ac06 (diff)
downloadfreebsd-ports-graphics-ff2f473e91cf234629551876570bf88365792ea1.tar.gz
freebsd-ports-graphics-ff2f473e91cf234629551876570bf88365792ea1.tar.zst
freebsd-ports-graphics-ff2f473e91cf234629551876570bf88365792ea1.zip
- Fix MASTER_SITES.
- Support CC/CFLAGS properly. PR: ports/79755 Submitted by: Ports Fury
Diffstat (limited to 'x11-clocks')
-rw-r--r--x11-clocks/eyeclock/Makefile26
-rw-r--r--x11-clocks/eyeclock/distinfo4
-rw-r--r--x11-clocks/eyeclock/pkg-descr2
3 files changed, 26 insertions, 6 deletions
diff --git a/x11-clocks/eyeclock/Makefile b/x11-clocks/eyeclock/Makefile
index d2870541e21..c3fc6e07342 100644
--- a/x11-clocks/eyeclock/Makefile
+++ b/x11-clocks/eyeclock/Makefile
@@ -8,17 +8,37 @@
PORTNAME= eyeclock
PORTVERSION= 2.0
CATEGORIES= x11-clocks
-MASTER_SITES= http://www.seki.ee.kagu.sut.ac.jp/~sakai/
+MASTER_SITES= http://download.vector.co.jp/pack/unix/personal/tokei/
+DISTNAME= eyeclk20
+EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= A clock with eyes following the mouse pointer
-#ALL_TARGET= all
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_X_PREFIX= yes
USE_XPM= yes
+USE_REINPLACE= yes
MAN1= eyeclock.1
-MANCOMPRESSED= yes
+
+post-patch:
+ @${REINPLACE_CMD} -e "s#gcc#${CC}#" ${WRKSRC}/Makefile
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/eyeclock ${PREFIX}/bin/eyeclock
+.for link in boyclock daemonclock girlclock henohenoclock margueriteclock \
+ octopusclock punpunclock silicagelclock taroclock umeharaclock
+ ${LN} -sf eyeclock ${PREFIX}/bin/${link}
+.endfor
+ ${INSTALL_MAN} ${WRKSRC}/eyeclock.man ${MANPREFIX}/man/man1/eyeclock.1
+ ${INSTALL_DATA} ${WRKSRC}/EyeClock.daemon \
+ ${PREFIX}/lib/X11/app-defaults/EyeClock
+ @${MKDIR} ${PREFIX}/lib/X11/EyeClock
+.for file in CHANGE COPYRIGHT EyeClock.daemon EyeClock.normal EyeClock.penguin \
+ Makefile OMAKE.jpn README.jpn xpm/*.xpm
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/lib/X11/EyeClock
+.endfor
.include <bsd.port.mk>
diff --git a/x11-clocks/eyeclock/distinfo b/x11-clocks/eyeclock/distinfo
index 41e001a286f..8e92fbeca4f 100644
--- a/x11-clocks/eyeclock/distinfo
+++ b/x11-clocks/eyeclock/distinfo
@@ -1,2 +1,2 @@
-MD5 (eyeclock-2.0.tar.gz) = bd2a6c70c9a13cb80efd7893ece4acbf
-SIZE (eyeclock-2.0.tar.gz) = 171747
+MD5 (eyeclk20.tgz) = bd2a6c70c9a13cb80efd7893ece4acbf
+SIZE (eyeclk20.tgz) = 171747
diff --git a/x11-clocks/eyeclock/pkg-descr b/x11-clocks/eyeclock/pkg-descr
index f7af3b34d33..9856dd28c17 100644
--- a/x11-clocks/eyeclock/pkg-descr
+++ b/x11-clocks/eyeclock/pkg-descr
@@ -8,7 +8,7 @@ boyclock, daemonclock, eyeclock, girlclock, henohenoclock,
margueriteclock, octopusclock, punpunclock, silicagelclock,
taroclock, umeharaclock.
-WWW: http://www.seki.ee.kagu.sut.ac.jp/~sakai/myfreesoft.html
+WWW: http://hp.vector.co.jp/authors/VA014157/myfreesoft/index.html
- Sakai Hiroaki
sakai@seki.ee.kagu.sut.ac.jp