summaryrefslogtreecommitdiffstats
path: root/x11-clocks/mlclock
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2005-12-10 19:15:16 +0000
committerehaupt <ehaupt@FreeBSD.org>2005-12-10 19:15:16 +0000
commit527aea7a94aa9e3caaeaf5c5af52a0e97a7eda69 (patch)
tree689c491cec43b2f2f60cd5ce5ac7255c58010cf6 /x11-clocks/mlclock
parent8a76db21e1ab4458559105d879418aaefb7da009 (diff)
downloadFreeBSD-ports-527aea7a94aa9e3caaeaf5c5af52a0e97a7eda69.zip
FreeBSD-ports-527aea7a94aa9e3caaeaf5c5af52a0e97a7eda69.tar.gz
- Unbreak
- Update MASTER_SITES - Update WWW - Simplify build process - Remove pkg-plist, files/patch-aa PR: 90198 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'x11-clocks/mlclock')
-rw-r--r--x11-clocks/mlclock/Makefile23
-rw-r--r--x11-clocks/mlclock/files/patch-aa24
-rw-r--r--x11-clocks/mlclock/pkg-descr2
-rw-r--r--x11-clocks/mlclock/pkg-plist4
4 files changed, 16 insertions, 37 deletions
diff --git a/x11-clocks/mlclock/Makefile b/x11-clocks/mlclock/Makefile
index 42ccf58..91176da 100644
--- a/x11-clocks/mlclock/Makefile
+++ b/x11-clocks/mlclock/Makefile
@@ -8,21 +8,28 @@
PORTNAME= mlclock
PORTVERSION= 1.1
CATEGORIES= x11-clocks
-MASTER_SITES= # disappeared
+MASTER_SITES= http://www2u.biglobe.ne.jp/~y-miyata/mlvwm/
MAINTAINER= ports@FreeBSD.org
COMMENT= Clock for mlvwm window manager
-DEPRECATED= mastersite disappeared
-EXPIRATION_DATE= 2006-01-26
+WRKSRC= ${WRKDIR}/${PORTNAME}
-USE_IMAKE= yes
-WRKSRC= ${WRKDIR}/mlclock
+USE_X_PREFIX= yes
-post-install:
- @${MKDIR} ${PREFIX}/share/mlclock
+PLIST_FILES= bin/mlclock %%DATADIR%%/mlclockrc %%DATADIR%%/mlclockrc-kanji
+PLIST_DIRS= %%DATADIR%%
+
+do-build:
+ cd ${WRKSRC} && ${CC} ${CFLAGS} -I${X11BASE}/include \
+ -DRCFILE=\".mlclockrc\" mlclock.c -o mlclock \
+ -L${X11BASE}/lib -lX11
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/mlclock ${PREFIX}/bin
+ @${MKDIR} ${DATADIR}
.for i in mlclockrc mlclockrc-kanji
- ${INSTALL_DATA} ${WRKSRC}/rcfile/${i} ${PREFIX}/share/mlclock
+ ${INSTALL_DATA} ${WRKSRC}/rcfile/${i} ${DATADIR}
.endfor
.include <bsd.port.mk>
diff --git a/x11-clocks/mlclock/files/patch-aa b/x11-clocks/mlclock/files/patch-aa
deleted file mode 100644
index 2ae58c1..0000000
--- a/x11-clocks/mlclock/files/patch-aa
+++ /dev/null
@@ -1,24 +0,0 @@
---- Imakefile.orig Fri Oct 16 02:15:01 1998
-+++ Imakefile Wed Nov 1 07:31:32 2000
-@@ -1,13 +1,13 @@
- # mlclock is macintosh like clock
-
- RCFILE = .mlclockrc
--CC = gcc
-+#CC = gcc
- OPTION =
-
- # If function dosen't find , add -lsocket or whatever you need .
- # This is example .
- #ADD_LIBRARIES = -lxpg4 -lsocket -lnsl
--ADD_LIBRARIES = -lxpg4
-+#ADD_LIBRARIES = -lxpg4
-
- #---You shouldn't have to change anything below this line.---
-
-@@ -18,4 +18,4 @@
-
- DEFINES = $(OPTION) -DRCFILE=\"${RCFILE}\"
-
--ComplexProgramTarget( mlclock )
-+ComplexProgramTargetNoMan(mlclock)
diff --git a/x11-clocks/mlclock/pkg-descr b/x11-clocks/mlclock/pkg-descr
index 1bfa466..f6aedd86 100644
--- a/x11-clocks/mlclock/pkg-descr
+++ b/x11-clocks/mlclock/pkg-descr
@@ -12,4 +12,4 @@ HOW TO USE
that's all.
-WWW: http://www.hry.info.gifu-u.ac.jp/~hideki/
+WWW: http://www2u.biglobe.ne.jp/~y-miyata/mlvwm.html
diff --git a/x11-clocks/mlclock/pkg-plist b/x11-clocks/mlclock/pkg-plist
deleted file mode 100644
index 3bd402e..0000000
--- a/x11-clocks/mlclock/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-bin/mlclock
-share/mlclock/mlclockrc
-share/mlclock/mlclockrc-kanji
-@dirrm share/mlclock
OpenPOWER on IntegriCloud