From owner-svn-ports-head@freebsd.org Sun Feb 14 21:44:19 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E2E39AA9004; Sun, 14 Feb 2016 21:44:18 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C12AA3A4; Sun, 14 Feb 2016 21:44:18 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u1ELiH6m005356; Sun, 14 Feb 2016 21:44:17 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u1ELiH83005353; Sun, 14 Feb 2016 21:44:17 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201602142144.u1ELiH83005353@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Sun, 14 Feb 2016 21:44:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r408892 - in head/x11-clocks/mouseclock: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Feb 2016 21:44:19 -0000 Author: amdmi3 Date: Sun Feb 14 21:44:17 2016 New Revision: 408892 URL: https://svnweb.freebsd.org/changeset/ports/408892 Log: - Add LICENSE - Switch to options helpers - Regenerate patches with `make makepatch` Modified: head/x11-clocks/mouseclock/Makefile head/x11-clocks/mouseclock/files/patch-Imakefile head/x11-clocks/mouseclock/files/patch-mouseclock.c Modified: head/x11-clocks/mouseclock/Makefile ============================================================================== --- head/x11-clocks/mouseclock/Makefile Sun Feb 14 21:42:04 2016 (r408891) +++ head/x11-clocks/mouseclock/Makefile Sun Feb 14 21:44:17 2016 (r408892) @@ -10,12 +10,15 @@ MASTER_SITES= SUNSITE/X11/clocks MAINTAINER= ports@FreeBSD.org COMMENT= Display the current time using the X root cursor +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + USES= imake:notall USE_XORG= x11 OPTIONS_DEFINE= DOCS -post-install: +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} Modified: head/x11-clocks/mouseclock/files/patch-Imakefile ============================================================================== --- head/x11-clocks/mouseclock/files/patch-Imakefile Sun Feb 14 21:42:04 2016 (r408891) +++ head/x11-clocks/mouseclock/files/patch-Imakefile Sun Feb 14 21:44:17 2016 (r408892) @@ -1,20 +1,20 @@ ---- Imakefile.orig 1996-05-05 18:51:27.000000000 +0200 -+++ Imakefile 2013-09-01 17:04:26.000000000 +0200 +--- Imakefile.orig 1996-05-05 16:51:27 UTC ++++ Imakefile @@ -1,16 +1,10 @@ -#define IHaveSubdirs -#define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)' -+OBJS = mouseclock.o -+SRCS = mouseclock.c -+SYS_LIBRARIES = $(XONLYLIB) - +- - DEPLIBS = $(DEPXLIB) -LOCAL_LIBRARIES = $(XLIB) - CDEBUGFLAGS = - CCOPTIONS = -O3 -s -pipe -Wall ++OBJS = mouseclock.o ++SRCS = mouseclock.c ++SYS_LIBRARIES = $(XONLYLIB) -AllTarget(mouseclock) -- + -MakeMakeSubdirs($(SUBDIRS),install) -SimpleProgramTarget(mouseclock) +ComplexProgramTargetNoMan(mouseclock) Modified: head/x11-clocks/mouseclock/files/patch-mouseclock.c ============================================================================== --- head/x11-clocks/mouseclock/files/patch-mouseclock.c Sun Feb 14 21:42:04 2016 (r408891) +++ head/x11-clocks/mouseclock/files/patch-mouseclock.c Sun Feb 14 21:44:17 2016 (r408892) @@ -1,6 +1,6 @@ ---- mouseclock.c.orig Sun May 5 09:47:18 1996 -+++ mouseclock.c Mon Oct 6 23:09:43 1997 -@@ -31,6 +31,7 @@ +--- mouseclock.c.orig 1996-05-05 16:47:18 UTC ++++ mouseclock.c +@@ -31,6 +31,7 @@ int Scr; Window Root; int shadow_size = 2; int shadow_mode = 1; @@ -8,7 +8,7 @@ /* ---------------------------------------------------------------- */ void -@@ -56,6 +57,7 @@ +@@ -56,6 +57,7 @@ usage (const char *nom) printf ("-display display name\n"); printf ("-fg foreground color\n"); printf ("-fn font to use\n"); @@ -16,7 +16,7 @@ exit (1); } -@@ -266,6 +268,11 @@ +@@ -266,6 +268,11 @@ main (int argc, char **argv) shadow_mode = 0; continue; } @@ -28,7 +28,7 @@ usage (argv[0]); } -@@ -295,7 +302,7 @@ +@@ -295,7 +302,7 @@ main (int argc, char **argv) struct tm *now_tm = localtime (&now); Cursor cur;