Subject: pkg/15267: new package - aview-x11 (aview with X11 support)
To: None <gnats-bugs@gnats.netbsd.org>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: netbsd-bugs
Date: 01/16/2002 18:57:36
>Number: 15267
>Category: pkg
>Synopsis: new package - aview-x11 (aview with X11 support)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed Jan 16 10:58:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Lubomir Sedlacik
>Release: NetBSD 1.5ZA
>Organization:
>Environment:
>Description:
aview package splits into two packages--aview and aview-x11. this is aview-x11
package.
>How-To-Repeat:
>Fix:
aview-x11 shar archive:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# .
# ./patches
# ./patches/patch-aa
# ./patches/patch-ab
# ./Makefile
# ./DESCR
# ./distinfo
# ./PLIST
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo c - ./patches
mkdir -p ./patches > /dev/null 2>&1
echo x - ./patches/patch-aa
sed 's/^X//' >./patches/patch-aa << 'END-of-./patches/patch-aa'
X$NetBSD$
X
X+++ Makefile.in
X@@ -65,7 +65,7 @@
X PACKAGE = @PACKAGE@
X VERSION = @VERSION@
X
X-bin_PROGRAMS = aview aaflip
X+bin_PROGRAMS = @BIN_PROGRAMS@
X aview_SOURCES = image.c main.c shrink.c ui.c
X aaflip_SOURCES = flip.c general.c
X bin_SCRIPTS = asciiview
END-of-./patches/patch-aa
echo x - ./patches/patch-ab
sed 's/^X//' >./patches/patch-ab << 'END-of-./patches/patch-ab'
X$NetBSD$
X
X+++ asciiview
X@@ -1,4 +1,4 @@
X-#!/bin/bash
X+#!/bin/sh
X # asciiview - an ascii art image browser script. Front end for aview/aaflip
X clear()
X {
END-of-./patches/patch-ab
echo x - ./Makefile
sed 's/^X//' >./Makefile << 'END-of-./Makefile'
X# $NetBSD$
X#
X
XDISTNAME= aview-1.3.0rc1
XPKGNAME= aview-x11-1.3.0.1
XCATEGORIES= graphics converters x11
XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=aa-project/}
X
XMAINTAINER= salo@Xtrmntr.org
XHOMEPAGE= http://aa-project.sourceforge.net/aview/
XCOMMENT= ASCII Art image viewer with X11 support
X
XWRKSRC= ${WRKDIR}/aview-1.3.0
XPLIST_SRC= ${WRKDIR}/PLIST
X
XGNU_CONFIGURE= YES
XUSE_LIBTOOL= yes
XUSE_BUILDLINK_ONLY= yes
X
X.include "../../mk/bsd.prefs.mk"
X
X.if (${MACHINE_ARCH} == "i386")
XFILES_SUBST= BIN_PROGRAMS="aview aaflip"
X.else
XFILES_SUBST= BIN_PROGRAMS="aview"
X.endif
XFILES_SUBST_SED= ${FILES_SUBST:S/=/@!/:S/$/!g/:S/^/-e s!@/}
X
Xpre-configure:
X @${SED} ${FILES_SUBST_SED} ${WRKSRC}/Makefile.in > ${WRKDIR}/Makefile.in
X @${MV} ${WRKDIR}/Makefile.in ${WRKSRC}/
X
Xpost-install:
X @${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
X ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/aview/
X ${INSTALL_DATA} ${WRKSRC}/AUTHORS ${PREFIX}/share/doc/aview/
X ${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/doc/aview/
X ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${PREFIX}/share/doc/aview/
X ${INSTALL_DATA} ${WRKSRC}/NEWS ${PREFIX}/share/doc/aview/
X ${INSTALL_DATA} ${WRKSRC}/README* ${PREFIX}/share/doc/aview/
X ${INSTALL_DATA} ${WRKSRC}/TODO ${PREFIX}/share/doc/aview/
X.if (${MACHINE_ARCH} == "i386")
X ${INSTALL_PROGRAM} ${WRKSRC}/aaflip ${PREFIX}/bin/
X @${ECHO} bin/aaflip >>${PLIST_SRC}
X.endif
X
X.include "../../graphics/aalib-x11/buildlink.mk"
X.include "../../graphics/netpbm/buildlink.mk"
X.include "../../mk/x11.buildlink.mk"
X.include "../../mk/bsd.pkg.mk"
END-of-./Makefile
echo x - ./DESCR
sed 's/^X//' >./DESCR << 'END-of-./DESCR'
X
X dT8 8Tb aview is a high quality ascii-art image (pnm) browser
X dT 8 8 Tb and animation (fli/flc) player which uses AAlib
X dT 8 8 Tb (a portable ASCII Art library, part of the AA-project).
X<PROJECT><PROJECT>
X dT 8 8 Tb
XdT 8 8 Tb aview features:
X
X * High quality ascii art rendering
X * Portable
X * Save into many formats (html, text, ansi, more/less etc...)
X * Contrast, Bright, Gamma control
X * Image zooming/unzooming
X * Three dithering modes
X * Hidden "bonus" features :)
X * Inversion
X * Support for bright, dim, inverse attributes/extended character set
END-of-./DESCR
echo x - ./distinfo
sed 's/^X//' >./distinfo << 'END-of-./distinfo'
X$NetBSD$
X
XSHA1 (aview-1.3.0rc1.tar.gz) = d757ff9f62e6ce4d926c03ae4f4096d9fcf353fc
XSize (aview-1.3.0rc1.tar.gz) = 54317 bytes
XSHA1 (patch-aa) = 4fb90e608e912839a3febef1b7086909eb93d42a
XSHA1 (patch-ab) = ed1d623e8ffe18e5cdb18727a2ccbb2cf8c50b1d
END-of-./distinfo
echo x - ./PLIST
sed 's/^X//' >./PLIST << 'END-of-./PLIST'
X@comment $NetBSD$
Xbin/asciiview
Xbin/aview
Xman/man1/asciiview.1
Xman/man1/aview.1
Xshare/doc/aview/AUTHORS
Xshare/doc/aview/COPYING
Xshare/doc/aview/ChangeLog
Xshare/doc/aview/NEWS
Xshare/doc/aview/README
Xshare/doc/aview/README.flip
Xshare/doc/aview/TODO
X@dirrm share/doc/aview
END-of-./PLIST
exit
>Release-Note:
>Audit-Trail:
>Unformatted: