2010-07-30 08:03:08 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.23 2010/07/30 12:03:09 ajacoutot Exp $
|
2005-06-30 17:50:51 -04:00
|
|
|
# XXX hardcoded apm list
|
2005-06-16 22:57:30 -04:00
|
|
|
|
2007-09-15 16:04:18 -04:00
|
|
|
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
|
2005-06-16 22:57:30 -04:00
|
|
|
|
2008-04-23 18:18:27 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITES_MATCHBOX:=matchbox-panel/0.9/}
|
2005-06-16 22:57:30 -04:00
|
|
|
|
2010-07-30 08:03:08 -04:00
|
|
|
LIB_DEPENDS= ::x11/matchbox/libmatchbox
|
2007-12-15 16:44:24 -05:00
|
|
|
RUN_DEPENDS= :matchbox-common-*:x11/matchbox/matchbox-common \
|
|
|
|
:desktop-file-utils-*:devel/desktop-file-utils
|
2005-06-16 22:57:30 -04:00
|
|
|
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 \
|
2009-08-11 04:38:41 -04:00
|
|
|
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
|
2005-06-16 22:57:30 -04:00
|
|
|
|
|
|
|
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"
|
|
|
|
|
2005-07-25 14:08:27 -04:00
|
|
|
.include <bsd.port.mk>
|
2010-03-21 07:35:26 -04:00
|
|
|
|
|
|
|
.for m in ${MACHINE_ARCH} ${MACHINE}
|
|
|
|
.if ${APM_ARCHS:L:M$m}
|
|
|
|
PKG_ARGS+=-DAPM=1
|
|
|
|
.else
|
|
|
|
PKG_ARGS+=-DAPM=0
|
|
|
|
.endif
|
|
|
|
.endfor
|