openbsd-ports/x11/wmmenu/Makefile
wilfried ed2ad4c50d Import of wmmenu-0.5
A dockapp for Window Maker that provides a pop-up menu of icons
that launch applications, like in AfterStep.  The program can be
run more than once at the same time, which allows many different
menus, each one described in a separate file.
2001-04-01 15:17:53 +00:00

44 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2001/04/01 15:17:53 wilfried Exp $
COMMENT= 'wm-dockapp; A popup menu of icons that launch programs'
DISTNAME= wmmenu-0.5
CATEGORIES= x11 x11/windowmaker
NEED_VERSION= 1.378
HOMEPAGE= http://www.fcoutant.freesurf.fr/wmmenu.html
MAINTAINER= Peter Stromberg <wilfried@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://www.fcoutant.freesurf.fr/download/
LIB_DEPENDS= dockapp::devel/libdockapp
FLAVORS= gdk_pixbuf
FLAVOR?=
.if ${FLAVOR:L:Mgdk_pixbuf}
MAKE_FLAGS= GDKPIXBUF=1
LIB_DEPENDS+= gdk_pixbuf_xlib::graphics/gdk-pixbuf
.endif
WRKDIST= ${WRKDIR}/wmmenu
post-patch:
@perl -pi -e 's#%%PREFIX%%#${PREFIX}#' ${WRKSRC}/example/defaults
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/wmmenu ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/wmmenu
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/wmmenu
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/wmmenu/
${INSTALL_DATA} ${WRKSRC}/example/apps ${PREFIX}/share/examples/wmmenu/
${INSTALL_DATA} ${WRKSRC}/example/defaults ${PREFIX}/share/examples/wmmenu/
.include <bsd.port.mk>