aboutsummaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2014-04-13 10:55:38 +0000
committerRene Ladan <rene@FreeBSD.org>2014-04-13 10:55:38 +0000
commitbac6e092c4705f6a79bf323ae7961d92aa017bb5 (patch)
tree945be4c82f4ab2b27427f5ba33627b6ec0e06991 /print
parent0bd8a54ab1df83aba8d606431f2ca378711e1d69 (diff)
downloadports-bac6e092c4705f6a79bf323ae7961d92aa017bb5.tar.gz
ports-bac6e092c4705f6a79bf323ae7961d92aa017bb5.zip
Notes
Diffstat (limited to 'print')
-rw-r--r--print/Makefile3
-rw-r--r--print/cpp2latex/Makefile41
-rw-r--r--print/cpp2latex/distinfo2
-rw-r--r--print/cpp2latex/files/patch-cpp2latex-main.cpp11
-rw-r--r--print/cpp2latex/pkg-descr4
-rw-r--r--print/guitartex/Makefile48
-rw-r--r--print/guitartex/distinfo2
-rw-r--r--print/guitartex/pkg-descr10
-rw-r--r--print/guitartex/pkg-message7
-rw-r--r--print/guitartex/pkg-plist173
-rw-r--r--print/pnm2ppa/Makefile62
-rw-r--r--print/pnm2ppa/distinfo2
-rw-r--r--print/pnm2ppa/files/asciippafilter.SH5
-rw-r--r--print/pnm2ppa/files/patch-docs__en__pnm2ppa.145
-rw-r--r--print/pnm2ppa/files/patch-pnm2ppa.conf29
-rw-r--r--print/pnm2ppa/files/patch-text-en.h11
-rw-r--r--print/pnm2ppa/files/ppafilter.SH4
-rw-r--r--print/pnm2ppa/pkg-descr7
-rw-r--r--print/pnm2ppa/pkg-install18
-rw-r--r--print/pnm2ppa/pkg-message17
20 files changed, 0 insertions, 501 deletions
diff --git a/print/Makefile b/print/Makefile
index 691228eb140c..e167dfe0d8e4 100644
--- a/print/Makefile
+++ b/print/Makefile
@@ -27,7 +27,6 @@
SUBDIR += cdlabelgen
SUBDIR += cloudprint
SUBDIR += cm-super
- SUBDIR += cpp2latex
SUBDIR += cups
SUBDIR += cups-base
SUBDIR += cups-bjnp
@@ -98,7 +97,6 @@
SUBDIR += gspdf
SUBDIR += gsview
SUBDIR += gtklp
- SUBDIR += guitartex
SUBDIR += gutenprint
SUBDIR += gutenprint-base
SUBDIR += gutenprint-cups
@@ -235,7 +233,6 @@
SUBDIR += pkipplib
SUBDIR += pkpgcounter
SUBDIR += pmw
- SUBDIR += pnm2ppa
SUBDIR += poster
SUBDIR += ps2eps
SUBDIR += pscal
diff --git a/print/cpp2latex/Makefile b/print/cpp2latex/Makefile
deleted file mode 100644
index 76cba6b9d4c9..000000000000
--- a/print/cpp2latex/Makefile
+++ /dev/null
@@ -1,41 +0,0 @@
-# Created by: ijliao
-# $FreeBSD$
-
-PORTNAME= cpp2latex
-PORTVERSION= 2.3
-CATEGORIES= print
-MASTER_SITES= http://www.arnoldarts.de/files/cpp2latex/
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Converts C++ source to output that can be used in LaTeX documents
-
-LICENSE= GPLv2 GPLv3
-LICENSE_COMB= dual
-
-DEPRECATED= Unmaintained since 2001
-EXPIRATION_DATE= 2014-04-12
-GNU_CONFIGURE= yes
-
-PORTDOCS= AUTHORS ChangeLog README TODO
-
-PLIST_FILES= bin/cpp2latex
-
-NO_STAGE= yes
-
-OPTIONS_DEFINE= DOCS
-
-.include <bsd.port.options.mk>
-
-post-patch:
- @${REINPLACE_CMD} -e '/-O2 /s|^|#|' -e '/-pedantic /s|^|#|' \
- ${WRKSRC}/configure
-
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
-.for docfile in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
-.endfor
-.endif
-
-.include <bsd.port.mk>
diff --git a/print/cpp2latex/distinfo b/print/cpp2latex/distinfo
deleted file mode 100644
index 2fda8750c3bb..000000000000
--- a/print/cpp2latex/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (cpp2latex-2.3.tar.gz) = bd2ede885f34f5412734b2ec28cc454b6ce0ae3cc89b9a0cfe9df4baa075af86
-SIZE (cpp2latex-2.3.tar.gz) = 483213
diff --git a/print/cpp2latex/files/patch-cpp2latex-main.cpp b/print/cpp2latex/files/patch-cpp2latex-main.cpp
deleted file mode 100644
index f9aaf813363b..000000000000
--- a/print/cpp2latex/files/patch-cpp2latex-main.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- cpp2latex/main.cpp.orig Mon May 12 15:22:24 2003
-+++ cpp2latex/main.cpp Mon May 12 15:22:34 2003
-@@ -25,7 +25,7 @@
- #include <fstream>
- #include <vector>
- #include <stdio.h>
--#include <getopt.h>
-+#include <unistd.h>
-
- struct replace{
- std::string voraus;
diff --git a/print/cpp2latex/pkg-descr b/print/cpp2latex/pkg-descr
deleted file mode 100644
index 7aec0fd1b215..000000000000
--- a/print/cpp2latex/pkg-descr
+++ /dev/null
@@ -1,4 +0,0 @@
-Cpp2LaTeX converts C++ source code to output you can insert into a
-LaTeX document or pipe directly to LaTex.
-
-WWW: http://www.arnoldarts.de/cpp2latex
diff --git a/print/guitartex/Makefile b/print/guitartex/Makefile
deleted file mode 100644
index c16a4503c96e..000000000000
--- a/print/guitartex/Makefile
+++ /dev/null
@@ -1,48 +0,0 @@
-# Created by: ijliao
-# $FreeBSD$
-
-PORTNAME= guitartex
-PORTVERSION= 2.8.2
-PORTREVISION= 3
-CATEGORIES= print
-MASTER_SITES= SF/${PORTNAME}/GuitarTeX/GuitarTeX-${PORTVERSION}
-## Hack just for this "fix version"
-DISTNAME= ${PORTNAME}-${PORTVERSION}-fix1
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= GuitarTeX converts the Chord format into "normal" LaTeX format
-
-RUN_DEPENDS= p5-Tk>=0:${PORTSDIR}/x11-toolkits/p5-Tk \
- latex:${PORTSDIR}/print/latex
-
-DEPRECATED= Unmaintained since 2001
-EXPIRATION_DATE= 2014-04-12
-USES= perl5
-NO_BUILD= yes
-
-NO_STAGE= yes
-do-configure:
- @${REINPLACE_CMD} -e 's!/usr/local/lib/guitartex!${DATADIR}!g' ${WRKSRC}/gtx2tex.pl
- @${REINPLACE_CMD} -e 's!/usr/local/lib/guitartex!${DATADIR}!g' ${WRKSRC}/guitartex.pl
-
-do-install:
- ${INSTALL} ${WRKSRC}/gtx2tex.pl ${PREFIX}/bin
- ${INSTALL} ${WRKSRC}/guitartex.pl ${PREFIX}/bin
- @${MKDIR} ${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/guitartex.conf ${DATADIR}
- @${MKDIR} ${DATADIR}/images
- ${INSTALL_DATA} ${WRKSRC}/images/* ${DATADIR}/images
- @${MKDIR} ${DATADIR}/language
- ${INSTALL_DATA} ${WRKSRC}/language/* ${DATADIR}/language/
- @${MKDIR} ${DATADIR}/templates
- ${INSTALL_DATA} ${WRKSRC}/templates/* ${DATADIR}/templates
-
-post-install:
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- @${CP} -Rp ${WRKSRC}/doc/* ${DOCSDIR}
-.endif
- @${CAT} ${PKGMESSAGE}
-
-.include <bsd.port.mk>
diff --git a/print/guitartex/distinfo b/print/guitartex/distinfo
deleted file mode 100644
index 675dcf70933a..000000000000
--- a/print/guitartex/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (guitartex-2.8.2-fix1.tar.gz) = 984e5428af8e25be7b1e3584fdb56117925263e11f7ea7a66d9d4976c7b95ad9
-SIZE (guitartex-2.8.2-fix1.tar.gz) = 419840
diff --git a/print/guitartex/pkg-descr b/print/guitartex/pkg-descr
deleted file mode 100644
index 2ed67a226689..000000000000
--- a/print/guitartex/pkg-descr
+++ /dev/null
@@ -1,10 +0,0 @@
-GuitarTeX converts the Chord format into "normal" LaTeX format like a kind
-of preprocessor. This may be a single song or even a complete songbook. You
-may as well translate your chord file directly into postscript or PDF format.
-
-If you know LaTeX, you may edit the output file. The advantage of GuitarTeX
-is that you can use all LaTeX features to design a single song sheet or
-songbook, e.g.: packages like graphics or MusicTeX, table of contents,
-marginpar's, and so on.
-
-WWW: http://guitartex.sourceforge.net/
diff --git a/print/guitartex/pkg-message b/print/guitartex/pkg-message
deleted file mode 100644
index 8a015c258d54..000000000000
--- a/print/guitartex/pkg-message
+++ /dev/null
@@ -1,7 +0,0 @@
-************************************************
- Don't forget to copy :
- ${PREFIX}/share/guitartex/guitartex.conf to
- $HOME/.guitartexrc
- in order to use guitartex
-************************************************
-
diff --git a/print/guitartex/pkg-plist b/print/guitartex/pkg-plist
deleted file mode 100644
index 7cd0af52170c..000000000000
--- a/print/guitartex/pkg-plist
+++ /dev/null
@@ -1,173 +0,0 @@
-bin/gtx2tex.pl
-bin/guitartex.pl
-share/guitartex/guitartex.conf
-share/guitartex/images/color.gif
-share/guitartex/images/colorscm.png
-share/guitartex/images/down.gif
-share/guitartex/images/filenew.gif
-share/guitartex/images/fileopen.gif
-share/guitartex/images/filesave.gif
-share/guitartex/images/pdf.gif
-share/guitartex/images/postscript.gif
-share/guitartex/images/tex.gif
-share/guitartex/images/up.gif
-share/guitartex/language/br.pl
-share/guitartex/language/de.pl
-share/guitartex/language/en.pl
-share/guitartex/language/es.pl
-share/guitartex/language/it.pl
-share/guitartex/language/pl.pl
-share/guitartex/templates/Song
-share/guitartex/templates/Songbook
-share/guitartex/templates/empty
-%%PORTDOCS%%share/doc/guitartex/images/.xvpics/musixtex2.png
-%%PORTDOCS%%share/doc/guitartex/images/postscript.png
-%%PORTDOCS%%share/doc/guitartex/images/chord-example.png
-%%PORTDOCS%%share/doc/guitartex/images/color_selector.png
-%%PORTDOCS%%share/doc/guitartex/images/song.png
-%%PORTDOCS%%share/doc/guitartex/images/syntax.png
-%%PORTDOCS%%share/doc/guitartex/images/tablat1.png
-%%PORTDOCS%%share/doc/guitartex/images/tablat2.png
-%%PORTDOCS%%share/doc/guitartex/images/tablat3.png
-%%PORTDOCS%%share/doc/guitartex/images/tablat4.png
-%%PORTDOCS%%share/doc/guitartex/images/tablat5.png
-%%PORTDOCS%%share/doc/guitartex/images/tablat6.png
-%%PORTDOCS%%share/doc/guitartex/images/manualsong.png
-%%PORTDOCS%%share/doc/guitartex/images/musixlyr1.png
-%%PORTDOCS%%share/doc/guitartex/images/tablature2.png
-%%PORTDOCS%%share/doc/guitartex/images/musixtex1.png
-%%PORTDOCS%%share/doc/guitartex/images/musixtex2.png
-%%PORTDOCS%%share/doc/guitartex/images/index.png
-%%PORTDOCS%%share/doc/guitartex/images/icons.png
-%%PORTDOCS%%share/doc/guitartex/images/chords.png
-%%PORTDOCS%%share/doc/guitartex/images/pdf.png
-%%PORTDOCS%%share/doc/guitartex/images/latex.png
-%%PORTDOCS%%share/doc/guitartex/images/window.png
-%%PORTDOCS%%share/doc/guitartex/images/tablature.pdf
-%%PORTDOCS%%share/doc/guitartex/images/songbook.png
-%%PORTDOCS%%share/doc/guitartex/images/tablature.png
-%%PORTDOCS%%share/doc/guitartex/en/guitartex/stylesheet-images/caution.gif
-%%PORTDOCS%%share/doc/guitartex/en/guitartex/stylesheet-images/toc-blank.gif
-%%PORTDOCS%%share/doc/guitartex/en/guitartex/stylesheet-images/note.gif
-%%PORTDOCS%%share/doc/guitartex/en/guitartex/stylesheet-images/toc-plus.gif
-%%PORTDOCS%%share/doc/guitartex/en/guitartex/stylesheet-images/important.gif
-%%PORTDOCS%%share/doc/guitartex/en/guitartex/stylesheet-images/tip.gif
-%%PORTDOCS%%share/doc/guitartex/en/guitartex/stylesheet-images/home.gif
-%%PORTDOCS%%share/doc/guitartex/en/guitartex/stylesheet-images/toc-minus.gif
-%%PORTDOCS%%share/doc/guitartex/en/guitartex/stylesheet-images/prev.gif
-%%PORTDOCS%%share/doc/guitartex/en/guitartex/stylesheet-images/up.gif
-%%PORTDOCS%%share/doc/guitartex/en/guitartex/stylesheet-images/next.gif
-%%PORTDOCS%%share/doc/guitartex/en/guitartex/stylesheet-images/warning.gif
-%%PORTDOCS%%share/doc/guitartex/en/guitartex/ln12.html
-%%PORTDOCS%%share/doc/guitartex/en/guitartex/x542.html
-%%PORTDOCS%%share/doc/guitartex/en/guitartex/x858.html
-%%PORTDOCS%%share/doc/guitartex/en/guitartex/configfile.html
-%%PORTDOCS%%share/doc/guitartex/en/guitartex/others.html
-%%PORTDOCS%%share/doc/guitartex/en/guitartex/installation.html
-%%PORTDOCS%%share/doc/guitartex/en/guitartex/examples.html
-%%PORTDOCS%%share/doc/guitartex/en/guitartex/directives.html
-%%PORTDOCS%%share/doc/guitartex/en/guitartex/x929.html
-%%PORTDOCS%%share/doc/guitartex/en/guitartex/songbook.html
-%%PORTDOCS%%share/doc/guitartex/en/guitartex/r205.html
-%%PORTDOCS%%share/doc/guitartex/en/guitartex/x246.html
-%%PORTDOCS%%share/doc/guitartex/en/guitartex/latex.html
-%%PORTDOCS%%share/doc/guitartex/en/guitartex/gtx2tex.html
-%%PORTDOCS%%share/doc/guitartex/en/guitartex/HTML.manifest
-%%PORTDOCS%%share/doc/guitartex/en/guitartex/introduction.html
-%%PORTDOCS%%share/doc/guitartex/en/guitartex/tablature.html
-%%PORTDOCS%%share/doc/guitartex/en/guitartex/x886.html
-%%PORTDOCS%%share/doc/guitartex/en/guitartex/x318.html
-%%PORTDOCS%%share/doc/guitartex/en/guitartex/a959.html
-%%PORTDOCS%%share/doc/guitartex/en/guitartex/x325.html
-%%PORTDOCS%%share/doc/guitartex/en/guitartex/c87.html
-%%PORTDOCS%%share/doc/guitartex/en/guitartex/book1.html
-%%PORTDOCS%%share/doc/guitartex/en/guitartex/docbook.css
-%%PORTDOCS%%share/doc/guitartex/en/guitartex/requirements.html
-%%PORTDOCS%%share/doc/guitartex/en/guitartex/x782.html
-%%PORTDOCS%%share/doc/guitartex/en/guitartex/x903.html
-%%PORTDOCS%%share/doc/guitartex/en/guitartex/editor.html
-%%PORTDOCS%%share/doc/guitartex/en/guitartex/x474.html
-%%PORTDOCS%%share/doc/guitartex/en/guitartex/links.html
-%%PORTDOCS%%share/doc/guitartex/en/guitartex/geometry.html
-%%PORTDOCS%%share/doc/guitartex/en/Makefile
-%%PORTDOCS%%share/doc/guitartex/en/guitartex.xml
-%%PORTDOCS%%share/doc/guitartex/en/introduction.xml
-%%PORTDOCS%%share/doc/guitartex/en/acknowledgements.xml
-%%PORTDOCS%%share/doc/guitartex/en/sflogo.xml
-%%PORTDOCS%%share/doc/guitartex/en/examples.xml
-%%PORTDOCS%%share/doc/guitartex/en/info.xml
-%%PORTDOCS%%share/doc/guitartex/en/editor.xml
-%%PORTDOCS%%share/doc/guitartex/en/links.xml
-%%PORTDOCS%%share/doc/guitartex/en/directives.xml
-%%PORTDOCS%%share/doc/guitartex/en/latex.xml
-%%PORTDOCS%%share/doc/guitartex/en/installation.xml
-%%PORTDOCS%%share/doc/guitartex/en/gtx2tex.xml
-%%PORTDOCS%%share/doc/guitartex/de/guitartex/stylesheet-images/caution.gif
-%%PORTDOCS%%share/doc/guitartex/de/guitartex/stylesheet-images/toc-blank.gif
-%%PORTDOCS%%share/doc/guitartex/de/guitartex/stylesheet-images/note.gif
-%%PORTDOCS%%share/doc/guitartex/de/guitartex/stylesheet-images/toc-plus.gif
-%%PORTDOCS%%share/doc/guitartex/de/guitartex/stylesheet-images/important.gif
-%%PORTDOCS%%share/doc/guitartex/de/guitartex/stylesheet-images/tip.gif
-%%PORTDOCS%%share/doc/guitartex/de/guitartex/stylesheet-images/home.gif
-%%PORTDOCS%%share/doc/guitartex/de/guitartex/stylesheet-images/toc-minus.gif
-%%PORTDOCS%%share/doc/guitartex/de/guitartex/stylesheet-images/prev.gif
-%%PORTDOCS%%share/doc/guitartex/de/guitartex/stylesheet-images/up.gif
-%%PORTDOCS%%share/doc/guitartex/de/guitartex/stylesheet-images/next.gif
-%%PORTDOCS%%share/doc/guitartex/de/guitartex/stylesheet-images/warning.gif
-%%PORTDOCS%%share/doc/guitartex/de/guitartex/r193.html
-%%PORTDOCS%%share/doc/guitartex/de/guitartex/ln12.html
-%%PORTDOCS%%share/doc/guitartex/de/guitartex/x227.html
-%%PORTDOCS%%share/doc/guitartex/de/guitartex/x298.html
-%%PORTDOCS%%share/doc/guitartex/de/guitartex/configfile.html
-%%PORTDOCS%%share/doc/guitartex/de/guitartex/x864.html
-%%PORTDOCS%%share/doc/guitartex/de/guitartex/others.html
-%%PORTDOCS%%share/doc/guitartex/de/guitartex/installation.html
-%%PORTDOCS%%share/doc/guitartex/de/guitartex/examples.html
-%%PORTDOCS%%share/doc/guitartex/de/guitartex/directives.html
-%%PORTDOCS%%share/doc/guitartex/de/guitartex/songbook.html
-%%PORTDOCS%%share/doc/guitartex/de/guitartex/x305.html
-%%PORTDOCS%%share/doc/guitartex/de/guitartex/latex.html
-%%PORTDOCS%%share/doc/guitartex/de/guitartex/gtx2tex.html
-%%PORTDOCS%%share/doc/guitartex/de/guitartex/x750.html
-%%PORTDOCS%%share/doc/guitartex/de/guitartex/HTML.manifest
-%%PORTDOCS%%share/doc/guitartex/de/guitartex/x883.html
-%%PORTDOCS%%share/doc/guitartex/de/guitartex/introduction.html
-%%PORTDOCS%%share/doc/guitartex/de/guitartex/tablature.html
-%%PORTDOCS%%share/doc/guitartex/de/guitartex/x819.html
-%%PORTDOCS%%share/doc/guitartex/de/guitartex/x447.html
-%%PORTDOCS%%share/doc/guitartex/de/guitartex/c82.html
-%%PORTDOCS%%share/doc/guitartex/de/guitartex/book1.html
-%%PORTDOCS%%share/doc/guitartex/de/guitartex/docbook.css
-%%PORTDOCS%%share/doc/guitartex/de/guitartex/requirements.html
-%%PORTDOCS%%share/doc/guitartex/de/guitartex/x519.html
-%%PORTDOCS%%share/doc/guitartex/de/guitartex/a906.html
-%%PORTDOCS%%share/doc/guitartex/de/guitartex/editor.html
-%%PORTDOCS%%share/doc/guitartex/de/guitartex/x847.html
-%%PORTDOCS%%share/doc/guitartex/de/guitartex/links.html
-%%PORTDOCS%%share/doc/guitartex/de/guitartex/geometry.html
-%%PORTDOCS%%share/doc/guitartex/de/Makefile
-%%PORTDOCS%%share/doc/guitartex/de/guitartex.xml
-%%PORTDOCS%%share/doc/guitartex/de/introduction.xml
-%%PORTDOCS%%share/doc/guitartex/de/acknowledgements.xml
-%%PORTDOCS%%share/doc/guitartex/de/sflogo.xml
-%%PORTDOCS%%share/doc/guitartex/de/examples.xml
-%%PORTDOCS%%share/doc/guitartex/de/info.xml
-%%PORTDOCS%%share/doc/guitartex/de/editor.xml
-%%PORTDOCS%%share/doc/guitartex/de/links.xml
-%%PORTDOCS%%share/doc/guitartex/de/directives.xml
-%%PORTDOCS%%share/doc/guitartex/de/latex.xml
-%%PORTDOCS%%share/doc/guitartex/de/installation.xml
-%%PORTDOCS%%share/doc/guitartex/de/gtx2tex.xml
-%%PORTDOCS%%@dirrm share/doc/guitartex/images/.xvpics
-%%PORTDOCS%%@dirrm share/doc/guitartex/images
-%%PORTDOCS%%@dirrm share/doc/guitartex/en/guitartex/stylesheet-images
-%%PORTDOCS%%@dirrm share/doc/guitartex/en/guitartex
-%%PORTDOCS%%@dirrm share/doc/guitartex/en
-%%PORTDOCS%%@dirrm share/doc/guitartex/de/guitartex/stylesheet-images
-%%PORTDOCS%%@dirrm share/doc/guitartex/de/guitartex
-%%PORTDOCS%%@dirrm share/doc/guitartex/de
-%%PORTDOCS%%@dirrm share/doc/guitartex
-@dirrm share/guitartex/images
-@dirrm share/guitartex/language
-@dirrm share/guitartex/templates
-@dirrm share/guitartex
diff --git a/print/pnm2ppa/Makefile b/print/pnm2ppa/Makefile
deleted file mode 100644
index dda243d5eafe..000000000000
--- a/print/pnm2ppa/Makefile
+++ /dev/null
@@ -1,62 +0,0 @@
-# Created by: smace@FreeBSD.org
-# $FreeBSD$
-
-PORTNAME= pnm2ppa
-PORTVERSION= 1.13
-PORTREVISION= 1
-CATEGORIES= print
-MASTER_SITES= SF
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Convert PNM images to PPA for some HP printers
-
-OPTIONS_DEFINE= A4SIZE
-A4SIZE_DESC= Set A4 (not Letter) as a default paper size
-
-DEPRECATED= Unmaintained since 2001
-EXPIRATION_DATE= 2014-04-12
-USE_GHOSTSCRIPT_RUN= yes
-USE_GMAKE= yes
-GNU_CONFIGURE= yes
-
-MAN1= pnm2ppa.1
-PLIST_FILES= bin/asciippafilter bin/calibrate_ppa bin/pnm2ppa bin/ppafilter \
- etc/pnm2ppa.conf.sample
-
-PKGDEINSTALL= ${PKGINSTALL}
-
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
-
-.if defined(A4) || !empty(PORT_OPTIONS:MA4SIZE)
-RUN_DEPENDS= enscript:${PORTSDIR}/print/enscript-a4
-.else
-RUN_DEPENDS= enscript:${PORTSDIR}/print/enscript-letter
-.endif
-
-post-patch:
- @${REINPLACE_CMD} -e 's|-Wformat-security -g|-Wformat-security| ; \
- s|-O2 -DNDEBUG|-DNDEBUG|' ${WRKSRC}/configure
- @${SED} -e "s:%%PREFIX%%:${PREFIX}:g" \
- ${WRKSRC}/pnm2ppa.conf > ${WRKSRC}/pnm2ppa.conf.sample
- @${SED} -e "s:%%PREFIX%%:${PREFIX}:g" \
- ${WRKSRC}/docs/en/pnm2ppa.1 > ${WRKSRC}/pnm2ppa.1
- @${SED} -e "s:%%PREFIX%%:${PREFIX}:g" \
- -e "s:%%LOCALBASE%%:${LOCALBASE}:g" \
- ${FILESDIR}/asciippafilter.SH > ${WRKSRC}/asciippafilter
- @${SED} -e "s:%%PREFIX%%:${PREFIX}:g" \
- -e "s:%%LOCALBASE%%:${LOCALBASE}:g" \
- ${FILESDIR}/ppafilter.SH > ${WRKSRC}/ppafilter
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/calibrate_ppa ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/pnm2ppa ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/asciippafilter ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/ppafilter ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/pnm2ppa.1 ${MANPREFIX}/man/man1
- ${INSTALL_DATA} ${WRKSRC}/pnm2ppa.conf.sample ${PREFIX}/etc
- @${SETENV} PKG_PREFIX="${PREFIX}" \
- ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
- @${CAT} ${PKGMESSAGE}
-
-.include <bsd.port.post.mk>
diff --git a/print/pnm2ppa/distinfo b/print/pnm2ppa/distinfo
deleted file mode 100644
index 39ce076af56d..000000000000
--- a/print/pnm2ppa/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (pnm2ppa-1.13.tar.gz) = 1c50ea2c97b232f5bee6ac3fab408d64b6f1380f1e289ac278778a7e368e7379
-SIZE (pnm2ppa-1.13.tar.gz) = 291190
diff --git a/print/pnm2ppa/files/asciippafilter.SH b/print/pnm2ppa/files/asciippafilter.SH
deleted file mode 100644
index 56ac28287d7b..000000000000
--- a/print/pnm2ppa/files/asciippafilter.SH
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-%%LOCALBASE%%/bin/enscript -B -q -p - | \
-%%LOCALBASE%%/bin/gs -sDEVICE=ppmraw -q -dNOPAUSE -r600 -sOutputFile=- - | \
-%%PREFIX%%/bin/pnm2ppa -i - -o -
diff --git a/print/pnm2ppa/files/patch-docs__en__pnm2ppa.1 b/print/pnm2ppa/files/patch-docs__en__pnm2ppa.1
deleted file mode 100644
index 0d4d7097ebee..000000000000
--- a/print/pnm2ppa/files/patch-docs__en__pnm2ppa.1
+++ /dev/null
@@ -1,45 +0,0 @@
---- docs/en/pnm2ppa.1.orig Mon Nov 6 10:16:38 2000
-+++ docs/en/pnm2ppa.1 Tue Jan 30 22:02:49 2001
-@@ -51,13 +51,13 @@
- .\"{{{ -f configFile
- .IP "\fB\-f \fIconfigFile\fR\fP"
- Re-reads configuration from \fIconfigFile\fR (after
--initially reading it from /etc/pnm2ppa.conf).
-+initially reading it from %%PREFIX%%/etc/pnm2ppa.conf).
- .\"}}}
-
- .\"{{{ -F GammaFile
- .IP "\fB\-F \fIGammaFile\fR\fP"
- Overrides reading the color-correction table (Gamma curve) from the default
--file /etc/pnm2ppa.gamma, and uses \fIGammaFile\fR instead.
-+file %%PREFIX%%/etc/pnm2ppa.gamma, and uses \fIGammaFile\fR instead.
- .\"}}}
-
- .\"{{{ --fd
-@@ -161,7 +161,7 @@
-
-
- .SH NOTES
--The default configuration file \fI/etc/pnm2ppa.conf\fR is read in first. Command line arguments then modify the resulting definitions.
-+The default configuration file \fI%%PREFIX%%/etc/pnm2ppa.conf\fR is read in first. Command line arguments then modify the resulting definitions.
- .PP
- The \fB-v\fP option resets all definitions (margins, offsets, etc.) back to
- the inbuilt defaults for that printer and should be used before subsequent
-@@ -171,13 +171,13 @@
-
- .SH FILES
-
--.\"{{{ /etc/pnm2ppa.conf
--.IP "\fB\fI/etc/pnm2ppa.conf\fR\fP"
-+.\"{{{ %%PREFIX%%/etc/pnm2ppa.conf
-+.IP "\fB\fI%%PREFIX%%/etc/pnm2ppa.conf\fR\fP"
- Default configuration file.
- .\"}}}
-
--.\"{{{ /etc/pnm2ppa.gamma
--.IP "\fB\fI/etc/pnm2ppa.gamma\fR\fP"
-+.\"{{{ %%PREFIX%%/etc/pnm2ppa.gamma
-+.IP "\fB\fI%%PREFIX%%/etc/pnm2ppa.gamma\fR\fP"
- Default Gamma (color-correction) file.
- .\"}}}
-
diff --git a/print/pnm2ppa/files/patch-pnm2ppa.conf b/print/pnm2ppa/files/patch-pnm2ppa.conf
deleted file mode 100644
index 6539862efdf9..000000000000
--- a/print/pnm2ppa/files/patch-pnm2ppa.conf
+++ /dev/null
@@ -1,29 +0,0 @@
---- pnm2ppa.conf.orig Sun Nov 10 06:47:47 2002
-+++ pnm2ppa.conf Mon Nov 18 21:10:36 2002
-@@ -1,7 +1,7 @@
- # Sample configuration file
- #
- # This file will be automatically read upon startup if it is placed in
--# /etc/pnm2ppa.conf
-+# %%PREFIX%%/etc/pnm2ppa.conf
- #
- # uncomment entries by removing "#" to activate them.
- #
-@@ -44,7 +44,7 @@
- log_info 1 # <= COMMENT THIS OUT TO GET THE NEW DEFAULT BEHAVIOR!
-
- # Note: the "silent 1" and "log_info" keywords are only accepted from the
--# system configuration file (/etc/pnm2ppa.conf), and not from configuration
-+# system configuration file (%%PREFIX%%/etc/pnm2ppa.conf), and not from configuration
- # files specified by users with the pnm2ppa option "-f".
-
- #---------set the margins of the printed page-------------------
-@@ -123,7 +123,7 @@
- #------------Color correct curve Gamma parameters-------------------------
- # Gamma color correction values for Red, Green and Blue:
- # (Note: a more effective method of color correction is to use
--# a calibration file /etc/pnm2ppa.gamma, in which case these
-+# a calibration file %%PREFIX%%/etc/pnm2ppa.gamma, in which case these
- # Gamma values will not be used. See COLOR.html or COLOR.txt)
- # The pnm2ppa option --noGamma suppresses color correction.
-
diff --git a/print/pnm2ppa/files/patch-text-en.h b/print/pnm2ppa/files/patch-text-en.h
deleted file mode 100644
index be35fe31b918..000000000000
--- a/print/pnm2ppa/files/patch-text-en.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- text-en.h.orig Sat Oct 14 17:35:25 2000
-+++ text-en.h Tue Jan 30 21:42:43 2001
-@@ -73,7 +73,7 @@
-
- /* 24 */ "Verbose logging to console\n",
-
-- /* 25 */ "Please configure your printer in /etc/pnm2ppa.conf\n",
-+ /* 25 */ "Please configure your printer in " SYSCONFDIR "/pnm2ppa.conf\n",
-
- /* 26 */ "couldn't open config file \n",
-
diff --git a/print/pnm2ppa/files/ppafilter.SH b/print/pnm2ppa/files/ppafilter.SH
deleted file mode 100644
index 5809fb04d80f..000000000000
--- a/print/pnm2ppa/files/ppafilter.SH
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-
-%%LOCALBASE%%/bin/gs -sDEVICE=ppmraw -q -dNOPAUSE -r600 -sOutputFile=- - | \
-%%PREFIX%%/bin/pnm2ppa -i - -o -
diff --git a/print/pnm2ppa/pkg-descr b/print/pnm2ppa/pkg-descr
deleted file mode 100644
index 0543d41a6165..000000000000
--- a/print/pnm2ppa/pkg-descr
+++ /dev/null
@@ -1,7 +0,0 @@
-This software creates output using the PPA (printer performance
-architecture) protocol. This protocol is used by some HP "Windows-only"
-printers, including the HP Deskjet 820C series, the HP DeskJet 720 series,
-and the HP DeskJet 1000 series. It has been tested on all three printers,
-but your personal experience (positive or negative) is very much appreciated!
-
-WWW: http://pnm2ppa.sourceforge.net/
diff --git a/print/pnm2ppa/pkg-install b/print/pnm2ppa/pkg-install
deleted file mode 100644
index 4d8fc3f743ba..000000000000
--- a/print/pnm2ppa/pkg-install
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/sh
-# $FreeBSD$
-
-sysconfdir=${PKG_PREFIX}/etc
-conffile=pnm2ppa.conf
-
-case $2 in
-POST-INSTALL)
- if test ! -f ${sysconfdir}/${conffile}; then
- cp ${sysconfdir}/${conffile}.sample ${sysconfdir}/${conffile};
- fi
-;;
-DEINSTALL)
- if cmp -s ${sysconfdir}/${conffile} ${sysconfdir}/${conffile}.sample; then
- rm -f ${sysconfdir}/${conffile}
- fi
-;;
-esac
diff --git a/print/pnm2ppa/pkg-message b/print/pnm2ppa/pkg-message
deleted file mode 100644
index 744c5cc990eb..000000000000
--- a/print/pnm2ppa/pkg-message
+++ /dev/null
@@ -1,17 +0,0 @@
-To configure your printcap to print either ascii"
-or Postscript files, add the following lines to your"
-/etc/printcap file"
-
- lp|ascii|unix:\\"
- :lp=/dev/lpt0:\\"
- :sd=/var/spool/lpd:\\"
- :if=/usr/local/bin/asciippafilter:\\"
- :mx#0:\\"
- :sh:"
-
- ps:\\"
- :lp=/dev/lpt0:\\"
- :sd=/var/spool/ps:\\"
- :if=/usr/local/bin/ppafilter:\\"
- :mx#0:\\"
- :sh:"