2006-02-07 23:54:48 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.10 2006/02/08 04:54:51 david Exp $
|
2001-04-01 11:17:53 -04:00
|
|
|
|
|
|
|
COMMENT= 'wm-dockapp; A popup menu of icons that launch programs'
|
|
|
|
|
2002-05-15 04:33:53 -04:00
|
|
|
DISTNAME= wmmenu-1.2
|
2001-04-01 11:17:53 -04:00
|
|
|
CATEGORIES= x11 x11/windowmaker
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.fcoutant.freesurf.fr/wmmenu.html
|
|
|
|
|
|
|
|
MAINTAINER= Peter Stromberg <wilfried@openbsd.org>
|
|
|
|
|
2002-04-19 09:19:19 -04:00
|
|
|
# GPL
|
2001-04-01 11:17:53 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-12-19 12:27:00 -05:00
|
|
|
WANTLIB= X11 Xext Xpm c m
|
2001-04-01 11:17:53 -04:00
|
|
|
|
|
|
|
MASTER_SITES= http://www.fcoutant.freesurf.fr/download/
|
|
|
|
|
2001-07-09 13:10:49 -04:00
|
|
|
USE_X11= Yes
|
|
|
|
|
2001-04-01 11:17:53 -04:00
|
|
|
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
|
2004-12-19 12:27:00 -05:00
|
|
|
WANTLIB+= gdk glib gmodule gtk intl jpeg png tiff z
|
2001-04-01 11:17:53 -04:00
|
|
|
.endif
|
|
|
|
|
|
|
|
WRKDIST= ${WRKDIR}/wmmenu
|
|
|
|
|
2006-02-07 23:54:48 -05:00
|
|
|
pre-configure:
|
2001-04-01 11:17:53 -04:00
|
|
|
@perl -pi -e 's#%%PREFIX%%#${PREFIX}#' ${WRKSRC}/example/defaults
|
|
|
|
|
2002-10-29 14:48:57 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2001-04-01 11:17:53 -04:00
|
|
|
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>
|