openbsd-ports/sysutils/gkrellm/plugins/Makefile.inc

36 lines
983 B
Makefile

# $OpenBSD: Makefile.inc,v 1.18 2008/06/06 10:27:55 sthen Exp $
MAINTAINER?= Antoine Jacoutot <ajacoutot@openbsd.org>
CATEGORIES+= sysutils/gkrellm
# GPL
PERMIT_PACKAGE_CDROM?= Yes
PERMIT_PACKAGE_FTP?= Yes
PERMIT_DISTFILES_CDROM?=Yes
PERMIT_DISTFILES_FTP?= Yes
WANTLIB?= X11 Xau Xcursor Xdmcp Xext Xfixes Xi Xinerama Xrandr \
Xrender atk-1.0 expat fontconfig z \
freetype gdk-x11-2.0 gdk_pixbuf-2.0 \
glib-2.0 gmodule-2.0 gobject-2.0 glitz png \
gthread-2.0 gtk-x11-2.0 iconv intl m \
pango-1.0 pangocairo-1.0 pangoft2-1.0 \
pixman-1 cairo Xcomposite Xdamage
.if defined(EXTRA_WANTLIB)
WANTLIB+= ${EXTRA_WANTLIB}
.endif
BUILD_DEPENDS+= :gkrellm->=2.2.0:sysutils/gkrellm/gkrellm,-client
RUN_DEPENDS+= :gkrellm->=2.2.0:sysutils/gkrellm/gkrellm,-client
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
NO_REGRESS= Yes
USE_GMAKE= Yes
USE_X11?= Yes
PLUGINDIR= ${PREFIX}/lib/gkrellm2/plugins
do-install:
${INSTALL_DATA_DIR} ${PLUGINDIR}
${INSTALL_DATA} ${PLUGIN} ${PLUGINDIR}