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

43 lines
1.2 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.11 2007/12/15 21:44:24 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
PKGNAME= ${DISTNAME}p0
CATEGORIES= x11
MASTER_SITES= http://projects.o-hand.com/matchbox/sources/matchbox-panel/0.9/
HOMEPAGE= http://projects.o-hand.com/matchbox/
# GPL
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
USE_X11= Yes
2006-09-18 06:21:48 -04:00
LIB_DEPENDS= mb.>=1::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
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>
.if ${MACHINE_ARCH} == "i386" || ${ARCH} == "macppc" \
|| ${MACHINE_ARCH} == "sparc" || ${ARCH} == "zaurus"
PKG_ARGS+=-DAPM=1
.else
PKG_ARGS+=-DAPM=0
.endif