- switch to gtk+2

ok wilfried@ (MAINTAINER)
This commit is contained in:
jasper 2010-03-24 12:05:55 +00:00
parent e3f363d75f
commit 01a3129d3b
2 changed files with 16 additions and 8 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.10 2007/09/15 20:04:25 merdely Exp $
# $OpenBSD: Makefile,v 1.11 2010/03/24 12:05:55 jasper Exp $
COMMENT= wm-dockapp; clock application with clock, date and fish
DISTNAME= wmfishtime-1.23
PKGNAME= ${DISTNAME}p0
CATEGORIES= x11 x11/windowmaker
HOMEPAGE= http://www.ne.jp/asahi/linux/timecop/
@ -14,15 +15,22 @@ PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= X11 Xext Xi c glib gmodule iconv intl m
MASTER_SITES= ${HOMEPAGE}software/
MASTER_SITES= ${HOMEPAGE}/software/
LIB_DEPENDS= gtk.>=1,gdk.>=1::x11/gtk+
MODULES= devel/gettext
WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 c cairo expat fontconfig
WANTLIB += freetype gio-2.0 glib-2.0 glitz gmodule-2.0 gobject-2.0
WANTLIB += m pango-1.0 pangocairo-1.0 pangoft2-1.0 pixman-1 png
WANTLIB += pthread-stubs xcb z
LIB_DEPENDS= gdk_pixbuf-2.0,gdk-x11-2.0,gtk-x11-2.0::x11/gtk+2
MAKE_FLAGS= CC="${CC}" \
CFLAGS="${CFLAGS} -Wall `gtk-config --cflags`" \
LIBS="`gtk-config --libs`"
CFLAGS="${CFLAGS} -Wall `pkg-config --cflags gtk+-2.0`" \
LIBS="`pkg-config --libs gtk+-2.0`"
USE_X11= Yes
NO_REGRESS= Yes

View File

@ -1,3 +1,3 @@
@comment $OpenBSD: PLIST,v 1.2 2004/09/15 19:26:32 espie Exp $
bin/wmfishtime
@comment $OpenBSD: PLIST,v 1.3 2010/03/24 12:05:55 jasper Exp $
@bin bin/wmfishtime
@man man/man1/wmfishtime.1