Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Dec 2005 02:00:35 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/90198: Update port: x11-clocks/mlclock
Message-ID:  <20051211020035.679fa368.tkato432@yahoo.com>
Resent-Message-ID: <200512101710.jBAHAAKf033062@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         90198
>Category:       ports
>Synopsis:       Update port: x11-clocks/mlclock
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 10 17:10:09 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.11-RELEASE-p13 i386
>Organization:
>Environment:
>Description:
- Update MASTER_SITES and WWW: line
- Simplify build process
- Support PLIST_FILES

Remove file:
files/patch-aa
pkg-plist

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/x11-clocks/mlclock/Makefile x11-clocks/mlclock/Makefile
--- /usr/ports/x11-clocks/mlclock/Makefile	Sun Nov 27 13:12:45 2005
+++ x11-clocks/mlclock/Makefile	Sat Dec  3 14:19:52 2005
@@ -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 -urN /usr/ports/x11-clocks/mlclock/files/patch-aa x11-clocks/mlclock/files/patch-aa
--- /usr/ports/x11-clocks/mlclock/files/patch-aa	Wed Jan 10 04:31:57 2001
+++ x11-clocks/mlclock/files/patch-aa	Thu Jan  1 09:00:00 1970
@@ -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 -urN /usr/ports/x11-clocks/mlclock/pkg-descr x11-clocks/mlclock/pkg-descr
--- /usr/ports/x11-clocks/mlclock/pkg-descr	Fri Apr 21 15:54:32 2000
+++ x11-clocks/mlclock/pkg-descr	Sun Nov 27 12:35:44 2005
@@ -12,4 +12,4 @@
 
    that's all.
 
-WWW: http://www.hry.info.gifu-u.ac.jp/~hideki/
+WWW: http://www2u.biglobe.ne.jp/~y-miyata/mlvwm.html
diff -urN /usr/ports/x11-clocks/mlclock/pkg-plist x11-clocks/mlclock/pkg-plist
--- /usr/ports/x11-clocks/mlclock/pkg-plist	Tue Oct  5 11:36:18 1999
+++ x11-clocks/mlclock/pkg-plist	Thu Jan  1 09:00:00 1970
@@ -1,4 +0,0 @@
-bin/mlclock
-share/mlclock/mlclockrc
-share/mlclock/mlclockrc-kanji
-@dirrm share/mlclock
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051211020035.679fa368.tkato432>