aboutsummaryrefslogtreecommitdiff
path: root/print/ansiprint
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-06-06 16:42:17 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-06-06 16:42:17 +0000
commitdf4dd029cc37c2bae4390bcb11e754ad272ef5f0 (patch)
tree91a608ef3e82e450eb74bedfe833d6fb1eaed151 /print/ansiprint
parent55a9b9dd373db582fac84982701151595366e552 (diff)
downloadports-df4dd029cc37c2bae4390bcb11e754ad272ef5f0.tar.gz
ports-df4dd029cc37c2bae4390bcb11e754ad272ef5f0.zip
A utility for printing text files (or stdin) through a terminal/terminal
emulator using ANSI escape sequences. WWW: http://ansiprint.sourceforge.net PR: ports/98072 Submitted by: stephentfisher@yahoo.com Approved by: lawrance (mentor, implicit)
Notes
Notes: svn path=/head/; revision=164618
Diffstat (limited to 'print/ansiprint')
-rw-r--r--print/ansiprint/Makefile32
-rw-r--r--print/ansiprint/distinfo3
-rw-r--r--print/ansiprint/pkg-descr4
3 files changed, 39 insertions, 0 deletions
diff --git a/print/ansiprint/Makefile b/print/ansiprint/Makefile
new file mode 100644
index 000000000000..d38cad638943
--- /dev/null
+++ b/print/ansiprint/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: ansiprint
+# Date created: 28 May 2006
+# Whom: stephentfisher@yahoo.com
+#
+# $FreeBSD$
+#
+
+PORTNAME= ansiprint
+PORTVERSION= 1.0
+CATEGORIES= print
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= ${PORTNAME}-${PORTVERSION}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= stephentfisher@yahoo.com
+COMMENT= Prints through a terminal with ANSI escape sequences
+
+PLIST_FILES= bin/${PORTNAME}
+
+CXXFLAGS+= -Wno-deprecated
+
+post-extract:
+ @${RM} ${WRKSRC}/Makefile
+
+do-build:
+ cd ${WRKSRC} && ${CXX} ${CXXFLAGS} -o ${PORTNAME} ansiprint.cc
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/print/ansiprint/distinfo b/print/ansiprint/distinfo
new file mode 100644
index 000000000000..a93068da1191
--- /dev/null
+++ b/print/ansiprint/distinfo
@@ -0,0 +1,3 @@
+MD5 (ansiprint-1.0.tgz) = 7ebe9ab9ee3b1596c5d903510aec4a3d
+SHA256 (ansiprint-1.0.tgz) = 13822671690d1b2065df6cc2720530436c4e7286219ea1511e1d8b2590f4e95e
+SIZE (ansiprint-1.0.tgz) = 5454
diff --git a/print/ansiprint/pkg-descr b/print/ansiprint/pkg-descr
new file mode 100644
index 000000000000..437dfc91335b
--- /dev/null
+++ b/print/ansiprint/pkg-descr
@@ -0,0 +1,4 @@
+A utility for printing text files (or stdin) through a terminal/terminal
+emulator using ANSI escape sequences.
+
+WWW: http://ansiprint.sourceforge.net