1b0e6bac39
- regen PLIST while here - bump ok sthen@ (on a previous diff)
35 lines
1.1 KiB
Makefile
35 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.15 2008/07/11 17:46:56 ajacoutot Exp $
|
|
# XXX hardcoded apm list
|
|
|
|
COMMENT= window bar for holding application launchers
|
|
DISTNAME= matchbox-panel-0.9.3
|
|
PKGNAME= ${DISTNAME}p2
|
|
|
|
MASTER_SITES= ${MASTER_SITES_MATCHBOX:=matchbox-panel/0.9/}
|
|
|
|
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 \
|
|
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>
|
|
|
|
# not all powerpc support apm(4), hence the use of ${ARCH} and macppc
|
|
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "arm" \
|
|
|| ${MACHINE_ARCH} == "i386" || ${ARCH} == "macppc" \
|
|
|| ${MACHINE_ARCH} == "sparc"
|
|
PKG_ARGS+=-DAPM=1
|
|
.else
|
|
PKG_ARGS+=-DAPM=0
|
|
.endif
|