2010-07-19 11:17:45 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.9 2010/07/19 15:17:45 edd Exp $
|
2008-09-17 11:39:51 -04:00
|
|
|
|
|
|
|
COMMENT= lightweight freedesktop-compliant panel/taskbar/clock
|
|
|
|
|
2010-06-28 10:08:03 -04:00
|
|
|
DISTNAME= tint2-0.11
|
2010-06-15 06:10:06 -04:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2010-06-28 10:08:03 -04:00
|
|
|
PKGNAME= tint-0.11
|
2010-07-19 11:17:45 -04:00
|
|
|
REVISION= 0
|
2008-09-17 11:39:51 -04:00
|
|
|
CATEGORIES= x11
|
|
|
|
|
|
|
|
HOMEPAGE= http://code.google.com/p/tint2/
|
|
|
|
|
2010-04-19 09:55:56 -04:00
|
|
|
MAINTAINER= Edd Barrett <edd@openbsd.org>
|
2008-09-17 11:39:51 -04:00
|
|
|
|
|
|
|
# MIT
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2010-06-15 06:10:06 -04:00
|
|
|
WANTLIB= X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes Xi \
|
|
|
|
Xinerama Xrandr Xrender atk-1.0 c cairo expat fontconfig \
|
|
|
|
freetype gio-2.0 glib-2.0 glitz gmodule-2.0 gobject-2.0 \
|
|
|
|
gthread-2.0 iconv intl m pixman-1 png pthread pthread-stubs \
|
|
|
|
xcb xcb-render xcb-render-util z
|
2008-09-17 11:39:51 -04:00
|
|
|
|
|
|
|
MASTER_SITES= http://tint2.googlecode.com/files/
|
|
|
|
|
|
|
|
LIB_DEPENDS= Imlib2.>=2::graphics/imlib2 \
|
2010-06-15 06:10:06 -04:00
|
|
|
pango-1.0,pangocairo-1.0,pangoft2-1.0::devel/pango \
|
|
|
|
gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2
|
|
|
|
RUN_DEPENDS= ::x11/py-gtk2 \
|
|
|
|
::devel/desktop-file-utils
|
|
|
|
|
|
|
|
MODULES= devel/cmake lang/python
|
2008-09-17 11:39:51 -04:00
|
|
|
|
|
|
|
USE_X11= Yes
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2010-06-15 06:10:06 -04:00
|
|
|
CONFIGURE_ARGS= -DMANDIR="${PREFIX}/man"
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
@perl -pi -e 's,/usr/bin/env python,${MODPY_BIN},g'\
|
|
|
|
${WRKSRC}/src/tint2conf/tintwizard.py
|
2008-09-17 11:39:51 -04:00
|
|
|
|
2010-06-15 06:10:06 -04:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/tint2/
|
|
|
|
@mv ${WRKINST}/${SYSCONFDIR}/xdg/tint2/tint2rc \
|
|
|
|
${PREFIX}/share/examples/tint2/
|
2008-09-17 11:39:51 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|