[Midnightbsd-cvs] mports: mports/print: add xfce printing utility and a4 paper format

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Fri Sep 26 14:16:41 EDT 2008


Log Message:
-----------
add xfce printing utility and a4 paper format support.

Modified Files:
--------------
    mports/print:
        Makefile (r1.38 -> r1.39)

Added Files:
-----------
    mports/print/a2ps-a4:
        Makefile (r1.1)
    mports/print/xfce4-print:
        Makefile (r1.1)
        distinfo (r1.1)
        pkg-descr (r1.1)
        pkg-plist (r1.1)

-------------- next part --------------
--- /dev/null
+++ print/a2ps-a4/Makefile
@@ -0,0 +1,12 @@
+# New ports collection makefile for:    a2ps (a4)
+# Date created:         15 July 1998
+# Whom:                 Chuck Robey (chuckr at freebsd.org)
+#
+# $MidnightBSD: mports/print/a2ps-a4/Makefile,v 1.1 2008/09/26 18:16:38 laffer1 Exp $
+# $FreeBSD: ports/print/a2ps-a4/Makefile,v 1.3 2000/04/09 17:39:20 cpiazza Exp $
+#
+
+PAPERSIZE=	a4
+MASTERDIR=	${.CURDIR}/../a2ps-letter
+
+.include "${MASTERDIR}/Makefile"
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/print/Makefile,v
retrieving revision 1.38
retrieving revision 1.39
diff -L print/Makefile -L print/Makefile -u -r1.38 -r1.39
--- print/Makefile
+++ print/Makefile
@@ -3,6 +3,7 @@
 
     COMMENT = Desktop publishing
 
+    SUBDIR += a2ps-a4
     SUBDIR += a2ps-letter
     SUBDIR += acroread7
     SUBDIR += acroread7-de
@@ -48,5 +49,6 @@
     SUBDIR += ttf2pt1
     SUBDIR += wmlpq
     SUBDIR += xdvik
+    SUBDIR += xfce4-print
 
 .include <bsd.port.subdir.mk>
