head 1.2; access; symbols pkgsrc-2026Q1:1.2.0.10 pkgsrc-2026Q1-base:1.2 pkgsrc-2025Q4:1.2.0.8 pkgsrc-2025Q4-base:1.2 pkgsrc-2025Q3:1.2.0.6 pkgsrc-2025Q3-base:1.2 pkgsrc-2025Q2:1.2.0.4 pkgsrc-2025Q2-base:1.2 pkgsrc-2025Q1:1.2.0.2 pkgsrc-2025Q1-base:1.2; locks; strict; comment @# @; 1.2 date 2025.02.14.07.00.15; author vins; state Exp; branches; next 1.1; commitid XmYR7mPigxTCapJF; 1.1 date 2025.02.13.21.09.01; author vins; state Exp; branches; next ; commitid E4qDf8dAbgleUlJF; desc @@ 1.2 log @x11/xphoon: package revision * Silence makedepend warnings. * Fix hard-coded paths. * Provide a simplified install target. * Move man page to games section. @ text @$NetBSD: patch-Imakefile,v 1.1 2025/02/13 21:09:01 vins Exp $ * Fix hard-coded paths. * Do not override CCOPTIONS. * Link with libXrandr. * Provide a simplified install target. --- Imakefile.orig 2014-08-11 19:15:00.000000000 +0000 +++ Imakefile @@@@ -1,10 +1,24 @@@@ -CCOPTIONS = -ansi -pedantic -U__STRICT_ANSI__ -Wall -Wpointer-arith -Wshadow -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wno-long-long -INCLUDES = -I. -I$(TOP) -I$(TOP)/X11 -I$(TOP)/X11/bitmaps -LOCAL_LIBRARIES = $(XLIB) -DEPLIBS = $(DEPXLIB) + +BINDIR = @@PREFIX@@/bin +MANDIR = @@PREFIX@@/@@PKGMANDIR@@/man6 + +XRANDRLIB = -lXrandr + +CCOPTIONS ?= -ansi -pedantic -U__STRICT_ANSI__ -Wall -Wpointer-arith -Wshadow -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wno-long-long +INCLUDES = -I. -I/usr/include -I@@X11BASE@@/include/X11 -I@@X11BASE@@/include/X11/bitmaps +LOCAL_LIBRARIES = $(XLIB) $(XRANDRLIB) +DEPLIBS = $(DEPXLIB) $(DEPXRANDRLIB) LDLIBS = -lm SRCS = xphoon.c moon.c astro.c date_parse.c OBJS = xphoon.o moon.o astro.o date_parse.o ComplexProgramTarget(xphoon) + +install:: all + ${BSD_INSTALL_PROGRAM_DIR} ${DESTDIR}$(BINDIR) + ${BSD_INSTALL_PROGRAM} xphoon ${DESTDIR}$(BINDIR) + +install-man:: install + ${BSD_INSTALL_MAN_DIR} ${DESTDIR}$(MANDIR) + ${BSD_INSTALL_MAN} xphoon.man ${DESTDIR}$(MANDIR)/xphoon.6 @ 1.1 log @x11/xphoon: update to xphoon-20140814 No changelog available. The code has been largely reworked, at least partially incorporating our previous patches. Several files have been deprecated and moved to a old/ directory. Added LICENSE. This commit also brings a patch adding Xrandr support. @ text @d1 1 a1 1 $NetBSD$ d3 4 a6 1 Link with libXrandr. d10 3 a12 3 @@@@ -1,7 +1,7 @@@@ CCOPTIONS = -ansi -pedantic -U__STRICT_ANSI__ -Wall -Wpointer-arith -Wshadow -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wno-long-long INCLUDES = -I. -I$(TOP) -I$(TOP)/X11 -I$(TOP)/X11/bitmaps d15 8 d28 11 @