mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
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>
This commit is contained in:
parent
bb8b021e51
commit
67cb0e4ed2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=44935
@ -134,6 +134,7 @@
|
||||
SUBDIR += trueprint
|
||||
SUBDIR += ttftot42
|
||||
SUBDIR += virtualpaper
|
||||
SUBDIR += wmlpq
|
||||
SUBDIR += xdvi
|
||||
SUBDIR += xdvik
|
||||
SUBDIR += xmbibtex
|
||||
|
36
print/wmlpq/Makefile
Normal file
36
print/wmlpq/Makefile
Normal file
@ -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>
|
1
print/wmlpq/distinfo
Normal file
1
print/wmlpq/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (wmlpq_0.2.1.tar.gz) = 9ac9b52ea1394ab39b1b3320ce726b75
|
17
print/wmlpq/files/patch-Makefile
Normal file
17
print/wmlpq/files/patch-Makefile
Normal file
@ -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
|
38
print/wmlpq/files/patch-sample.wmlpqrc
Normal file
38
print/wmlpq/files/patch-sample.wmlpqrc
Normal file
@ -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
|
1
print/wmlpq/pkg-comment
Normal file
1
print/wmlpq/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Print queue monitoring dockapp for Window Maker
|
18
print/wmlpq/pkg-descr
Normal file
18
print/wmlpq/pkg-descr
Normal file
@ -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>
|
11
print/wmlpq/pkg-message
Normal file
11
print/wmlpq/pkg-message
Normal file
@ -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)
|
||||
|
||||
|
6
print/wmlpq/pkg-plist
Normal file
6
print/wmlpq/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user