mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
x11-clocks/wmfishtime: Remove GTK1 option
x11-toolkits/gtk12 is gone since r488008.
This commit is contained in:
parent
8b1c886389
commit
a70065bd45
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=491817
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= wmfishtime
|
||||
PORTVERSION= 1.24
|
||||
PORTREVISION= 6
|
||||
PORTREVISION= 7
|
||||
CATEGORIES= x11-clocks windowmaker
|
||||
MASTER_SITES= http://www.ne.jp/asahi/linux/timecop/software/ \
|
||||
http://www.sourcefiles.org/Toys/Clocks/
|
||||
@ -14,24 +14,16 @@ COMMENT= Time/date applet for WindowMaker with fishes swimming around
|
||||
LICENSE= GPLv2
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
USES= pkgconfig
|
||||
USES= gnome pkgconfig
|
||||
USE_GNOME= cairo gdkpixbuf2 gtk20
|
||||
USE_XORG= x11
|
||||
|
||||
MAKE_ARGS+= CFLAGS="${CPPFLAGS} ${CFLAGS} -Wall ${GTK_CFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS}" \
|
||||
GTK_LIBS="${GTK_LIBS}"
|
||||
MAKE_ARGS= CFLAGS="${CPPFLAGS} ${CFLAGS} -Wall" \
|
||||
LDFLAGS="${LDFLAGS}"
|
||||
PLIST_FILES= bin/wmfishtime man/man1/wmfishtime.1.gz
|
||||
|
||||
OPTIONS_SINGLE= TOOLKIT
|
||||
OPTIONS_SINGLE_TOOLKIT= GTK1 GTK2
|
||||
OPTIONS_DEFAULT= GTK2
|
||||
|
||||
GTK1_USE= gnome=gtk12
|
||||
GTK1_CPPFLAGS= $$(pkg-config --cflags gdk)
|
||||
GTK1_LDFLAGS= $$(pkg-config --libs gdk)
|
||||
GTK2_USE= gnome=gtk20
|
||||
GTK2_CPPFLAGS= $$(pkg-config --cflags gdk-x11-2.0 x11)
|
||||
GTK2_LDFLAGS= $$(pkg-config --libs gdk-x11-2.0 x11) -lm
|
||||
TOOLKIT_DESC= GTK Toolkit
|
||||
CPPFLAGS+= $$(pkg-config --cflags gdk-x11-2.0 x11)
|
||||
LDFLAGS+= $$(pkg-config --libs gdk-x11-2.0 x11) -lm
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -E -e 's|1\.23|${PORTVERSION}|g' ${WRKSRC}/fishmon.c ${WRKSRC}/wmfishtime.1
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- Makefile.orig Sun May 27 05:49:41 2001
|
||||
+++ Makefile Sun Jul 6 20:29:07 2003
|
||||
@@ -6,23 +6,21 @@
|
||||
--- Makefile.orig 2001-05-26 20:49:41 UTC
|
||||
+++ Makefile
|
||||
@@ -6,23 +6,21 @@ PREFIX = $(DESTDIR)/usr/X11R6
|
||||
|
||||
# no user serviceable parts below this line
|
||||
# optimization cflags
|
||||
@ -15,7 +15,7 @@
|
||||
SHELL = sh
|
||||
OBJS = fishmon.o
|
||||
-LIBS = `gtk-config --libs | sed "s/-lgtk//g"`
|
||||
+LIBS = `echo $(GTK_LIBS) | sed "s/-lgtk12//g"`
|
||||
+LIBS =
|
||||
INSTALL = -m 755
|
||||
|
||||
all: wmfishtime
|
||||
|
Loading…
Reference in New Issue
Block a user