openbsd-ports/devel/py-notify/Makefile

55 lines
1.4 KiB
Makefile
Raw Normal View History

2012-07-13 12:56:55 -04:00
# $OpenBSD: Makefile,v 1.16 2012/07/13 16:56:55 ajacoutot Exp $
COMMENT= python bindings for libnotify
V= 0.1.1
DISTNAME= notify-python-${V}
2010-08-30 18:24:14 -04:00
PKGNAME= py-notify-${V}
2011-09-16 05:24:48 -04:00
REVISION = 10
CATEGORIES= devel
HOMEPAGE= http://www.galago-project.org/
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += GL X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
WANTLIB += Xi Xinerama Xrandr Xrender Xxf86vm atk-1.0 cairo drm
WANTLIB += expat ffi fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0
2010-10-11 04:11:24 -04:00
WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0
WANTLIB += gtk-x11-2.0 m notify pango-1.0 pangocairo-1.0 pangoft2-1.0
WANTLIB += pcre pixman-1 png pthread-stubs xcb xcb-render xcb-shm
WANTLIB += z
MASTER_SITES= ${HOMEPAGE}/files/releases/source/notify-python/
EXTRACT_SUFX= .tar.bz2
MODULES= devel/gettext \
lang/python
BUILD_DEPENDS= ${RUN_DEPENDS}
2010-11-15 14:45:56 -05:00
RUN_DEPENDS= x11/py-gtk2
LIB_DEPENDS= devel/libnotify>=0.7.2 \
x11/gtk+2 \
devel/libffi
USE_GMAKE= Yes
USE_LIBTOOL= Yes
LIBTOOL_FLAGS= --tag=disable-static
CONFIGURE_STYLE= gnu
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
2012-07-13 12:56:55 -04:00
CONFIGURE_ARGS += --disable-static
# Force regen of pynotify.c to include missing functions.
# See http://trac.galago-project.org/ticket/121
post-extract:
rm ${WRKSRC}/src/pynotify.c
.include <bsd.port.mk>