diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2005-10-13 02:09:46 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2005-10-13 02:09:46 +0000 |
commit | 67b2b68c5ba4b19104976c79df4f7bb412f0819d (patch) | |
tree | e45bec6023ad01d3689436e00dfb38c608d0b50d /print | |
parent | 8d62d8f490313c3d51715b78cfbc2f8ecbab3124 (diff) | |
download | ports-67b2b68c5ba4b19104976c79df4f7bb412f0819d.tar.gz ports-67b2b68c5ba4b19104976c79df4f7bb412f0819d.zip |
Notes
Diffstat (limited to 'print')
-rw-r--r-- | print/Makefile | 1 | ||||
-rw-r--r-- | print/libppd/Makefile | 26 | ||||
-rw-r--r-- | print/libppd/distinfo | 2 | ||||
-rw-r--r-- | print/libppd/files/patch-aa | 11 | ||||
-rw-r--r-- | print/libppd/pkg-descr | 1 | ||||
-rw-r--r-- | print/libppd/pkg-plist | 10 | ||||
-rw-r--r-- | print/lpr-wrapper/Makefile | 35 | ||||
-rw-r--r-- | print/lpr-wrapper/distinfo | 2 | ||||
-rw-r--r-- | print/lpr-wrapper/files/patch-aa | 45 | ||||
-rw-r--r-- | print/lpr-wrapper/pkg-descr | 3 | ||||
-rw-r--r-- | print/lpr-wrapper/pkg-plist | 3 |
11 files changed, 139 insertions, 0 deletions
diff --git a/print/Makefile b/print/Makefile index f864671bfa5b..14d32a6a1679 100644 --- a/print/Makefile +++ b/print/Makefile @@ -146,6 +146,7 @@ SUBDIR += libijs SUBDIR += libotf SUBDIR += libpaper + SUBDIR += libppd SUBDIR += lilypond SUBDIR += lout SUBDIR += lpr-wrapper diff --git a/print/libppd/Makefile b/print/libppd/Makefile new file mode 100644 index 000000000000..f58aa0542a0a --- /dev/null +++ b/print/libppd/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: libppd +# Date created: 22 Apr 2005 17:00:00 CEST +# Whom: e-masson@kisoft-services.com +# +# $FreeBSD$ +# + +PORTNAME= libppd +PORTVERSION= 0.10 +CATEGORIES= print +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= lpr + +MAINTAINER= e-masson@kisoft-services.com +COMMENT= A library providing routines for ppd files + +USE_LIBTOOL_VER=15 +INSTALLS_SHLIB= Yes +USE_GETOPT_LONG=Yes + +MAN1= ppdfilt.1 +MAN3= ppd_check_option_is_marked.3 ppd_emit_to_file.3 ppd_file_free.3 \ + ppd_file_new.3 ppd_find_choice.3 ppd_get_num_conflicts.3 \ + ppd_get_page_length.3 + +.include <bsd.port.mk> diff --git a/print/libppd/distinfo b/print/libppd/distinfo new file mode 100644 index 000000000000..9ee05bbe1649 --- /dev/null +++ b/print/libppd/distinfo @@ -0,0 +1,2 @@ +MD5 (libppd-0.10.tar.gz) = c50f2d2841edf50eb968689e3a49f0f9 +SIZE (libppd-0.10.tar.gz) = 200507 diff --git a/print/libppd/files/patch-aa b/print/libppd/files/patch-aa new file mode 100644 index 000000000000..23e590a1bb41 --- /dev/null +++ b/print/libppd/files/patch-aa @@ -0,0 +1,11 @@ +--- src/Makefile.in.orig Thu Apr 21 17:53:57 2005 ++++ src/Makefile.in Thu Apr 21 17:54:30 2005 +@@ -87,7 +87,7 @@ + INCLUDES = $(GLIB_CFLAGS) -DG_LOG_DOMAIN=\"LibPPD\" + bin_PROGRAMS = ppdfilt + lib_LTLIBRARIES = libppd.la +-LDFLAGS = $(GLIB_LIBS) ++LDFLAGS = @LDFLAGS@ $(GLIB_LIBS) + include_HEADERS = ppd.h ppdenums.h ppdmacros.h + + libppd_la_SOURCES = emit.c options.c page.c mark.c ppd.c init.c debug.h ppdfilt.h diff --git a/print/libppd/pkg-descr b/print/libppd/pkg-descr new file mode 100644 index 000000000000..944e5290a1d9 --- /dev/null +++ b/print/libppd/pkg-descr @@ -0,0 +1 @@ +A library providing routines for ppd files diff --git a/print/libppd/pkg-plist b/print/libppd/pkg-plist new file mode 100644 index 000000000000..d085704ed3bd --- /dev/null +++ b/print/libppd/pkg-plist @@ -0,0 +1,10 @@ +bin/ppdfilt +include/ppd.h +include/ppdenums.h +include/ppdmacros.h +lib/libppd.a +lib/libppd.so +lib/libppd.so.1 +share/postscript/ppd/generic-printer.ppd +@dirrm share/postscript/ppd +@dirrm share/postscript diff --git a/print/lpr-wrapper/Makefile b/print/lpr-wrapper/Makefile new file mode 100644 index 000000000000..64fa4f51a7b6 --- /dev/null +++ b/print/lpr-wrapper/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: lpr-wrapper +# Date created: 22 Apr 2005 17:00:00 CEST +# Whom: e-masson@kisoft-services.com +# +# $FreeBSD$ +# + +PORTNAME= lpr-wrapper +PORTVERSION= 0.6 +CATEGORIES= print +MASTER_SITES= http://www.mathstat.dal.ca/~selinger/lpr-wrapper/download/ + +MAINTAINER= e-masson@kisoft-services.com +COMMENT= A user level printer frontend + +# +# define WITH_GHOSTSCRIPT_AFPL=yes for AFPL Postscript interpreter +# instead of GNU one +# +USE_GHOSTSCRIPT_RUN= yes + +HAS_CONFIGURE= yes +CONFIGURE_ARGS= --prefix=${PREFIX} + +RUN_DEPENDS+= bash:${PORTSDIR}/shells/bash +RUN_DEPENDS+= ppdfilt:${PORTSDIR}/print/libppd +RUN_DEPENDS+= psdim:${PORTSDIR}/print/psdim +RUN_DEPENDS+= mpage:${PORTSDIR}/print/mpage +.if defined(A4) +RUN_DEPENDS+= pstops:${PORTSDIR}/print/psutils-a4 +.else +RUN_DEPENDS+= pstops:${PORTSDIR}/print/psutils-letter +.endif + +.include <bsd.port.mk> diff --git a/print/lpr-wrapper/distinfo b/print/lpr-wrapper/distinfo new file mode 100644 index 000000000000..04069c6d8c48 --- /dev/null +++ b/print/lpr-wrapper/distinfo @@ -0,0 +1,2 @@ +MD5 (lpr-wrapper-0.6.tar.gz) = 338173bf53b2f1eb7685023f265e269d +SIZE (lpr-wrapper-0.6.tar.gz) = 46394 diff --git a/print/lpr-wrapper/files/patch-aa b/print/lpr-wrapper/files/patch-aa new file mode 100644 index 000000000000..29afa726c4c0 --- /dev/null +++ b/print/lpr-wrapper/files/patch-aa @@ -0,0 +1,45 @@ +--- lpr-wrapper.in.orig Fri Apr 22 12:01:13 2005 ++++ lpr-wrapper.in Fri Apr 22 12:16:22 2005 +@@ -1,4 +1,4 @@ +-#!/bin/bash ++#!/usr/local/bin/bash + + # lpr-wrapper --- a wrapper around the lpr command, which can handle + # any-to-postscript conversion, options for duplex and n-up printing, +@@ -103,7 +103,7 @@ + PPDDIR=@datadir@/@PACKAGE@ + + # global options file +-SYST_CONFIG=/etc/lprrc ++SYST_CONFIG=@prefix@/etc/lprrc + + # user's options file + USER_CONFIG=.lprrc +@@ -488,17 +488,17 @@ + OPTSTRING=o:P:#:K:C:J:T:U:i:1:2:3:4:w:cdfghlnmprstv + LONGOPTS=help,version,verbose,test,ppd:,tmpdir: + +-if [ "$HAVE[getopt]" ]; then +- OPTIONS=`getopt -n $NAME -s bash -l $LONGOPTS -o $OPTSTRING -- $XOPTS "$@"` +- if [ $? != 0 ]; then +- echo "Try --help for more information" > /dev/stderr +- exit 1 +- fi +- eval set -- "$OPTIONS" +- dopts "$@" +-else ++#if [ "$HAVE[getopt]" ]; then ++# OPTIONS=`getopt -n $NAME -s bash -l $LONGOPTS -o $OPTSTRING -- $XOPTS "$@"` ++# if [ $? != 0 ]; then ++# echo "Try --help for more information" > /dev/stderr ++# exit 1 ++# fi ++# eval set -- "$OPTIONS" ++# dopts "$@" ++#else + dopts $XOPTS "$@" +-fi ++#fi + + #if no printer given (as option or through environment), use default + if [ x"$PRINTER" == x ]; then diff --git a/print/lpr-wrapper/pkg-descr b/print/lpr-wrapper/pkg-descr new file mode 100644 index 000000000000..c4fd194efb38 --- /dev/null +++ b/print/lpr-wrapper/pkg-descr @@ -0,0 +1,3 @@ +A user level printer frontend + +WWW: http://www.mathstat.dal.ca/~selinger/lpr-wrapper/ diff --git a/print/lpr-wrapper/pkg-plist b/print/lpr-wrapper/pkg-plist new file mode 100644 index 000000000000..8ba411933d6b --- /dev/null +++ b/print/lpr-wrapper/pkg-plist @@ -0,0 +1,3 @@ +bin/lpr-wrapper +share/lpr-wrapper/default.ppd +@dirrm share/lpr-wrapper |