diff options
author | kiri <kiri@FreeBSD.org> | 2003-05-06 18:36:57 +0800 |
---|---|---|
committer | kiri <kiri@FreeBSD.org> | 2003-05-06 18:36:57 +0800 |
commit | 3f5324479de2fe986143624e3a5e0bb8828ebe52 (patch) | |
tree | 4fc39c6ed74f6473c2170520fd118279fa8105a8 | |
parent | a74dd75db2326488bd74a0d2b1180d65dc1169d9 (diff) | |
download | freebsd-ports-graphics-3f5324479de2fe986143624e3a5e0bb8828ebe52.tar.gz freebsd-ports-graphics-3f5324479de2fe986143624e3a5e0bb8828ebe52.tar.zst freebsd-ports-graphics-3f5324479de2fe986143624e3a5e0bb8828ebe52.zip |
Original source never maintained.
Approved by: original distrubuter(UEDA Hiroyuki)
-rw-r--r-- | print/gp/Makefile | 74 | ||||
-rw-r--r-- | print/gp/distinfo | 1 | ||||
-rw-r--r-- | print/gp/files/patch-aa | 57 | ||||
-rw-r--r-- | print/gp/files/patch-ab | 15 | ||||
-rw-r--r-- | print/gp/pkg-descr | 18 | ||||
-rw-r--r-- | print/gp/pkg-plist | 36 | ||||
-rw-r--r-- | print/gp/scripts/configure | 6 | ||||
-rw-r--r-- | print/gp/scripts/post-build | 41 |
8 files changed, 0 insertions, 248 deletions
diff --git a/print/gp/Makefile b/print/gp/Makefile deleted file mode 100644 index dd41ffdb4af..00000000000 --- a/print/gp/Makefile +++ /dev/null @@ -1,74 +0,0 @@ -# New ports collection makefile for: GP -# Date created: 15 April 1997 -# Whom: Kiriyama Kazuhiko<kiri@kiri.toba-cmt.ac.jp> -# -# $FreeBSD$ -# - -PORTNAME= gp -PORTVERSION= 2.5.p2 -CATEGORIES+= print tk42 -MASTER_SITES= http://www.itbrain.co.jp/~ueda/GP/ -DISTNAME= GP-2.5p2 - -MAINTAINER= kiri@kiri.toba-cmt.ac.jp -COMMENT?= A GUI Printer manager written with Tcl/Tk - -PATCHDIR= ${.CURDIR}/../../print/gp/files -FILESDIR= ${.CURDIR}/../../print/gp/files -SCRIPTDIR= ${.CURDIR}/../../print/gp/scripts - -RUN_DEPENDS= ${PREFIX}/bin/psbook:${PORTSDIR}/print/psutils-${PAPERSIZE} \ - ${X11BASE}/bin/gv:${PORTSDIR}/print/gv \ - ${PREFIX}/bin/convert:${PORTSDIR}/graphics/ImageMagick - -LANGUAGE?= English - -.if (${LANGUAGE} == "English") -IGNORE= Broken unless someone makes it work with tcl/tk 8.X -ALL_TARGET= filters -#LIB_DEPENDS= tcl76.1:${PORTSDIR}/lang/tcl76 -#RUN_DEPENDS+= ${PREFIX}/bin/wish4.2:${PORTSDIR}/x11-toolkits/tk42 -LANGEXT= en -DOCDIRNAME= Doc -DOCEXT= -PAPERSIZE= letter -.elif (${LANGUAGE} == "Japanese") -ALL_TARGET= ja filters -LIB_DEPENDS= tcl76jp.1:${PORTSDIR}/japanese/tcl76 -RUN_DEPENDS+= ${PREFIX}/bin/wish4.2jp:${PORTSDIR}/japanese/tk42 -LANGEXT= ja -DOCDIRNAME= Doc.ja -DOCEXT= .euc -PAPERSIZE= a4 -.else -IGNORE= Broken unless someone makes it work with tcl/tk 8.X -PAPERSIZE= a4 -.endif -MAKE_ENV= LANGUAGE=${LANGUAGE} LANGEXT=${LANGEXT} -SCRIPTS_ENV= MV=${MV} RM=${RM} SED=${SED} LANGUAGE=${LANGUAGE} LANGEXT=${LANGEXT} - -.if (${LANGEXT} == "en") -PORTDOCDIR= ${PREFIX}/share/doc/GP/ -.else -PORTDOCDIR= ${PREFIX}/share/doc/GP/${LANGEXT}/ -.endif - -post-install: - if [ -h ${PREFIX}/bin/GP ]; then \ - ${MV} ${PREFIX}/bin/GP ${PREFIX}/bin/GP.previous; \ - fi - ${LN} -sf GP${LANGEXT} ${PREFIX}/bin/GP -.if !defined(NOPORTDOCS) - @${MKDIR} ${PORTDOCDIR}Manual/image - @(cd ${WRKSRC}; \ - ${INSTALL_DATA} ${DOCDIRNAME}/*${DOCEXT} ${PORTDOCDIR}; \ - ) - @(cd ${WRKSRC}/Manual; \ - ${INSTALL_DATA} GP.gif README${DOCEXT} index.html ${PORTDOCDIR}Manual; \ - ${INSTALL_DATA} ${LANGUAGE}/*.html ${PORTDOCDIR}Manual; \ - ${INSTALL_DATA} ${LANGUAGE}/image/*.gif ${PORTDOCDIR}Manual/image; \ - ) -.endif - -.include <bsd.port.mk> diff --git a/print/gp/distinfo b/print/gp/distinfo deleted file mode 100644 index 09783b8defb..00000000000 --- a/print/gp/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (GP-2.5p2.tar.gz) = aa4675dedb4417e18e8c92aa0bae7840 diff --git a/print/gp/files/patch-aa b/print/gp/files/patch-aa deleted file mode 100644 index 54eabf46e7a..00000000000 --- a/print/gp/files/patch-aa +++ /dev/null @@ -1,57 +0,0 @@ ---- Makefile.orig Tue May 5 11:57:38 1998 -+++ Makefile Wed Aug 19 22:59:49 1998 -@@ -8,12 +8,18 @@ - MKDIR = /bin/mkdir - - --PREFIX = /usr/local/ -+#PREFIX = /usr/local/ - BINDIR = $(PREFIX)/bin --LIBDIR = $(PREFIX)/lib/GP -+LIBDIR = $(PREFIX)/lib/GP/${LANGEXT}/ - --FILTERS = `ls filters` --FILTERS.SAMPLE = `ls filters.sample` -+.if (${LANGUAGE} == "English") -+LIBDIR = $(PREFIX)/lib/GP/ -+FILTERS= a2ps dvips ImageMagick -+.elif (${LANGUAGE} == "Japanese") -+FILTERS= a2ps-j dvi2ps-j ImageMagick -+.endif -+ -+FILTERS.SAMPLE!= ls filters.sample - - ICONS = printer.xbm exit.xbm - -@@ -45,25 +51,25 @@ - - install.bin: - @$(MKDIR) -p $(BINDIR) -- @$(INSTALL) -m 755 GP $(BINDIR)/GP -+ @$(INSTALL) -m 755 GP $(BINDIR)/GP${LANGEXT} - @echo Installing GP in $(BINDIR) - - install.lib: -- @$(MKDIR) -p $(LIBDIR)/filters -- @$(MKDIR) -p $(LIBDIR)/icons -+ @$(MKDIR) -p $(LIBDIR)filters -+ @$(MKDIR) -p $(LIBDIR)icons - @$(INSTALL) -m 644 lib/filetype $(LIBDIR) - @$(INSTALL) -m 644 lib/printer $(LIBDIR) - @for i in $(ICONS); do \ -- $(INSTALL) -m 644 icons/$$i $(LIBDIR)/icons; \ -+ $(INSTALL) -m 644 icons/$$i $(LIBDIR)icons; \ - done - @echo Installing GP Configuration files in $(LIBDIR) - - install.filters: - @echo -- @echo Filter Configuration files are now installing in $(LIBDIR)/filters... -+ @echo Filter Configuration files are now installing in $(LIBDIR)filters... - @for i in $(FILTERS); do \ - echo Installing $$i; \ -- $(INSTALL) -m 644 filters/$$i $(LIBDIR)/filters; \ -+ $(INSTALL) -m 644 filters/$$i $(LIBDIR)filters; \ - done - - ja: diff --git a/print/gp/files/patch-ab b/print/gp/files/patch-ab deleted file mode 100644 index 482b5bb0d60..00000000000 --- a/print/gp/files/patch-ab +++ /dev/null @@ -1,15 +0,0 @@ -*** lib/printer~ Sun Jan 25 17:27:33 1998 ---- lib/printer Mon Jan 26 23:21:33 1998 -*************** -*** 13,17 **** - # - # Sample Entries : - # -! # ps # Monochrome - # color # Full Color ---- 13,17 ---- - # - # Sample Entries : - # -! ps # Monochrome - # color # Full Color diff --git a/print/gp/pkg-descr b/print/gp/pkg-descr deleted file mode 100644 index 8c13ae816ae..00000000000 --- a/print/gp/pkg-descr +++ /dev/null @@ -1,18 +0,0 @@ -GP (GUI Printer) is a printing tool on X-Window with Tcl/Tk -interactively without any attention to the filetypes or the -printernames in the printcap. - - Using a PostScript printer on GP, you have to name the -printer "ps" in the printcap. - -To change the printer information or the associated printer -with filetypes, edit the following two files: - - /usr/local/lib/GP/printer - /usr/local/lib/GP/filetype - - For more information, see the files in the -"/usr/local/share/doc/GP" directory. - - Written by UEDA Hiroyuki (hueda@kamome.or.jp), - KAMOME Internet, JAPAN diff --git a/print/gp/pkg-plist b/print/gp/pkg-plist deleted file mode 100644 index 99da43e976d..00000000000 --- a/print/gp/pkg-plist +++ /dev/null @@ -1,36 +0,0 @@ -bin/GPen -@exec cd %B;if [ -h GP ]; then mv GP GP.previous; fi;ln -sf %f GP -@unexec cd %B;ls -l GP GP.previous 2>/dev/null|awk -v f=%f '$11==f{cmd="rm -f " $9; system(cmd)}';if [ -h GP.previous ]; then mv GP.previous GP; fi -lib/GP/filters/ImageMagick -lib/GP/filters/a2ps -lib/GP/filters/dvips -lib/GP/icons/printer.xbm -lib/GP/icons/exit.xbm -lib/GP/filetype -lib/GP/printer -share/doc/GP/README -share/doc/GP/COPYING -share/doc/GP/Config -share/doc/GP/Filters_conf -share/doc/GP/History -share/doc/GP/Install -share/doc/GP/Manual/GP.gif -share/doc/GP/Manual/index.html -share/doc/GP/Manual/README -share/doc/GP/Manual/bug_info.html -share/doc/GP/Manual/future.html -share/doc/GP/Manual/intro.html -share/doc/GP/Manual/option.html -share/doc/GP/Manual/print.html -share/doc/GP/Manual/queue.html -share/doc/GP/Manual/queue_remove.html -share/doc/GP/Manual/start.html -share/doc/GP/Manual/image/Remove.gif -share/doc/GP/Manual/image/Queue.gif -share/doc/GP/Manual/image/Print.gif -share/doc/GP/Manual/image/Option.gif -share/doc/GP/Manual/image/GPicon.gif -@dirrm lib/GP/filters -@dirrm lib/GP/icons -@dirrm share/doc/GP/Manual/image -@dirrm share/doc/GP/Manual diff --git a/print/gp/scripts/configure b/print/gp/scripts/configure deleted file mode 100644 index 9775e751ec2..00000000000 --- a/print/gp/scripts/configure +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -cd ${WRKSRC} - -${MV} Makefile Makefile.bak -${SED} -e 's@^PREFIX[ ]*=.*$@#&@' < Makefile.bak > Makefile diff --git a/print/gp/scripts/post-build b/print/gp/scripts/post-build deleted file mode 100644 index b1d19955577..00000000000 --- a/print/gp/scripts/post-build +++ /dev/null @@ -1,41 +0,0 @@ -#!/bin/sh - -cd ${WRKSRC} - -${MV} GP GP.bak -if [ X"${LANGUAGE}" = "XEnglish" ]; then -${SED} \ --e 's@^\(set[ ]*PRINTER_LIST[ ]*\)"[^"]*"\(.*\)$@\1"%%PREFIX%%/lib/GP/printer"\2@' \ --e 's@^\(set[ ]*FILETYPE_LIST[ ]*\)"[^"]*"\(.*\)$@\1"%%PREFIX%%/lib/GP/filetype"\2@' \ --e 's@^\(set[ ]*FILTERS_DIR[ ]*\)"[^"]*"\(.*\)$@\1"%%PREFIX%%/lib/GP/filters"\2@' \ --e 's@^\(set[ ]*ICONS_PATH[ ]*\)"[^"]*"\(.*\)$@\1"%%PREFIX%%/lib/GP/icons"\2@' \ - < GP.bak > GP -elif [ X"${LANGUAGE}" = "XJapanese" ]; then -${SED} \ --e 's@^\(set[ ]*PRINTER_LIST[ ]*\)"[^"]*"\(.*\)$@\1"%%PREFIX%%/lib/GP/ja/printer"\2@' \ --e 's@^\(set[ ]*FILETYPE_LIST[ ]*\)"[^"]*"\(.*\)$@\1"%%PREFIX%%/lib/GP/ja/filetype"\2@' \ --e 's@^\(set[ ]*FILTERS_DIR[ ]*\)"[^"]*"\(.*\)$@\1"%%PREFIX%%/lib/GP/ja/filters"\2@' \ --e 's@^\(set[ ]*ICONS_PATH[ ]*\)"[^"]*"\(.*\)$@\1"%%PREFIX%%/lib/GP/ja/icons"\2@' \ - < GP.bak > GP -fi -${MV} GP GP.bak -${SED} \ - -e "s@%%PREFIX%%@${PREFIX}@g" \ - -e 's@^\(set[ ]*PS_PREVIEWER[ ]*\)"[^"]*"\(.*\)$@\1"/usr/X11R6/bin/gv"\2@' \ - < GP.bak > GP - -cd ${WRKSRC}/filters - -if [ X"${LANGUAGE}" = "XEnglish" ]; then - for f in a2ps dvips; do - ${MV} ${f} ${f}.bak - ${SED} -e 's@^\(NUMBER[ ]*=\).*$@\1 1@' < ${f}.bak > ${f} - ${RM} -f ${f}.bak - done -elif [ X"${LANGUAGE}" = "XJapanese" ]; then - for f in a2ps-j dvi2ps-j; do - ${MV} ${f} ${f}.bak - ${SED} -e 's@^\(NUMBER[ ]*=\).*$@\1 1@' < ${f}.bak > ${f} - ${RM} -f ${f}.bak - done -fi |