--- /dev/null
+++ print/xfce4-print/pkg-descr
@@ -0,0 +1,6 @@
+The printing helper is a graphical frontend for printing, a printer
+management, and a job queue management. It doesn't let you configure
+printers but only use printing systems that have already been
+configured properly.
+
+WWW: http://www.xfce.org/projects/xfprint/
--- /dev/null
+++ print/xfce4-print/pkg-plist
@@ -0,0 +1,133 @@
+bin/xfprint4-manager
+bin/xfprint4
+include/xfce4/libxfprint/common.h
+include/xfce4/libxfprint/job.h
+include/xfce4/libxfprint/libxfprint.h
+include/xfce4/libxfprint/printer.h
+include/xfce4/libxfprint/printer-list-window.h
+include/xfce4/libxfprint/printer-queue-window.h
+include/xfce4/libxfprint/printing-system.h
+lib/libxfprint.so.0
+lib/libxfprint.so
+lib/libxfprint.la
+lib/libxfprint.a
+lib/xfce4/mcs-plugins/xfprint_plugin.a
+lib/xfce4/mcs-plugins/xfprint_plugin.la
+lib/xfce4/mcs-plugins/xfprint_plugin.so
+%%LPR%%lib/xfce4/xfprint-plugins/bsdlpr_plugin.a
+%%LPR%%lib/xfce4/xfprint-plugins/bsdlpr_plugin.la
+%%LPR%%lib/xfce4/xfprint-plugins/bsdlpr_plugin.so
+%%CUPS%%lib/xfce4/xfprint-plugins/cups_plugin.a
+%%CUPS%%lib/xfce4/xfprint-plugins/cups_plugin.la
+%%CUPS%%lib/xfce4/xfprint-plugins/cups_plugin.so
+libdata/pkgconfig/xfprint-1.0.pc
+share/applications/xfprint.desktop
+share/applications/xfprint-manager.desktop
+share/applications/xfce-xfprint-settings.desktop
+share/gtk-doc/html/libxfprint/PrinterListWindow.html
+share/gtk-doc/html/libxfprint/PrinterQueueWindow.html
+share/gtk-doc/html/libxfprint/PrintingSystem.html
+share/gtk-doc/html/libxfprint/ch01.html
+share/gtk-doc/html/libxfprint/home.png
+share/gtk-doc/html/libxfprint/index.html
+share/gtk-doc/html/libxfprint/index.sgml
+share/gtk-doc/html/libxfprint/left.png
+share/gtk-doc/html/libxfprint/libxfprint-Job.html
+share/gtk-doc/html/libxfprint/libxfprint-Printer.html
+share/gtk-doc/html/libxfprint/libxfprint.devhelp
+share/gtk-doc/html/libxfprint/libxfprint.devhelp2
+share/gtk-doc/html/libxfprint/right.png
+share/gtk-doc/html/libxfprint/style.css
+share/gtk-doc/html/libxfprint/up.png
+share/icons/hicolor/24x24/devices/printer.png
+share/icons/hicolor/48x48/devices/printer.png
+share/icons/hicolor/scalable/devices/printer.svg
+share/locale/am/LC_MESSAGES/xfprint.mo
+share/locale/ar/LC_MESSAGES/xfprint.mo
+share/locale/az/LC_MESSAGES/xfprint.mo
+share/locale/be/LC_MESSAGES/xfprint.mo
+share/locale/bg/LC_MESSAGES/xfprint.mo
+share/locale/bn_IN/LC_MESSAGES/xfprint.mo
+share/locale/ca/LC_MESSAGES/xfprint.mo
+share/locale/cs/LC_MESSAGES/xfprint.mo
+share/locale/de/LC_MESSAGES/xfprint.mo
+share/locale/dz/LC_MESSAGES/xfprint.mo
+share/locale/el/LC_MESSAGES/xfprint.mo
+share/locale/eo/LC_MESSAGES/xfprint.mo
+share/locale/en_GB/LC_MESSAGES/xfprint.mo
+share/locale/es/LC_MESSAGES/xfprint.mo
+share/locale/es_MX/LC_MESSAGES/xfprint.mo
+share/locale/et/LC_MESSAGES/xfprint.mo
+share/locale/eu/LC_MESSAGES/xfprint.mo
+share/locale/fa/LC_MESSAGES/xfprint.mo
+share/locale/fi/LC_MESSAGES/xfprint.mo
+share/locale/fr/LC_MESSAGES/xfprint.mo
+share/locale/gl/LC_MESSAGES/xfprint.mo
+share/locale/gu/LC_MESSAGES/xfprint.mo
+share/locale/he/LC_MESSAGES/xfprint.mo
+share/locale/hi/LC_MESSAGES/xfprint.mo
+share/locale/hu/LC_MESSAGES/xfprint.mo
+share/locale/it/LC_MESSAGES/xfprint.mo
+share/locale/ja/LC_MESSAGES/xfprint.mo
+share/locale/ka/LC_MESSAGES/xfprint.mo
+share/locale/ko/LC_MESSAGES/xfprint.mo
+share/locale/lt/LC_MESSAGES/xfprint.mo
+share/locale/lv/LC_MESSAGES/xfprint.mo
+share/locale/mk/LC_MESSAGES/xfprint.mo
+share/locale/mr/LC_MESSAGES/xfprint.mo
+share/locale/ms/LC_MESSAGES/xfprint.mo
+share/locale/nb_NO/LC_MESSAGES/xfprint.mo
+share/locale/nl/LC_MESSAGES/xfprint.mo
+share/locale/pa/LC_MESSAGES/xfprint.mo
+share/locale/pl/LC_MESSAGES/xfprint.mo
+share/locale/pt_BR/LC_MESSAGES/xfprint.mo
+share/locale/pt_PT/LC_MESSAGES/xfprint.mo
+share/locale/ro/LC_MESSAGES/xfprint.mo
+share/locale/ru/LC_MESSAGES/xfprint.mo
+share/locale/sk/LC_MESSAGES/xfprint.mo
+share/locale/sv/LC_MESSAGES/xfprint.mo
+share/locale/ta/LC_MESSAGES/xfprint.mo
+share/locale/tr/LC_MESSAGES/xfprint.mo
+share/locale/uk/LC_MESSAGES/xfprint.mo
+share/locale/vi/LC_MESSAGES/xfprint.mo
+share/locale/zh_CN/LC_MESSAGES/xfprint.mo
+share/locale/zh_TW/LC_MESSAGES/xfprint.mo
+share/xfce4/doc/C/images/xfprint_headings.png
+share/xfce4/doc/C/images/xfprint_input.png
+share/xfce4/doc/C/images/xfprint-manager.png
+share/xfce4/doc/C/images/xfprint-manager-queue.png
+share/xfce4/doc/C/images/xfprint_mcs_plugin.png
+share/xfce4/doc/C/images/xfprint_prettyprinting.png
+share/xfce4/doc/C/images/xfprint_sheets.png
+share/xfce4/doc/C/images/xfprint_virtualpages.png
+share/xfce4/doc/C/xfprint.html
+share/xfce4/doc/fr/images/xfprint_headings.png
+share/xfce4/doc/fr/images/xfprint_input.png
+share/xfce4/doc/fr/images/xfprint-manager.png
+share/xfce4/doc/fr/images/xfprint-manager-queue.png
+share/xfce4/doc/fr/images/xfprint_mcs_plugin.png
+share/xfce4/doc/fr/images/xfprint_prettyprinting.png
+share/xfce4/doc/fr/images/xfprint_sheets.png
+share/xfce4/doc/fr/images/xfprint_virtualpages.png
+share/xfce4/doc/fr/xfprint.html
+ at dirrm include/xfce4/libxfprint
+ at dirrmtry include/xfce4
+ at dirrmtry lib/xfce4/mcs-plugins
+ at dirrmtry lib/xfce4/xfprint-plugins
+ at dirrmtry lib/xfce4
+ at dirrmtry share/applications
+ at dirrm share/gtk-doc/html/libxfprint
+ at dirrmtry share/gtk-doc/html
+ at dirrmtry share/gtk-doc
+ at dirrmtry share/locale/bn_IN/LC_MESSAGES
+ at dirrmtry share/locale/bn_IN
+ at dirrmtry share/locale/mr/LC_MESSAGES
+ at dirrmtry share/locale/mr
+ at dirrmtry share/locale/nb_NO/LC_MESSAGES
+ at dirrmtry share/locale/nb_NO
+ at dirrmtry share/xfce4/doc/C/images
+ at dirrmtry share/xfce4/doc/C
+ at dirrmtry share/xfce4/doc/fr/images
+ at dirrmtry share/xfce4/doc/fr
+ at dirrmtry share/xfce4/doc
+ at dirrmtry share/xfce4
--- /dev/null
+++ print/xfce4-print/Makefile
@@ -0,0 +1,70 @@
+# New ports collection makefile for:	xfprint
+# Date created:		7 June 2003
+# Whom:			James Earl <jdearl at telus.net>
+#
+# $MidnightBSD: mports/print/xfce4-print/Makefile,v 1.1 2008/09/26 18:16:39 laffer1 Exp $
+# $FreeBSD: ports/print/xfce4-print/Makefile,v 1.50 2008/06/06 13:58:00 edwin Exp $
+#
+
+PORTNAME=	xfce4-print
+PORTVERSION=	4.4.2
+CATEGORIES=	print xfce
+MASTER_SITES=	${MASTER_SITE_XFCE}
+DISTNAME=	xfprint-${PORTVERSION}
+DIST_SUBDIR=	xfce4
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	XFce 4 graphical frontend for printing
+LICENSE=	gpl2
+
+GNU_CONFIGURE=	yes
+INSTALLS_ICONS= yes
+USE_BZIP2=	yes
+USE_GETTEXT=	yes
+USE_GMAKE=	yes
+USE_GNOME=	glib20 gnomehack gnometarget gtk20 intltool intlhack pkgconfig
+USE_LDCONFIG=	yes
+USE_XFCE=	configenv libgui libmcs libutil mcsmanager
+
+OPTIONS=	LPR	"Use lpr as printing system"		on \
+		CUPS	"Use cups as printing system"		off \
+		LETTER	"Use letter paper format instead of A4" on
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_CUPS)
+CONFIGURE_ARGS+=--enable-cups
+LIB_DEPENDS+=	cups.2:${PORTSDIR}/print/cups-base
+PLIST_SUB+=	CUPS=""
+.else
+CONFIGURE_ARGS+=--disable-cups
+PLIST_SUB+=	CUPS="@comment "
+.endif
+
+.if defined(WITHOUT_LPR)
+CONFIGURE_ARGS+=--disable-bsdlpr
+PLIST_SUB+=	LPR="@comment "
+.else
+CONFIGURE_ARGS+=--enable-bsdlpr --with-printcap=/etc/printcap
+PLIST_SUB+=	LPR=""
+.endif
+
+.if defined(WITHOUT_LPR) && !defined(WITH_CUPS)
+IGNORE=		you have to define WITH_CUPS or undefine WITHOUT_LPR in order to install this port.
+.endif
+
+.if defined(WITH_LETTER)
+CONFIGURE_ARGS+=--enable-letter
+BUILD_DEPENDS+=	a2ps:${PORTSDIR}/print/a2ps-letter
+RUN_DEPENDS+=	a2ps:${PORTSDIR}/print/a2ps-letter
+.else
+CONFIGURE_ARGS+=--disable-letter
+BUILD_DEPENDS+=	a2ps:${PORTSDIR}/print/a2ps-a4
+RUN_DEPENDS+=	a2ps:${PORTSDIR}/print/a2ps-a4
+.endif
+
+post-patch:
+	@${REINPLACE_CMD} -e 's/@LDFLAGS@/& -Wl,-E/' ${WRKSRC}/xfprint/Makefile.in \
+		 ${WRKSRC}/xfprint-manager/Makefile.in
+
+.include <bsd.port.post.mk>
--- /dev/null
+++ print/xfce4-print/distinfo
@@ -0,0 +1,3 @@
+MD5 (xfce4/xfprint-4.4.2.tar.bz2) = be4802807e74dea30f4825102ceff5c5
+SHA256 (xfce4/xfprint-4.4.2.tar.bz2) = b9bb03820a8ba1995ffe3e5b96b6d5ebbbc0347ad1202172f13bba63b2984d54
+SIZE (xfce4/xfprint-4.4.2.tar.bz2) = 827277


More information about the Midnightbsd-cvs mailing list