diff options
author | Kevin Lo <kevlo@FreeBSD.org> | 2001-07-08 16:52:47 +0000 |
---|---|---|
committer | Kevin Lo <kevlo@FreeBSD.org> | 2001-07-08 16:52:47 +0000 |
commit | 67cb0e4ed2e710e305a492a61155104465f2b9f2 (patch) | |
tree | 8b6e89c325df4d7b8b35cf5aed2493a533cac118 | |
parent | bb8b021e51c49dc5abd9c24ca914766520641026 (diff) | |
download | ports-67cb0e4ed2e710e305a492a61155104465f2b9f2.tar.gz ports-67cb0e4ed2e710e305a492a61155104465f2b9f2.zip |
Initial import of wmlpq-0.2.1.
wmlpq is a Windowmaker dockapp which monitors up to 5 printqueues,
allowing you to see when your print job has finally been printed.
This is useful when you work in a networked environment with several
printers available, which are not in the same room; or (in some
cases) the same country, and is easier than typing lpq every 30
seconds.
PR: 28750
Submitted by: Patrick Li <pat@databits.net>
Notes
Notes:
svn path=/head/; revision=44935
-rw-r--r-- | print/Makefile | 1 | ||||
-rw-r--r-- | print/wmlpq/Makefile | 36 | ||||
-rw-r--r-- | print/wmlpq/distinfo | 1 | ||||
-rw-r--r-- | print/wmlpq/files/patch-Makefile | 17 | ||||
-rw-r--r-- | print/wmlpq/files/patch-sample.wmlpqrc | 38 | ||||
-rw-r--r-- | print/wmlpq/pkg-comment | 1 | ||||
-rw-r--r-- | print/wmlpq/pkg-descr | 18 | ||||
-rw-r--r-- | print/wmlpq/pkg-message | 11 | ||||
-rw-r--r-- | print/wmlpq/pkg-plist | 6 |
9 files changed, 129 insertions, 0 deletions
diff --git a/print/Makefile b/print/Makefile index fa8da91de30e..40ccc4d756d0 100644 --- a/print/Makefile +++ b/print/Makefile @@ -134,6 +134,7 @@ SUBDIR += trueprint SUBDIR += ttftot42 SUBDIR += virtualpaper + SUBDIR += wmlpq SUBDIR += xdvi SUBDIR += xdvik SUBDIR += xmbibtex diff --git a/print/wmlpq/Makefile b/print/wmlpq/Makefile new file mode 100644 index 000000000000..f3aa73e1caae --- /dev/null +++ b/print/wmlpq/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: wmlpq +# Date created: Thu Jul 5 14:43:55 EDT 2001 +# Whom: Patrick Li <pat@databits.net> +# +# $FreeBSD$ +# + +PORTNAME= wmlpq +PORTVERSION= 0.2.1 +CATEGORIES= print windowmaker +MASTER_SITES= http://www.ur.uklinux.net/wmlpq/dl/ +DISTNAME= ${PORTNAME}_${PORTVERSION} + +MAINTAINER= pat@databits.net + +LIB_DEPENDS= dockapp.1:${PORTSDIR}/x11-wm/libdockapp + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +USE_X_PREFIX= yes +USE_XPM= yes + +MAN1= ${PORTNAME}.1x + +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + @${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1x ${PREFIX}/man/man1 +.ifndef(NOPORTDOCS) + @${MKDIR} ${PREFIX}/share/doc/${PORTNAME} + @${MKDIR} ${PREFIX}/share/examples/${PORTNAME} + @${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/${PORTNAME} + @${INSTALL_DATA} ${WRKSRC}/sample.wmlpqrc ${PREFIX}/share/examples/${PORTNAME} + @${INSTALL_DATA} ${WRKSRC}/wmlpqrc ${PREFIX}/share/examples/${PORTNAME} +.endif #NOPORTDOCS + @${SED} -e "s|/usr/X11R6|${PREFIX}|" ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/print/wmlpq/distinfo b/print/wmlpq/distinfo new file mode 100644 index 000000000000..bf926e22f1c2 --- /dev/null +++ b/print/wmlpq/distinfo @@ -0,0 +1 @@ +MD5 (wmlpq_0.2.1.tar.gz) = 9ac9b52ea1394ab39b1b3320ce726b75 diff --git a/print/wmlpq/files/patch-Makefile b/print/wmlpq/files/patch-Makefile new file mode 100644 index 000000000000..efff6dd31107 --- /dev/null +++ b/print/wmlpq/files/patch-Makefile @@ -0,0 +1,17 @@ +--- Makefile.orig Thu Jul 5 20:09:50 2001 ++++ Makefile Thu Jul 5 20:10:23 2001 +@@ -1,13 +1,11 @@ +-prefix= + CPPFLAGS = -I/usr/X11R6/include -I/usr/local/include + LIBS = -lXpm -lX11 -ldockapp + LDFLAGS = -L/usr/X11R6/lib -L/usr/local/lib +-CFLAGS = -O2 -Wall ++CFLAGS += -Wall + DFLAGS = -ggdb3 -Wall + + wmlpq: wmlpq.c wmlpq-master.xpm + cc $(CFLAGS) $(LDFLAGS) $(CPPFLAGS) -o wmlpq $(LIBS) wmlpq.c +- strip wmlpq + + debug: wmlpq.c wmlpq-master.xpm + cc $(DFLAGS) $(LDFLAGS) $(CPPFLAGS) -o wmlpq $(LIBS) wmlpq.c diff --git a/print/wmlpq/files/patch-sample.wmlpqrc b/print/wmlpq/files/patch-sample.wmlpqrc new file mode 100644 index 000000000000..4468243f68d3 --- /dev/null +++ b/print/wmlpq/files/patch-sample.wmlpqrc @@ -0,0 +1,38 @@ +--- sample.wmlpqrc.orig Thu Jul 5 20:49:27 2001 ++++ sample.wmlpqrc Thu Jul 5 20:51:29 2001 +@@ -1,20 +1,19 @@ +- +-lptype lpd # Can be lpd or lpsched as appropriate. +-queuecmd /usr/local/bin/lpq # Only necessary if your queuecommand is +- # in a non-standard place, or if it needs +- # some funny options. ++lptype lpd # Can be lpd or lpsched as appropriate. ++queuecmd /usr/bin/lpq # Only necessary if your queuecommand is ++ # in a non-standard place, or if it needs ++ # some funny options. + # The above two options can also be specified on a per-queue basis if necessary. + +-label.0 HP137 # The label which will appear in the dockapp. +-queuename.0 HP137 # The name of the printqueue. (May be of the +- # form queue@host if you're using pdq or +- # rlpr.) +-interval.0 30 # The checking interval in seconds. ++label.0 HP137 # The label which will appear in the dockapp. ++queuename.0 HP137 # The name of the printqueue. (May be of the ++ # form queue@host if you're using pdq or ++ # rlpr.) ++interval.0 30 # The checking interval in seconds. + +-label.1 dj248 +-queuename.1 hp2000 +-interval.1 30 ++label.1 dj248 ++queuename.1 hp2000 ++interval.1 30 + +-label.2 roma +-queuename.2 hproma +-interval.2 30 ++label.2 roma ++queuename.2 hproma ++interval.2 30 diff --git a/print/wmlpq/pkg-comment b/print/wmlpq/pkg-comment new file mode 100644 index 000000000000..08624f3130a4 --- /dev/null +++ b/print/wmlpq/pkg-comment @@ -0,0 +1 @@ +Print queue monitoring dockapp for Window Maker diff --git a/print/wmlpq/pkg-descr b/print/wmlpq/pkg-descr new file mode 100644 index 000000000000..9366c3a7b5e1 --- /dev/null +++ b/print/wmlpq/pkg-descr @@ -0,0 +1,18 @@ +wmlpq is a Windowmaker dockapp which monitors up to 5 printqueues, +allowing you to see when your print job has finally been printed. +This is useful when you work in a networked environment with several +printers available, which are not in the same room; or (in some +cases) the same country, and is easier than typing lpq every 30 +seconds. + +Currently it requires that you are running a print server that can +emulate either BSD lpd or SysV lpsched. Experimental support for +cups and pdq is now included. It will display 8 LEDs for each of +up to 5 different printqueues; jobs are shown as green LEDs if +owned by you, red if owned by somebody else, and they move to the +left as they move up the queue. + +WWW: http://www.ur.uklinux.net/wmlpq/ +Author: Toby White <tow@theor.ch.cam.ac.uk> + +- Patrick Li <pat@databits.net> diff --git a/print/wmlpq/pkg-message b/print/wmlpq/pkg-message new file mode 100644 index 000000000000..83cf5c0effda --- /dev/null +++ b/print/wmlpq/pkg-message @@ -0,0 +1,11 @@ +The wmlpq example configuration file has been installed to: + + (/usr/X11R6/share/examples/wmlpq/sample.wmlpqrc) + +Default configuration file that wmlpq looks for is ${HOME}/.wmlpqrc +Follow the example configuration file and also dont forget to read +the README file located at: + + (/usr/X11R6/share/doc/wmlpq/README) + + diff --git a/print/wmlpq/pkg-plist b/print/wmlpq/pkg-plist new file mode 100644 index 000000000000..6ad6a905b11e --- /dev/null +++ b/print/wmlpq/pkg-plist @@ -0,0 +1,6 @@ +bin/wmlpq +%%PORTDOCS%%share/doc/wmlpq/README +%%PORTDOCS%%share/examples/wmlpq/sample.wmlpqrc +%%PORTDOCS%%share/examples/wmlpq/wmlpqrc +%%PORTDOCS%%@dirrm share/examples/wmlpq +%%PORTDOCS%%@dirrm share/doc/wmlpq |