Date: Mon, 29 Jan 2001 14:53:05 +0200 From: mwest@uct.ac.za To: FreeBSD-gnats-submit@freebsd.org Subject: ports/24713: New port: xmotd - message-of-the-day browser for X11 Message-ID: <E14NDnt-00021M-00@casper2.cs.uct.ac.za>
next in thread | raw e-mail | index | archive | help
>Number: 24713 >Category: ports >Synopsis: New port: xmotd - message-of-the-day browser for X11 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jan 29 05:00:04 PST 2001 >Closed-Date: >Last-Modified: >Originator: Matthew West >Release: FreeBSD 4.2-STABLE i386 >Organization: University of Cape Town >Environment: >Description: xmotd is a message-of-the-day browser for X11 and dumb-terminals, that can also be used to broadcast messages to users logged in across a network. xmotd periodically checks whether a file has been modified and pops up and displays the contents of the file, if it has. >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: # # xmotd # xmotd/Makefile # xmotd/distinfo # xmotd/pkg-comment # xmotd/pkg-descr # xmotd/pkg-plist # echo c - xmotd mkdir -p xmotd > /dev/null 2>&1 echo x - xmotd/Makefile sed 's/^X//' >xmotd/Makefile << 'END-of-xmotd/Makefile' X# New ports collection makefile for: xmotd X# Date created: 29 January 2001 X# Whom: Matthew West <mwest@uct.ac.za> X# X# $FreeBSD$ X# X XPORTNAME= xmotd XPORTVERSION= 1.16 XCATEGORIES= x11 XMASTER_SITES= http://www.ee.ryerson.ca/~elf/pub/ X XMAINTAINER= mwest@uct.ac.za X XUSE_IMAKE= yes XMANCOMPRESSED= no X XMAN8= xmotd.8 X X.if defined(USE_HTML) XMAKE_ARGS+= -DHAVE_HTML X.endif X X.if defined(USE_MOTIF) XMAKE_ARGS+= -DMOTIF X.endif X Xpre-fetch: X @${ECHO} "" X @${ECHO} "You may use the following build options:" X @${ECHO} "" X @${ECHO} " USE_HTML=yes uses HTML widget instead of ASCII text" X @${ECHO} " USE_MOTIF=yes uses Motif widget library" X @${ECHO} " USE_XPM=yes allows colour XPM pixmaps" X @${ECHO} "" X Xdo-patch: X.if defined(USE_HTML) X @${PERL} -pi.orig -e 's:XCOMM #define HAVE_HTML:#define HAVE_HTML:g' ${WRKSRC}/Imakefile X.endif X.if defined (USE_MOTIF) X @${PERL} -pi.orig -e 's:XCOMM #define MOTIF:#define MOTIF:g' ${WRKSRC}/Imakefile X.endif X.if defined(USE_XPM) X @${PERL} -pi.orig -e 's:XCOMM #define HAVE_XPM:#define HAVE_XPM:g' ${WRKSRC}/Imakefile X.endif X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/xmotd ${X11BASE}/bin/xmotd X ${INSTALL_MAN} ${WRKSRC}/xmotd.8 ${MANPREFIX}/man/man8 X X.include <bsd.port.mk> END-of-xmotd/Makefile echo x - xmotd/distinfo sed 's/^X//' >xmotd/distinfo << 'END-of-xmotd/distinfo' XMD5 (xmotd-1.16.tar.gz) = 23b1b1825bd585d505a42aff13087e00 END-of-xmotd/distinfo echo x - xmotd/pkg-comment sed 's/^X//' >xmotd/pkg-comment << 'END-of-xmotd/pkg-comment' XA message-of-the-day browser for X11 and dumb-terminals END-of-xmotd/pkg-comment echo x - xmotd/pkg-descr sed 's/^X//' >xmotd/pkg-descr << 'END-of-xmotd/pkg-descr' Xxmotd is a message-of-the-day browser for X11 and dumb-terminals, that Xcan also be used to broadcast messages to users logged in across a Xnetwork. xmotd periodically checks whether a file has been modified Xand pops up and displays the contents of the file, if it has. X XWWW: http://www.ee.ryerson.ca/~elf/xmotd/ X X-- Xmwest@uct.ac.za END-of-xmotd/pkg-descr echo x - xmotd/pkg-plist sed 's/^X//' >xmotd/pkg-plist << 'END-of-xmotd/pkg-plist' Xbin/xmotd END-of-xmotd/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?E14NDnt-00021M-00>