d25cf0992c
A 64x64 pixel application that displays nine buttons. Each of these buttons can be configured via a configuration file to run just about any application you'd like to. Basically, if you can type it in a shell command, wmbutton can run it. It is based on wmcp, by Ben Cohen. PR: ports/11055 Submitted by: Jim Mock <jim@corp.au.triax.com>
42 lines
1.4 KiB
Makefile
42 lines
1.4 KiB
Makefile
# New ports collection makefile for: wmbutton
|
|
# Version required: 0.4
|
|
# Date created: 10 Apr 1999
|
|
# Whom: Jim Mock <jim@phrantic.phear.net>
|
|
#
|
|
# $Id$
|
|
#
|
|
|
|
DISTNAME= wmbutton-0.4
|
|
CATEGORIES= x11 windowmaker
|
|
MASTER_SITES= http://www-personal.ksu.edu/~ehflora/wmbutton/
|
|
|
|
MAINTAINER= jim@phrantic.phear.net
|
|
|
|
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
do-build:
|
|
(cd ${WRKSRC} && make)
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/wmbutton ${PREFIX}/bin
|
|
|
|
post-install:
|
|
@${ECHO} " "
|
|
@${ECHO} "----------------------------------------------------------------------"
|
|
@${ECHO} "===> Installing .wmbutton as ${PREFIX}/share/examples/wmbutton/wmbutton"
|
|
@${ECHO} "===> Modify if you wish and copy to ~/.wmbutton"
|
|
@${ECHO} "----------------------------------------------------------------------"
|
|
@${MKDIR} ${PREFIX}/share/examples/wmbutton && chmod a+rx ${PREFIX}/share/examples/wmbutton
|
|
${INSTALL_DATA} ${WRKSRC}/.wmbutton ${PREFIX}/share/examples/wmbutton/wmbutton
|
|
@${ECHO} " "
|
|
@${ECHO} "-----------------------------------------------------------"
|
|
@${ECHO} "===> Installing README in ${PREFIX}/share/doc/wmbutton"
|
|
@${ECHO} "===> Please read it for usage instructions"
|
|
@${ECHO} "-----------------------------------------------------------"
|
|
@${MKDIR} ${PREFIX}/share/doc/wmbutton && chmod a+rx ${PREFIX}/share/doc/wmbutton
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/wmbutton
|
|
|
|
.include <bsd.port.mk>
|