diff options
author | agc <agc@pkgsrc.org> | 2002-01-09 11:49:33 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2002-01-09 11:49:33 +0000 |
commit | c7878f595ebacccd426bb2dcd0630c2aed147d44 (patch) | |
tree | 1547f6a19b08b486300b04993c784822ed58e201 /graphics/aview | |
parent | bf18695c94aa75ede108497439be02394765437c (diff) | |
download | pkgsrc-c7878f595ebacccd426bb2dcd0630c2aed147d44.tar.gz |
Initial import of aview-1.3.0rc1 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 15135 by Lubomir Sedlacik <salo@Xtrmntr.org>, modified
slightly by me to support buildlink functionality for X11 and netpbm,
and for slight formatting changes to the package Makefile.
Diffstat (limited to 'graphics/aview')
-rw-r--r-- | graphics/aview/DESCR | 17 | ||||
-rw-r--r-- | graphics/aview/Makefile | 49 | ||||
-rw-r--r-- | graphics/aview/PLIST | 13 | ||||
-rw-r--r-- | graphics/aview/distinfo | 6 | ||||
-rw-r--r-- | graphics/aview/patches/patch-aa | 13 | ||||
-rw-r--r-- | graphics/aview/patches/patch-ab | 10 |
6 files changed, 108 insertions, 0 deletions
diff --git a/graphics/aview/DESCR b/graphics/aview/DESCR new file mode 100644 index 00000000000..9cf47d06714 --- /dev/null +++ b/graphics/aview/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/Makefile b/graphics/aview/Makefile new file mode 100644 index 00000000000..2b9ea5dd6f4 --- /dev/null +++ b/graphics/aview/Makefile @@ -0,0 +1,49 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/01/09 11:49:33 agc Exp $ +# + +DISTNAME= aview-1.3.0rc1 +CATEGORIES= graphics converters +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=aa-project/} + +MAINTAINER= salo@Xtrmntr.org +HOMEPAGE= http://aa-project.sourceforge.net/aview/ +COMMENT= ASCII Art image viewer + +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/buildlink.mk" +.include "../../graphics/netpbm/buildlink.mk" +.include "../../mk/x11.buildlink.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/aview/PLIST b/graphics/aview/PLIST new file mode 100644 index 00000000000..2f058b73d7a --- /dev/null +++ b/graphics/aview/PLIST @@ -0,0 +1,13 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/01/09 11:49:33 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/distinfo b/graphics/aview/distinfo new file mode 100644 index 00000000000..5d3b134dade --- /dev/null +++ b/graphics/aview/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/01/09 11:49:33 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/patches/patch-aa b/graphics/aview/patches/patch-aa new file mode 100644 index 00000000000..35dbf944e70 --- /dev/null +++ b/graphics/aview/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/01/09 11:49:33 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/patches/patch-ab b/graphics/aview/patches/patch-ab new file mode 100644 index 00000000000..4206c4c41c6 --- /dev/null +++ b/graphics/aview/patches/patch-ab @@ -0,0 +1,10 @@ +$NetBSD: patch-ab,v 1.1.1.1 2002/01/09 11:49:33 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() + { |