Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Jun 2003 00:03:05 -0400
From:      Serge Gagnon <gagnon__s@videotron.ca>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/53076: Update port: x11-clocks/dclock to 2.1 && fix unfetchable distfile
Message-ID:  <E19PDs9-0001Qo-HZ@quenix.dyndns.org>
Resent-Message-ID: <200306090340.h593e7mK070975@freefall.freebsd.org>

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

>Number:         53076
>Category:       ports
>Synopsis:       Update port: x11-clocks/dclock to 2.1 && fix unfetchable distfile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 08 20:40:06 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Serge Gagnon
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
me
>Environment:
System: FreeBSD quenix.dyndns.org 4.8-STABLE FreeBSD 4.8-STABLE #0: Tue May 6 22:02:29 EDT 2003 serge@quenix.dyndns.org:/usr/obj/usr/src/sys/OCEAN3 i386


>Description:

	o Fix unfetchable distfile by upgrading the software to 2.1
	o This clock is too cool, I take maintainership ;)

	- Remove all files in ${FILESDIR} and replace with the
	one I provide with this PR

	- New file: patch-Imakefile
 
>How-To-Repeat:

http://people.freebsd.org/~fenner/portsurvey/x11-clocks.html#dclock

>Fix:


--- patch-dclock-distfile begins here ---
diff -u /usr/ports/x11-clocks/dclock/Makefile ./Makefile
--- /usr/ports/x11-clocks/dclock/Makefile	Thu Feb 20 14:17:27 2003
+++ ./Makefile	Sun Jun  8 23:53:43 2003
@@ -6,21 +6,23 @@
 #
 
 PORTNAME=	dclock
-PORTVERSION=	pl6
+PORTVERSION=	2.1
 CATEGORIES=	x11-clocks
-MASTER_SITES=	ftp://ftp.demon.co.uk/pub/graphics/systems/X11.old/pub/R6untarred/contrib/programs/
-DISTNAME=	Dclock
+MASTER_SITES=	http://bach.ece.jhu.edu/pub/tim/programs/
+DISTNAME=      ${PORTNAME}
+EXTRACT_SUFX=   .tar.bz2
 
-PATCH_SITES=	${MASTER_SITE_XCONTRIB}
-PATCH_SITE_SUBDIR=	R6contrib-fixes
-PATCHFILES=	Dclock-pl6.patch.gz
-PATCH_DIST_STRIP=	-p1
-
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	gagnon__s@videotron.ca
 COMMENT=	A 7-segment digital clock with optional military time and alarm
 
-IGNOREFILES=	${DISTFILES}
+WRKSRC=		${WRKDIR}/${PORTNAME}
+USE_BZIP2=	yes
 USE_IMAKE=	yes
 MAN1=		dclock.1
+MANCOMPRESSED=	no
+XFREE86_HTML_MAN=	no
+
+post-install:
+	${INSTALL_MAN} ${WRKSRC}/dclock.1 ${MANPREFIX}/man/man1/
 
 .include <bsd.port.mk>
diff -u /usr/ports/x11-clocks/dclock/distinfo ./distinfo
--- /usr/ports/x11-clocks/dclock/distinfo	Thu Dec 23 23:39:18 1999
+++ ./distinfo	Sun Jun  8 23:24:50 2003
@@ -1,2 +1 @@
-MD5 (Dclock-pl6.patch.gz) = 539204f67d1662c5ed738f8b8e9d9bf2
-MD5 (Dclock.tar.gz) = IGNORE
+MD5 (dclock.tar.bz2) = 3d4c8f7bb46d3d1f06c0875035c3dec0
--- patch-dclock-distfile ends here ---

--- patch-Imakefile begins here ---
--- Imakefile.orig	Sun Jun  8 23:25:33 2003
+++ Imakefile	Sun Jun  8 23:25:44 2003
@@ -4,7 +4,7 @@
 SRCS = Dclock.c dclock.c
 OBJS = Dclock.o dclock.o
 
-ComplexProgramTarget(dclock)
+ComplexProgramTargetNoMan(dclock)
 
 dclock.o:       Dclock.h
 Dclock.o:       DclockP.h
--- patch-Imakefile ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E19PDs9-0001Qo-HZ>