aboutsummaryrefslogtreecommitdiff
path: root/x11-clocks
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2005-12-10 19:15:16 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2005-12-10 19:15:16 +0000
commit6ab9fa9b6cc378e6963bc02b9f7713f0d3120db0 (patch)
tree7bc2d1a13da564e725453c31e090315eefb430bf /x11-clocks
parent55705f0b58d0ac57553829af5fdc8d56b0f87b28 (diff)
downloadports-6ab9fa9b6cc378e6963bc02b9f7713f0d3120db0.tar.gz
ports-6ab9fa9b6cc378e6963bc02b9f7713f0d3120db0.zip
Notes
Diffstat (limited to 'x11-clocks')
-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 42ccf58b0c18..91176dab7250 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 2ae58c1ad349..000000000000
--- 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 1bfa46684b0b..f6aedd86a073 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 3bd402e1f0f9..000000000000
--- a/x11-clocks/mlclock/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-bin/mlclock
-share/mlclock/mlclockrc
-share/mlclock/mlclockrc-kanji
-@dirrm share/mlclock