aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/yap
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2007-02-07 03:50:40 +0800
committerdinoex <dinoex@FreeBSD.org>2007-02-07 03:50:40 +0800
commit0b135b3f2cf9c4bee5efdeff95f7bebfbf659d08 (patch)
treeba348585059f3280202d49df1fc7f6442fa0df64 /graphics/yap
parentf933d8a232dda97de3447a800d9a547dcc9fc11b (diff)
downloadfreebsd-ports-gnome-0b135b3f2cf9c4bee5efdeff95f7bebfbf659d08.tar.gz
freebsd-ports-gnome-0b135b3f2cf9c4bee5efdeff95f7bebfbf659d08.tar.zst
freebsd-ports-gnome-0b135b3f2cf9c4bee5efdeff95f7bebfbf659d08.zip
Yap.app (formerly GPSText)
(Yet another previewer) A PostScript/PDF previewer and front end to the a2ps text formatting tool. Features: * extensive use of OOP programming techniques * preview PostScript files * format text files with a2ps * opens files that are listed on the command line for easy previewing * set + paper size + pretty print style + prologue + encoding * set a2ps options via an easy-to-use GUI WWW: http://www.gnustep.it/marko/GPSText/
Diffstat (limited to 'graphics/yap')
-rw-r--r--graphics/yap/Makefile40
-rw-r--r--graphics/yap/distinfo3
-rw-r--r--graphics/yap/pkg-descr19
-rw-r--r--graphics/yap/pkg-plist10
4 files changed, 72 insertions, 0 deletions
diff --git a/graphics/yap/Makefile b/graphics/yap/Makefile
new file mode 100644
index 000000000000..848facad6c43
--- /dev/null
+++ b/graphics/yap/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: yap
+# Date created: 30 Dec 2006
+# Whom: dirk.meyer@dinoex.sub.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= yap
+PORTVERSION= 0.2
+CATEGORIES= graphics gnustep
+MASTER_SITES= http://www.gnustep.it/marko/GPSText/
+DISTNAME= Yap
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= dinoex@FreeBSD.org
+COMMENT= GNUstep a2ps/gs frontend
+
+RUN_DEPENDS+= a2ps:${PORTSDIR}/print/a2ps-${PAPERSIZE}
+
+USE_GNUSTEP= yes
+USE_GNUSTEP_PREFIX= yes
+USE_GNUSTEP_BACK= yes
+USE_GNUSTEP_BUILD= yes
+USE_GNUSTEP_INSTALL= yes
+USE_GHOSTSCRIPT_RUN= yes
+
+# - PAPERSIZE Use PAPERSIZE as in a2ps port, default to letter.
+PAPERSIZE?= letter
+
+.if ${PAPERSIZE} != a4 && ${PAPERSIZE} != letter && ${PAPERSIZE} != letterdj
+.BEGIN:
+ @${ECHO_CMD}
+ @${ECHO_CMD} "PAPERSIZE incorrect value: ${PAPERSIZE}."
+ @${ECHO_CMD}
+ @${ECHO_CMD} "Must specify PAPERSIZE as one of a4, letter, or letterdj."
+ @${ECHO_CMD} "letterdj allows a slightly larger margins for DeskJets."
+ @${FALSE}
+.endif
+
+.include <bsd.port.mk>
diff --git a/graphics/yap/distinfo b/graphics/yap/distinfo
new file mode 100644
index 000000000000..97d62438b85d
--- /dev/null
+++ b/graphics/yap/distinfo
@@ -0,0 +1,3 @@
+MD5 (Yap.tgz) = 6e609cbd0540969e3ff6342674a410cf
+SHA256 (Yap.tgz) = f24fe8c96e73f340b9896e5ebbb9da8fef1366fdc4fb99fb05d47d16ce61f342
+SIZE (Yap.tgz) = 28507
diff --git a/graphics/yap/pkg-descr b/graphics/yap/pkg-descr
new file mode 100644
index 000000000000..1099a0fd7735
--- /dev/null
+++ b/graphics/yap/pkg-descr
@@ -0,0 +1,19 @@
+Yap.app (formerly GPSText)
+(Yet another previewer)
+
+A PostScript/PDF previewer and front end to the
+a2ps text formatting tool.
+Features:
+ * extensive use of OOP programming techniques
+ * preview PostScript files
+ * format text files with a2ps
+ * opens files that are listed on the command line for easy
+ previewing
+ * set
+ + paper size
+ + pretty print style
+ + prologue
+ + encoding
+ * set a2ps options via an easy-to-use GUI
+
+WWW: http://www.gnustep.it/marko/GPSText/
diff --git a/graphics/yap/pkg-plist b/graphics/yap/pkg-plist
new file mode 100644
index 000000000000..cfccb56af477
--- /dev/null
+++ b/graphics/yap/pkg-plist
@@ -0,0 +1,10 @@
+Local/Applications/Yap.app/Resources/GPSText.tiff
+Local/Applications/Yap.app/Resources/GPSText.tiff.old
+Local/Applications/Yap.app/Resources/Info-gnustep.plist
+Local/Applications/Yap.app/Resources/Yap.desktop
+Local/Applications/Yap.app/Resources/Yap.tiff
+Local/Applications/Yap.app/Yap
+Local/Applications/Yap.app/library_paths.openapp
+Local/Applications/Yap.app/stamp.make
+@dirrm Local/Applications/Yap.app/Resources
+@dirrm Local/Applications/Yap.app