openbsd-ports/x11/gdesklets/Makefile

64 lines
1.5 KiB
Makefile
Raw Normal View History

2010-11-22 03:36:47 -05:00
# $OpenBSD: Makefile,v 1.22 2010/11/22 08:36:56 espie Exp $
SHARED_ONLY= Yes
COMMENT= mini programs for your desktop
V= 0.36.1
DISTNAME= gdesklets-${V}
REVISION= 9
CATEGORIES= x11
HOMEPAGE= http://www.gdesklets.de/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}files/
WRKDIST= ${WRKDIR}/gDesklets-${V}
MODULES= devel/gettext \
lang/python \
textproc/intltool
WANTLIB= X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes \
2010-09-28 04:51:20 -04:00
Xi Xinerama Xrandr Xrender atk-1.0 cairo croco-0.6 \
2010-07-30 07:29:44 -04:00
expat fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0 rsvg-2 \
2010-10-11 04:11:24 -04:00
gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 \
2010-07-30 07:29:44 -04:00
gtk-x11-2.0 kvm m pango-1.0 pangocairo-1.0 ffi gtop-2.0 \
2010-09-28 04:51:20 -04:00
pangoft2-1.0 pcre pixman-1 png xml2 z pthread-stubs xcb \
gthread-2.0 xcb-render GL Xxf86vm drm xcb-shm
2010-11-22 03:36:47 -05:00
LIB_DEPENDS= devel/libgtop2 \
x11/gnome/librsvg
BUILD_DEPENDS= ${RUN_DEPENDS} \
2010-11-22 03:36:47 -05:00
textproc/rarian
RUN_DEPENDS= devel/desktop-file-utils \
misc/shared-mime-info \
x11/gnome/py-gnome
USE_GMAKE= Yes
USE_LIBTOOL= Yes
LIBTOOL_FLAGS= --tag=disable-static
2010-11-22 03:36:47 -05:00
USE_GROFF = Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--disable-static
post-extract:
.for _prog in ctrlinfo gdesklets gdesklets-daemon gdesklets-logview \
gdesklets-migration-tool gdesklets-shell test-control.py
@perl -pi -e "s|/usr/bin/env python|${MODPY_BIN}|g" ${WRKSRC}/${_prog}
.endfor
.include <bsd.port.mk>