Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Apr 1999 17:37:14 +1000 (EST)
From:      jim@phrantic.phear.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/11055: new port: wmbutton-0.4
Message-ID:  <199904100737.RAA29524@corp.au.triax.com>

next in thread | raw e-mail | index | archive | help

>Number:         11055
>Category:       ports
>Synopsis:       new port: wmbutton-0.4
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 10 00:40:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Jim Mock
>Release:        FreeBSD 3.1-RELEASE i386
>Organization:
>Environment:

	

>Description:

A dockapp with nine buttons that can be configured to launch apps from
the Window Maker dock or AfterStep Wharf.

>How-To-Repeat:

	

>Fix:
	
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	wmbutton
#	wmbutton/patches
#	wmbutton/patches/patch-aa
#	wmbutton/Makefile
#	wmbutton/files
#	wmbutton/files/md5
#	wmbutton/pkg
#	wmbutton/pkg/COMMENT
#	wmbutton/pkg/DESCR
#	wmbutton/pkg/PLIST
#
echo c - wmbutton
mkdir -p wmbutton > /dev/null 2>&1
echo c - wmbutton/patches
mkdir -p wmbutton/patches > /dev/null 2>&1
echo x - wmbutton/patches/patch-aa
sed 's/^X//' >wmbutton/patches/patch-aa << 'END-of-wmbutton/patches/patch-aa'
X--- Makefile.orig	Sat Apr 10 16:49:04 1999
X+++ Makefile	Sat Apr 10 16:51:43 1999
X@@ -1,15 +1,15 @@
X-INCLUDES =-I/usr/X11R6/include/X11 -I/usr/local/include -I/usr/include/X11R6/X11
X-LIBINC =-L/usr/X11R6/lib -L/usr/include/lib
X+INCLUDES =-I/usr/X11R6/include/X11 -I/usr/local/include -I/usr/X11R6/include
X+LIBINC =-L/usr/X11R6/lib -L/usr/local/lib
X LIBS = -lX11 -lXpm -lXext
X 
X TARGET = wmbutton
X OBJECTS = wmbutton.o readln.o
X 
X .c.o:
X-	gcc -O2 -c -Wall ${INCLUDES} ${FLAGS} $< -o $*.o
X+	${CC} -O2 -c -Wall ${INCLUDES} ${CFLAGS} $< -o $*.o
X 
X ${TARGET}: ${OBJECTS}
X-	gcc -O2 -o ${TARGET} ${OBJECTS} ${LIBINC} ${LIBS}
X+	${CC} -O2 -o ${TARGET} ${OBJECTS} ${LIBINC} ${LIBS}
X 
X clean::
X 	for i in ${OBJECTS}; do if [ -e $$i ] ; then rm $$i; fi; done 
END-of-wmbutton/patches/patch-aa
echo x - wmbutton/Makefile
sed 's/^X//' >wmbutton/Makefile << 'END-of-wmbutton/Makefile'
X# New ports collection makefile for:	wmbutton
X# Version required:		0.4
X# Date created:			10 Apr 1999
X# Whom:				Jim Mock <jim@phrantic.phear.net>
X#
X# $Id$
X#
X
XDISTNAME=	wmbutton-0.4
XCATEGORIES=	misc windowmaker
XMASTER_SITES=	http://www-personal.ksu.edu/~ehflora/wmbutton/
X
XMAINTAINER=	jim@phrantic.phear.net
X
XLIB_DEPENDS=	Xpm.4:${PORTSDIR}/graphics/xpm
X
XUSE_X_PREFIX=	yes
X
Xdo-build:
X	(cd ${WRKSRC} && make)
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/wmbutton ${PREFIX}/bin
X
Xpost-install:
X	@${ECHO} "		"
X	@${ECHO} "----------------------------------------------------------------------"
X	@${ECHO} "===> Installing .wmbutton as ${PREFIX}/share/examples/wmbutton/wmbutton"
X	@${ECHO} "===> Modify if you wish and copy to ~/.wmbutton"
X	@${ECHO} "----------------------------------------------------------------------"
X	@${MKDIR} ${PREFIX}/share/examples/wmbutton && chmod a+rx ${PREFIX}/share/examples/wmbutton
X	${INSTALL_DATA} ${WRKSRC}/.wmbutton ${PREFIX}/share/examples/wmbutton/wmbutton
X	@${ECHO} "		"
X	@${ECHO} "-----------------------------------------------------------"
X	@${ECHO} "===> Installing README in ${PREFIX}/share/doc/wmbutton"
X	@${ECHO} "===> Please read it for usage instructions"
X	@${ECHO} "-----------------------------------------------------------"
X	@${MKDIR} ${PREFIX}/share/doc/wmbutton && chmod a+rx ${PREFIX}/share/doc/wmbutton
X	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/wmbutton
X
X.include <bsd.port.mk>
END-of-wmbutton/Makefile
echo c - wmbutton/files
mkdir -p wmbutton/files > /dev/null 2>&1
echo x - wmbutton/files/md5
sed 's/^X//' >wmbutton/files/md5 << 'END-of-wmbutton/files/md5'
XMD5 (wmbutton-0.4.tar.gz) = 77b24ab49acfb667116d518d4bb99990
END-of-wmbutton/files/md5
echo c - wmbutton/pkg
mkdir -p wmbutton/pkg > /dev/null 2>&1
echo x - wmbutton/pkg/COMMENT
sed 's/^X//' >wmbutton/pkg/COMMENT << 'END-of-wmbutton/pkg/COMMENT'
XA dockapp that displays 9 buttons to run apps of your choice.
END-of-wmbutton/pkg/COMMENT
echo x - wmbutton/pkg/DESCR
sed 's/^X//' >wmbutton/pkg/DESCR << 'END-of-wmbutton/pkg/DESCR'
XWmbutton is a 64x64 pixel application that displays nine buttons.  
XEach of these buttons can be configured via a configuration file to
Xrun just about any application you'd like to.  Basically, if you can
Xtype it in a shell command, wmbutton can run it.  It is based on wmcp,
Xby Ben Cohen.
X
XWWW Homepage:  http://www-personal.ksu.edu/~ehflora/wmbutton/index.html
X
X- Jim <jim@phrantic.phear.net>
END-of-wmbutton/pkg/DESCR
echo x - wmbutton/pkg/PLIST
sed 's/^X//' >wmbutton/pkg/PLIST << 'END-of-wmbutton/pkg/PLIST'
Xbin/wmbutton
Xshare/examples/wmbutton/wmbutton
Xshare/doc/wmbutton/README
X@dirrm share/examples/wmbutton
X@dirrm share/doc/wmbutton
END-of-wmbutton/pkg/PLIST
exit

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904100737.RAA29524>