diff options
author | agc <agc@pkgsrc.org> | 2002-01-30 11:31:42 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2002-01-30 11:31:42 +0000 |
commit | 4da0b4eae038b380bbcab5ac40edfae10beb8715 (patch) | |
tree | 205d340b571d65b4e338c7faec9bff1c2b9d226d | |
parent | 9ad3227cb46b449541f869de4a0b037f4d6a9024 (diff) | |
download | pkgsrc-4da0b4eae038b380bbcab5ac40edfae10beb8715.tar.gz |
Initial import of aalib-x11 1.4rc4, an ASCII art library with X11 support,
into the NetBSD Packages Collection.
AAlib is a portable ASCII Art library. From the AA project documentation:
"There are many problems of various kinds with video cards, low frequency
monitors, crashing graphical apps... AA-lib IS the solution. It works on a
terminal of any kind, it is fast and portable, it gives to you standard API.
It gives to your old hardware more power! "
Provided in PR 15266 by Lubomir Sedlacik <salo@Xtrmntr.org>
-rw-r--r-- | graphics/aalib-x11/DESCR | 5 | ||||
-rw-r--r-- | graphics/aalib-x11/Makefile | 22 | ||||
-rw-r--r-- | graphics/aalib-x11/PLIST | 83 | ||||
-rw-r--r-- | graphics/aalib-x11/buildlink.mk | 47 | ||||
-rw-r--r-- | graphics/aalib-x11/distinfo | 5 | ||||
-rw-r--r-- | graphics/aalib-x11/patches/patch-aa | 15 |
6 files changed, 177 insertions, 0 deletions
diff --git a/graphics/aalib-x11/DESCR b/graphics/aalib-x11/DESCR new file mode 100644 index 00000000000..e47db4e8f4d --- /dev/null +++ b/graphics/aalib-x11/DESCR @@ -0,0 +1,5 @@ +AAlib is a portable ASCII Art library. From the AA project documentation: +"There are many problems of various kinds with video cards, low frequency +monitors, crashing graphical apps... AA-lib IS the solution. It works on a +terminal of any kind, it is fast and portable, it gives to you standard API. +It gives to your old hardware more power! " diff --git a/graphics/aalib-x11/Makefile b/graphics/aalib-x11/Makefile new file mode 100644 index 00000000000..93c921f10d5 --- /dev/null +++ b/graphics/aalib-x11/Makefile @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/01/30 11:31:42 agc Exp $ +# + +DISTNAME= aalib-1.4rc4 +PKGNAME= aalib-x11-1.4.0.4 +CATEGORIES= graphics x11 +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=aa-project/} + +MAINTAINER= manu@netbsd.org +HOMEPAGE= http://aa-project.sourceforge.net/aalib/ +COMMENT= ASCII Art library with X11 support + +CONFLICTS+= aalib-[0-9]* + +WRKSRC= ${WRKDIR}/aalib-1.4.0 +GNU_CONFIGURE= YES +USE_LIBTOOL= yes +USE_BUILDLINK_ONLY= yes +LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig + +.include "../../mk/x11.buildlink.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/aalib-x11/PLIST b/graphics/aalib-x11/PLIST new file mode 100644 index 00000000000..97d680f847c --- /dev/null +++ b/graphics/aalib-x11/PLIST @@ -0,0 +1,83 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/01/30 11:31:42 agc Exp $ +bin/aafire +bin/aainfo +bin/aalib-config +bin/aasavefont +bin/aatest +include/aalib.h +@unexec install-info --delete --info-dir=%D/info %D/info/aalib.info +info/aalib.info +info/aalib.info-1 +info/aalib.info-2 +info/aalib.info-3 +@exec install-info --info-dir=%D/info %D/info/aalib.info +lib/libaa.a +lib/libaa.la +lib/libaa.so +lib/libaa.so.1 +lib/libaa.so.1.4 +man/man1/aafire.1 +man/man3/aa_attrs.3 +man/man3/aa_autoinit.3 +man/man3/aa_autoinitkbd.3 +man/man3/aa_autoinitmouse.3 +man/man3/aa_close.3 +man/man3/aa_createedit.3 +man/man3/aa_currentfont.3 +man/man3/aa_defparams.3 +man/man3/aa_defrenderparams.3 +man/man3/aa_displayrecommended.3 +man/man3/aa_dithernames.3 +man/man3/aa_drivers.3 +man/man3/aa_edit.3 +man/man3/aa_editkey.3 +man/man3/aa_fastrender.3 +man/man3/aa_fonts.3 +man/man3/aa_formats.3 +man/man3/aa_getevent.3 +man/man3/aa_getkey.3 +man/man3/aa_getmouse.3 +man/man3/aa_gotoxy.3 +man/man3/aa_help.3 +man/man3/aa_hidecursor.3 +man/man3/aa_hidemouse.3 +man/man3/aa_image.3 +man/man3/aa_imgheight.3 +man/man3/aa_imgwidth.3 +man/man3/aa_init.3 +man/man3/aa_initkbd.3 +man/man3/aa_initmouse.3 +man/man3/aa_kbddrivers.3 +man/man3/aa_kbdrecommended.3 +man/man3/aa_mmheight.3 +man/man3/aa_mmwidth.3 +man/man3/aa_mousedrivers.3 +man/man3/aa_mouserecommended.3 +man/man3/aa_parseoptions.3 +man/man3/aa_printf.3 +man/man3/aa_putpixel.3 +man/man3/aa_puts.3 +man/man3/aa_recommendhi.3 +man/man3/aa_recommendhidisplay.3 +man/man3/aa_recommendhikbd.3 +man/man3/aa_recommendhimouse.3 +man/man3/aa_recommendlow.3 +man/man3/aa_recommendlowdisplay.3 +man/man3/aa_recommendlowkbd.3 +man/man3/aa_recommendlowmouse.3 +man/man3/aa_registerfont.3 +man/man3/aa_render.3 +man/man3/aa_resize.3 +man/man3/aa_resizehandler.3 +man/man3/aa_scrheight.3 +man/man3/aa_scrwidth.3 +man/man3/aa_setfont.3 +man/man3/aa_setsupported.3 +man/man3/aa_showcursor.3 +man/man3/aa_showmouse.3 +man/man3/aa_text.3 +man/man3/aa_uninitkbd.3 +man/man3/aa_uninitmouse.3 +man/man3/mem_d.3 +man/man3/save_d.3 +share/aclocal/aalib.m4 diff --git a/graphics/aalib-x11/buildlink.mk b/graphics/aalib-x11/buildlink.mk new file mode 100644 index 00000000000..91392beb5fc --- /dev/null +++ b/graphics/aalib-x11/buildlink.mk @@ -0,0 +1,47 @@ +# $NetBSD: buildlink.mk,v 1.1.1.1 2002/01/30 11:31:42 agc Exp $ +# +# This Makefile fragment is included by packages that use aalib-x11. +# +# To use this Makefile fragment, simply: +# +# (1) Optionally define BUILDLINK_DEPENDS.aalib-x11 to the dependency pattern +# for the version of aalib-x11 desired. +# (2) Include this Makefile fragment in the package Makefile, +# (3) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header +# search path, and +# (4) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search +# path. + +.if !defined(AALIB-X11_BUILDLINK_MK) +aalib-x11_BUILDLINK_MK= # defined + +.include "../../mk/bsd.buildlink.mk" + +BUILDLINK_DEPENDS.aalib-x11?= aalib-x11>=1.4.0.4 +DEPENDS+= ${BUILDLINK_DEPENDS.aalib-x11}:../../graphics/aalib-x11 + +EVAL_PREFIX+= BUILDLINK_PREFIX.aalib-x11=aalib-x11 +BUILDLINK_PREFIX.aalib-x11_DEFAULT= ${LOCALBASE} +BUILDLINK_FILES.aalib-x11= include/aalib.h +BUILDLINK_FILES.aalib-x11+= lib/libaa.* + +BUILDLINK_TARGETS.aalib-x11= aalib-x11-buildlink +BUILDLINK_TARGETS.aalib-x11+= aalib-x11-buildlink-config-wrapper +BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.aalib-x11} + +BUILDLINK_CONFIG.aalib-x11= ${BUILDLINK_PREFIX.aalib-x11}/bin/aalib-config +BUILDLINK_CONFIG_WRAPPER.aalib-x11= ${BUILDLINK_DIR}/bin/aalib-config +REPLACE_BUILDLINK_SED+= \ + -e "s|${BUILDLINK_CONFIG_WRAPPER.aalib-x11}|${BUILDLINK_CONFIG.aalib-x11}|g" + +.if defined(USE_CONFIG_WRAPPER) +AALIB-X11_CONFIG?= ${BUILDLINK_CONFIG_WRAPPER.aalib-x11} +CONFIGURE_ENV+= AALIB-X11_CONFIG="${AALIB-X11_CONFIG}" +MAKE_ENV+= AALIB-X11_CONFIG="${AALIB-X11_CONFIG}" +.endif + +pre-configure: ${BUILDLINK_TARGETS.aalib-x11} +aalib-x11-buildlink: _BUILDLINK_USE +aalib-x11-buildlink-config-wrapper: _BUILDLINK_CONFIG_WRAPPER_USE + +.endif # aalib-x11_BUILDLINK_MK diff --git a/graphics/aalib-x11/distinfo b/graphics/aalib-x11/distinfo new file mode 100644 index 00000000000..e42f6c083f2 --- /dev/null +++ b/graphics/aalib-x11/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/01/30 11:31:42 agc Exp $ + +SHA1 (aalib-1.4rc4.tar.gz) = a11c16b258bf9b64b135858afabc7f3a45222a4a +Size (aalib-1.4rc4.tar.gz) = 390812 bytes +SHA1 (patch-aa) = 927d69a8f499b99f0bd5f13cf220ce8cbb7ea591 diff --git a/graphics/aalib-x11/patches/patch-aa b/graphics/aalib-x11/patches/patch-aa new file mode 100644 index 00000000000..9141e704100 --- /dev/null +++ b/graphics/aalib-x11/patches/patch-aa @@ -0,0 +1,15 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/01/30 11:31:42 agc Exp $ + +--- src/aacurses.c.orig Thu Aug 23 14:55:25 2001 ++++ src/aacurses.c Thu Aug 23 14:56:16 2001 +@@ -71,8 +71,8 @@ + { + if (__resized_curses) + curses_uninit(c), curses_init(&c->params, NULL,&c->driverparams, NULL), __resized_curses = 0; +- *width = stdscr->_maxx + 1; +- *height = stdscr->_maxy + 1; ++ *width = getmaxx(stdscr) + 1; ++ *height = getmaxy(stdscr) + 1; + #ifdef GPM_MOUSEDRIVER + gpm_mx = *width; + gpm_my = *height; |