aboutsummaryrefslogtreecommitdiff
path: root/x11-clocks
diff options
context:
space:
mode:
authorFlorent Thoumie <flz@FreeBSD.org>2005-04-10 21:00:59 +0000
committerFlorent Thoumie <flz@FreeBSD.org>2005-04-10 21:00:59 +0000
commit9c831d1423a42c0c697d21bc752694987ce3afd9 (patch)
treec39eb12aa7b2cb773df1643d71d9aae858cf3e03 /x11-clocks
parent243d2af21018d0b2097b4144f7982e10d0326ae2 (diff)
downloadports-9c831d1423a42c0c697d21bc752694987ce3afd9.tar.gz
ports-9c831d1423a42c0c697d21bc752694987ce3afd9.zip
Notes
Diffstat (limited to 'x11-clocks')
-rw-r--r--x11-clocks/emiclock/Makefile40
-rw-r--r--x11-clocks/emiclock/pkg-plist12
2 files changed, 26 insertions, 26 deletions
diff --git a/x11-clocks/emiclock/Makefile b/x11-clocks/emiclock/Makefile
index 72d30b431f49..df8746496023 100644
--- a/x11-clocks/emiclock/Makefile
+++ b/x11-clocks/emiclock/Makefile
@@ -9,36 +9,36 @@ PORTNAME= emiclock
PORTVERSION= 2.0.2
PORTREVISION= 1
CATEGORIES= x11-clocks
-MASTER_SITES= ftp://ftp.noge.com/pub/EmiClock/X11/
+MASTER_SITES= http://download.vector.co.jp/pack/unix/personal/tokei/
MAINTAINER= ports@FreeBSD.org
COMMENT= Hyper-animated face analog clock for X11
-BROKEN= Unfetchable
-
-.if ${MACHINE_ARCH} != "i386"
-PLIST_SUB= SOUND="@comment "
-.else
-PLIST_SUB= SOUND=""
-.endif
-
USE_IMAKE= yes
MAN1= emiclock.1
LANGRES= resources/R6/EUC/EmiClock.ad
-LANGDIR= $(X11BASE)/lib/X11/ja_JP.eucJP/app-defaults
-LANGDIR2= $(X11BASE)/lib/X11/ja_JP.EUC/app-defaults
-EMICLOCKDIR= $(X11BASE)/lib/X11/EmiClock
+LANGDIR= ${X11BASE}/lib/X11/ja_JP.eucJP/app-defaults
+LANGDIR2= ${X11BASE}/lib/X11/ja_JP.EUC/app-defaults
+EMICLOCKDIR= ${X11BASE}/lib/X11/EmiClock
PORTDOCS= COPYRIGHT COPYRIGHT.en
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} != "i386"
+PLIST_SUB= SOUND="@comment "
+.else
+PLIST_SUB= SOUND=""
+.endif
+
pre-install:
- @${MKDIR} $(EMICLOCKDIR)
- @${MKDIR} $(LANGDIR)
- @${MKDIR} $(LANGDIR2)
- cd $(WRKSRC); ${INSTALL_DATA} -c -m 0444 $(LANGRES) $(LANGDIR)/EmiClock
- cd $(WRKSRC); ${INSTALL_DATA} -c -m 0444 $(LANGRES) $(LANGDIR2)/EmiClock
+ @${MKDIR} ${EMICLOCKDIR}
+ @${MKDIR} ${LANGDIR}
+ @${MKDIR} ${LANGDIR2}
+ cd ${WRKSRC}; ${INSTALL_DATA} -c -m 0444 ${LANGRES} ${LANGDIR}/EmiClock
+ cd ${WRKSRC}; ${INSTALL_DATA} -c -m 0444 ${LANGRES} ${LANGDIR2}/EmiClock
@${MKDIR} ${DOCSDIR}
- cd $(WRKSRC); ${INSTALL_DATA} -c -m 0444 ${PORTDOCS} ${DOCSDIR}
-# cd $(WRKSRC); make install.man
+ cd ${WRKSRC}; ${INSTALL_DATA} -c -m 0444 ${PORTDOCS} ${DOCSDIR}
+# cd ${WRKSRC}; make install.man
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/x11-clocks/emiclock/pkg-plist b/x11-clocks/emiclock/pkg-plist
index 78514310e92f..0bbc65e81ece 100644
--- a/x11-clocks/emiclock/pkg-plist
+++ b/x11-clocks/emiclock/pkg-plist
@@ -1,10 +1,10 @@
bin/emiclock
+%%SOUND%%lib/X11/EmiClock/myu.au
lib/X11/app-defaults/EmiClock
lib/X11/ja_JP.EUC/app-defaults/EmiClock
lib/X11/ja_JP.eucJP/app-defaults/EmiClock
-%%SOUND%%lib/X11/EmiClock/myu.au
-@dirrm lib/X11/ja_JP.EUC/app-defaults
-@dirrm lib/X11/ja_JP.EUC
-@dirrm lib/X11/ja_JP.eucJP/app-defaults
-@dirrm lib/X11/ja_JP.eucJP
-@dirrm lib/X11/EmiClock
+@unexec rmdir %D/lib/X11/ja_JP.eucJP/app-defaults 2>/dev/null || true
+@unexec rmdir %D/lib/X11/ja_JP.eucJP 2>/dev/null || true
+@unexec rmdir %D/lib/X11/ja_JP.EUC/app-defaults 2>/dev/null || true
+@unexec rmdir %D/lib/X11/ja_JP.EUC 2>/dev/null || true
+@unexec rmdir %D/lib/X11/EmiClock 2>/dev/null || true