diff options
author | petef <petef@FreeBSD.org> | 2001-08-28 15:13:10 +0800 |
---|---|---|
committer | petef <petef@FreeBSD.org> | 2001-08-28 15:13:10 +0800 |
commit | 097a2a08b28b3c42860d5e37898d6bfffba09fe2 (patch) | |
tree | fdecc0c1821f70f6c0b949b818ee937a5c00805d /x11/xmotd | |
parent | 6fd1f65ea6cc87c39c40ef09137fad8d6247f062 (diff) | |
download | freebsd-ports-gnome-097a2a08b28b3c42860d5e37898d6bfffba09fe2.tar.gz freebsd-ports-gnome-097a2a08b28b3c42860d5e37898d6bfffba09fe2.tar.zst freebsd-ports-gnome-097a2a08b28b3c42860d5e37898d6bfffba09fe2.zip |
add xmotd 1.16
A message-of-the-day browser for X11 and dumb-terminals
PR: 24713
Submitted by: Matthew West <mwest@uct.ac.za>
Diffstat (limited to 'x11/xmotd')
-rw-r--r-- | x11/xmotd/Makefile | 60 | ||||
-rw-r--r-- | x11/xmotd/distinfo | 1 | ||||
-rw-r--r-- | x11/xmotd/pkg-comment | 1 | ||||
-rw-r--r-- | x11/xmotd/pkg-descr | 9 | ||||
-rw-r--r-- | x11/xmotd/pkg-plist | 1 |
5 files changed, 72 insertions, 0 deletions
diff --git a/x11/xmotd/Makefile b/x11/xmotd/Makefile new file mode 100644 index 000000000000..aa896fd2c994 --- /dev/null +++ b/x11/xmotd/Makefile @@ -0,0 +1,60 @@ +# New ports collection makefile for: xmotd +# Date created: 29 January 2001 +# Whom: Matthew West <mwest@uct.ac.za> +# +# $FreeBSD$ +# + +PORTNAME= xmotd +PORTVERSION= 1.16 +CATEGORIES= x11 +MASTER_SITES= http://www.ee.ryerson.ca/~elf/pub/ + +MAINTAINER= mwest@uct.ac.za + +USE_IMAKE= yes +NO_INSTALL_MANPAGES= yes +XFREE86_HTML_MAN= no + +MAN8= xmotd.8 + +.if defined(USE_HTML) +MAKE_ARGS+= -DHAVE_HTML +.endif + +.if defined(USE_MOTIF) +MAKE_ARGS+= -DMOTIF +.endif + +pre-fetch: + @${ECHO} "" + @${ECHO} "You may use the following build options:" + @${ECHO} "" + @${ECHO} " USE_HTML=yes uses HTML widget instead of ASCII text" + @${ECHO} " USE_MOTIF=yes uses Motif widget library" + @${ECHO} " USE_XPM=yes allows colour XPM pixmaps" + @${ECHO} "" + +post-extract: + @${TOUCH} ${WRKSRC}/xmotd.man + +post-patch: + @${PERL} -pi -e 's:/usr/local/bin/::g' ${WRKSRC}/xmotd.8 +.for file in libhtmlw/HTML-PSformat.c main.c textmode.c xmotd.c + @${PERL} -pi -e 's:malloc.h:stdlib.h:' ${WRKSRC}/${file} +.endfor +.if defined(USE_HTML) + @${PERL} -pi.orig -e 's:XCOMM #define HAVE_HTML:#define HAVE_HTML:g' ${WRKSRC}/Imakefile +.endif +.if defined (USE_MOTIF) + @${PERL} -pi.orig -e 's:XCOMM #define MOTIF:#define MOTIF:g' ${WRKSRC}/Imakefile +.endif +.if defined(USE_XPM) + @${PERL} -pi.orig -e 's:XCOMM #define HAVE_XPM:#define HAVE_XPM:g' ${WRKSRC}/Imakefile +.endif + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/xmotd ${X11BASE}/bin/xmotd + ${INSTALL_MAN} ${WRKSRC}/xmotd.8 ${MANPREFIX}/man/man8 + +.include <bsd.port.mk> diff --git a/x11/xmotd/distinfo b/x11/xmotd/distinfo new file mode 100644 index 000000000000..1c4a35ed7ff3 --- /dev/null +++ b/x11/xmotd/distinfo @@ -0,0 +1 @@ +MD5 (xmotd-1.16.tar.gz) = 23b1b1825bd585d505a42aff13087e00 diff --git a/x11/xmotd/pkg-comment b/x11/xmotd/pkg-comment new file mode 100644 index 000000000000..55c1d0e91dc0 --- /dev/null +++ b/x11/xmotd/pkg-comment @@ -0,0 +1 @@ +A message-of-the-day browser for X11 and dumb-terminals diff --git a/x11/xmotd/pkg-descr b/x11/xmotd/pkg-descr new file mode 100644 index 000000000000..28136e8754e0 --- /dev/null +++ b/x11/xmotd/pkg-descr @@ -0,0 +1,9 @@ +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. + +WWW: http://www.ee.ryerson.ca/~elf/xmotd/ + +-- +mwest@uct.ac.za diff --git a/x11/xmotd/pkg-plist b/x11/xmotd/pkg-plist new file mode 100644 index 000000000000..790539962770 --- /dev/null +++ b/x11/xmotd/pkg-plist @@ -0,0 +1 @@ +bin/xmotd |