summaryrefslogtreecommitdiff
path: root/graphics/yap/Makefile
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2007-02-06 19:50:40 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2007-02-06 19:50:40 +0000
commit7f1f112c31d1e6a7b3691948fa79a174128d5e50 (patch)
tree87f9049f2179d55ec0f6d52debcbd92b45bce45a /graphics/yap/Makefile
parentThis is a snapshot of the development version of KVirc - (diff)
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/Makefile')
-rw-r--r--graphics/yap/Makefile40
1 files changed, 40 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>