diff options
author | agc <agc> | 2002-01-30 11:41:55 +0000 |
---|---|---|
committer | agc <agc> | 2002-01-30 11:41:55 +0000 |
commit | e867cb2e356c6524821bee34aa4d17beba5e0d71 (patch) | |
tree | cc6d9983a9d8c41a0ef3731bf213558c7fbf879c | |
parent | fa6cf1170260371a2e8c303a375b6c080a93668d (diff) | |
download | pkgsrc-e867cb2e356c6524821bee34aa4d17beba5e0d71.tar.gz |
Initial import of aview-x11 1.3.0rc1, an ASCII art viewer with X11 support,
into the NetBSD Packages Collection.
dT8 8Tb aview is a high quality ascii-art image (pnm) browser
dT 8 8 Tb and animation (fli/flc) player which uses AAlib
dT 8 8 Tb (a portable ASCII Art library, part of the AA-project).
<PROJECT><PROJECT>
dT 8 8 Tb
dT 8 8 Tb aview features:
* High quality ascii art rendering
* Portable
* Save into many formats (html, text, ansi, more/less etc...)
* Contrast, Bright, Gamma control
* Image zooming/unzooming
* Three dithering modes
* Hidden "bonus" features :)
* Inversion
* Support for bright, dim, inverse attributes/extended character set
Provided in PR 15267 by Lubomir Sedlacik <salo@Xtrmntr.org>
-rw-r--r-- | graphics/aview-x11/DESCR | 17 | ||||
-rw-r--r-- | graphics/aview-x11/Makefile | 50 | ||||
-rw-r--r-- | graphics/aview-x11/PLIST | 13 | ||||
-rw-r--r-- | graphics/aview-x11/distinfo | 6 | ||||
-rw-r--r-- | graphics/aview-x11/patches/patch-aa | 13 | ||||
-rw-r--r-- | graphics/aview-x11/patches/patch-ab | 10 |
6 files changed, 109 insertions, 0 deletions
diff --git a/graphics/aview-x11/DESCR b/graphics/aview-x11/DESCR new file mode 100644 index 00000000000..9cf47d06714 --- /dev/null +++ b/graphics/aview-x11/DESCR @@ -0,0 +1,17 @@ + + dT8 8Tb aview is a high quality ascii-art image (pnm) browser + dT 8 8 Tb and animation (fli/flc) player which uses AAlib + dT 8 8 Tb (a portable ASCII Art library, part of the AA-project). +<PROJECT><PROJECT> + dT 8 8 Tb +dT 8 8 Tb aview features: + + * High quality ascii art rendering + * Portable + * Save into many formats (html, text, ansi, more/less etc...) + * Contrast, Bright, Gamma control + * Image zooming/unzooming + * Three dithering modes + * Hidden "bonus" features :) + * Inversion + * Support for bright, dim, inverse attributes/extended character set diff --git a/graphics/aview-x11/Makefile b/graphics/aview-x11/Makefile new file mode 100644 index 00000000000..5cf5cdf19bc --- /dev/null +++ b/graphics/aview-x11/Makefile @@ -0,0 +1,50 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/01/30 11:41:55 agc Exp $ +# + +DISTNAME= aview-1.3.0rc1 +PKGNAME= aview-x11-1.3.0.1 +CATEGORIES= graphics converters x11 +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=aa-project/} + +MAINTAINER= salo@Xtrmntr.org +HOMEPAGE= http://aa-project.sourceforge.net/aview/ +COMMENT= ASCII Art image viewer with X11 support + +WRKSRC= ${WRKDIR}/aview-1.3.0 +PLIST_SRC= ${WRKDIR}/PLIST + +GNU_CONFIGURE= YES +USE_LIBTOOL= yes +USE_BUILDLINK_ONLY= yes + +.include "../../mk/bsd.prefs.mk" + +.if (${MACHINE_ARCH} == "i386") +FILES_SUBST= BIN_PROGRAMS="aview aaflip" +.else +FILES_SUBST= BIN_PROGRAMS="aview" +.endif +FILES_SUBST_SED= ${FILES_SUBST:S/=/@!/:S/$/!g/:S/^/-e s!@/} + +pre-configure: + @${SED} ${FILES_SUBST_SED} ${WRKSRC}/Makefile.in > ${WRKDIR}/Makefile.in + @${MV} ${WRKDIR}/Makefile.in ${WRKSRC}/ + +post-install: + @${CP} ${PKGDIR}/PLIST ${PLIST_SRC} + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/aview/ + ${INSTALL_DATA} ${WRKSRC}/AUTHORS ${PREFIX}/share/doc/aview/ + ${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/doc/aview/ + ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${PREFIX}/share/doc/aview/ + ${INSTALL_DATA} ${WRKSRC}/NEWS ${PREFIX}/share/doc/aview/ + ${INSTALL_DATA} ${WRKSRC}/README* ${PREFIX}/share/doc/aview/ + ${INSTALL_DATA} ${WRKSRC}/TODO ${PREFIX}/share/doc/aview/ +.if (${MACHINE_ARCH} == "i386") + ${INSTALL_PROGRAM} ${WRKSRC}/aaflip ${PREFIX}/bin/ + @${ECHO} bin/aaflip >>${PLIST_SRC} +.endif + +.include "../../graphics/aalib-x11/buildlink.mk" +.include "../../graphics/netpbm/buildlink.mk" +.include "../../mk/x11.buildlink.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/aview-x11/PLIST b/graphics/aview-x11/PLIST new file mode 100644 index 00000000000..a8a2ad702f3 --- /dev/null +++ b/graphics/aview-x11/PLIST @@ -0,0 +1,13 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/01/30 11:41:55 agc Exp $ +bin/asciiview +bin/aview +man/man1/asciiview.1 +man/man1/aview.1 +share/doc/aview/AUTHORS +share/doc/aview/COPYING +share/doc/aview/ChangeLog +share/doc/aview/NEWS +share/doc/aview/README +share/doc/aview/README.flip +share/doc/aview/TODO +@dirrm share/doc/aview diff --git a/graphics/aview-x11/distinfo b/graphics/aview-x11/distinfo new file mode 100644 index 00000000000..8c148e365cf --- /dev/null +++ b/graphics/aview-x11/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/01/30 11:41:55 agc Exp $ + +SHA1 (aview-1.3.0rc1.tar.gz) = d757ff9f62e6ce4d926c03ae4f4096d9fcf353fc +Size (aview-1.3.0rc1.tar.gz) = 54317 bytes +SHA1 (patch-aa) = 4fb90e608e912839a3febef1b7086909eb93d42a +SHA1 (patch-ab) = ed1d623e8ffe18e5cdb18727a2ccbb2cf8c50b1d diff --git a/graphics/aview-x11/patches/patch-aa b/graphics/aview-x11/patches/patch-aa new file mode 100644 index 00000000000..e5f910209dd --- /dev/null +++ b/graphics/aview-x11/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/01/30 11:41:55 agc Exp $ + +--- Makefile.in.orig Wed Apr 25 18:04:44 2001 ++++ Makefile.in +@@ -65,7 +65,7 @@ + PACKAGE = @PACKAGE@ + VERSION = @VERSION@ + +-bin_PROGRAMS = aview aaflip ++bin_PROGRAMS = @BIN_PROGRAMS@ + aview_SOURCES = image.c main.c shrink.c ui.c + aaflip_SOURCES = flip.c general.c + bin_SCRIPTS = asciiview diff --git a/graphics/aview-x11/patches/patch-ab b/graphics/aview-x11/patches/patch-ab new file mode 100644 index 00000000000..de695930e2e --- /dev/null +++ b/graphics/aview-x11/patches/patch-ab @@ -0,0 +1,10 @@ +$NetBSD: patch-ab,v 1.1.1.1 2002/01/30 11:41:55 agc Exp $ + +--- asciiview.orig Wed Apr 25 17:59:22 2001 ++++ asciiview +@@ -1,4 +1,4 @@ +-#!/bin/bash ++#!/bin/sh + # asciiview - an ascii art image browser script. Front end for aview/aaflip + clear() + { |