fix packaging on archs without apm, pointed out by sturm@

This commit is contained in:
jolan 2005-06-30 21:50:51 +00:00
parent 350925f574
commit eee58ef5cb
3 changed files with 14 additions and 4 deletions

View File

@ -1,4 +1,5 @@
# $OpenBSD: Makefile,v 1.1.1.1 2005/06/17 02:57:30 jolan Exp $
# $OpenBSD: Makefile,v 1.2 2005/06/30 21:50:51 jolan Exp $
# XXX hardcoded apm list
COMMENT= "window bar for holding application launchers"
DISTNAME= matchbox-panel-0.9.2
@ -30,4 +31,11 @@ CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/libpng"
INTLIBS="-liconv -lintl" \
LDFLAGS="-L${LOCALBASE}/lib"
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "macppc" \
|| ${MACHINE_ARCH} == "sparc" || ${MACHINE_ARCH} == "zaurus"
PKG_ARGS+=-DAPM=1
.else
PKG_ARGS+=-DAPM=0
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PFRAG.APM,v 1.1 2005/06/30 21:50:51 jolan Exp $
bin/mb-applet-battery
share/applications/mb-applet-battery.desktop

View File

@ -1,13 +1,12 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2005/06/17 02:57:30 jolan Exp $
@comment $OpenBSD: PLIST,v 1.2 2005/06/30 21:50:51 jolan Exp $
%%APM%%
bin/matchbox-panel
bin/mb-applet-battery
bin/mb-applet-clock
bin/mb-applet-launcher
bin/mb-applet-menu-launcher
@comment bin/mb-applet-system-monitor
@comment bin/mb-applet-xterm-wrapper.sh
share/applications/
share/applications/mb-applet-battery.desktop
share/applications/mb-applet-clock.desktop
share/applications/mb-applet-menu-launcher.desktop
@comment share/applications/mb-applet-system-monitor.desktop