openbsd-ports/x11/matchbox/matchbox-panel/Makefile

35 lines
987 B
Makefile
Raw Normal View History

2010-07-30 08:03:08 -04:00
# $OpenBSD: Makefile,v 1.23 2010/07/30 12:03:09 ajacoutot Exp $
# XXX hardcoded apm list
COMMENT= window bar for holding application launchers
2006-07-20 17:00:11 -04:00
DISTNAME= matchbox-panel-0.9.3
2010-07-30 08:03:08 -04:00
REVISION= 6
MASTER_SITES= ${MASTER_SITES_MATCHBOX:=matchbox-panel/0.9/}
2010-07-30 08:03:08 -04:00
LIB_DEPENDS= ::x11/matchbox/libmatchbox
RUN_DEPENDS= :matchbox-common-*:x11/matchbox/matchbox-common \
:desktop-file-utils-*:devel/desktop-file-utils
MODULES= devel/gettext
WANTLIB= X11 Xext Xft Xrender c fontconfig freetype m z \
2006-09-18 06:21:48 -04:00
glib-2.0.>=600.0 gmodule-2.0.>=600.0 gobject-2.0.>=600.0 jpeg \
pango-1.0 pangoft2-1.0 pangoxft-1.0 png Xau Xdmcp expat \
2010-07-30 08:03:08 -04:00
pthread-stubs xcb mb
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS+=--enable-nls
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/libpng" \
HAVEGETTEXT="yes" \
INTLIBS="-liconv -lintl" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>
.for m in ${MACHINE_ARCH} ${MACHINE}
.if ${APM_ARCHS:L:M$m}
PKG_ARGS+=-DAPM=1
.else
PKG_ARGS+=-DAPM=0
.endif
.endfor