summaryrefslogtreecommitdiff
path: root/graphics/libansilove
diff options
context:
space:
mode:
authorfcambus <fcambus@pkgsrc.org>2019-06-30 21:58:17 +0000
committerfcambus <fcambus@pkgsrc.org>2019-06-30 21:58:17 +0000
commitc7ee63a5f49efdcee2f1fce4ddb1802204c9c602 (patch)
treeaede34edee664ecb6ade0a73cef8e955ad9bcc26 /graphics/libansilove
parent62a27a440144198b0c9e0acbd050430a90bee107 (diff)
downloadpkgsrc-c7ee63a5f49efdcee2f1fce4ddb1802204c9c602.tar.gz
graphics/libansilove: import libansilove-1.1.2.
Library for converting ANSI, ASCII, and other formats to PNG, allowing to render ANSI and artscene-related file formats into PNG images, and supporting ANSI (.ANS), PCBoard (.PCB), Binary (.BIN), Artworx (.ADF), iCE Draw (.IDF), Tundra (.TND) and XBin (.XB) formats. It creates size optimized 4-bit PNG files and supports SAUCE (Standard Architecture for Universal Comment Extentions), 80x25 and 80x50 PC fonts (including all the 14 MS-DOS charsets), Amiga fonts, and iCE colors. OK kamil@
Diffstat (limited to 'graphics/libansilove')
-rw-r--r--graphics/libansilove/DESCR8
-rw-r--r--graphics/libansilove/Makefile17
-rw-r--r--graphics/libansilove/PLIST6
-rw-r--r--graphics/libansilove/buildlink3.mk12
-rw-r--r--graphics/libansilove/distinfo6
5 files changed, 49 insertions, 0 deletions
diff --git a/graphics/libansilove/DESCR b/graphics/libansilove/DESCR
new file mode 100644
index 00000000000..c6c04614d0a
--- /dev/null
+++ b/graphics/libansilove/DESCR
@@ -0,0 +1,8 @@
+Library for converting ANSI, ASCII, and other formats to PNG, allowing
+to render ANSI and artscene-related file formats into PNG images, and
+supporting ANSI (.ANS), PCBoard (.PCB), Binary (.BIN), Artworx (.ADF),
+iCE Draw (.IDF), Tundra (.TND) and XBin (.XB) formats.
+
+It creates size optimized 4-bit PNG files and supports SAUCE (Standard
+Architecture for Universal Comment Extentions), 80x25 and 80x50 PC fonts
+(including all the 14 MS-DOS charsets), Amiga fonts, and iCE colors.
diff --git a/graphics/libansilove/Makefile b/graphics/libansilove/Makefile
new file mode 100644
index 00000000000..9b7ef630ce6
--- /dev/null
+++ b/graphics/libansilove/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2019/06/30 21:58:17 fcambus Exp $
+
+DISTNAME= libansilove-1.1.2
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_GITHUB:=ansilove/}
+GITHUB_RELEASE= ${PKGVERSION_NOREV}
+
+MAINTAINER= fcambus@NetBSD.org
+HOMEPAGE= https://www.ansilove.org/
+COMMENT= Library for converting ANSI, ASCII, and other formats to PNG
+LICENSE= 2-clause-bsd
+
+USE_LANGUAGES= c99
+USE_CMAKE= yes
+
+.include "../../graphics/gd/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/libansilove/PLIST b/graphics/libansilove/PLIST
new file mode 100644
index 00000000000..81ef83019a8
--- /dev/null
+++ b/graphics/libansilove/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1 2019/06/30 21:58:17 fcambus Exp $
+include/ansilove.h
+lib/libansilove.so
+lib/libansilove.so.1
+lib/libansilove.so.${PKGVERSION}
+man/man3/libansilove.3
diff --git a/graphics/libansilove/buildlink3.mk b/graphics/libansilove/buildlink3.mk
new file mode 100644
index 00000000000..7fccc4633ab
--- /dev/null
+++ b/graphics/libansilove/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2019/06/30 21:58:17 fcambus Exp $
+
+BUILDLINK_TREE+= libansilove
+
+.if !defined(LIBANSILOVE_BUILDLINK3_MK)
+LIBANSILOVE_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libansilove+= libansilove>=1.1.2
+BUILDLINK_PKGSRCDIR.libansilove?= ../../graphics/libansilove
+.endif # LIBANSILOVE_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libansilove
diff --git a/graphics/libansilove/distinfo b/graphics/libansilove/distinfo
new file mode 100644
index 00000000000..a7ce304b02f
--- /dev/null
+++ b/graphics/libansilove/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/06/30 21:58:17 fcambus Exp $
+
+SHA1 (libansilove-1.1.2.tar.gz) = a115c3a9dbaf3319bb2c314ce711b5e1bb0d6460
+RMD160 (libansilove-1.1.2.tar.gz) = f8db91de178223910a83cb30cd47d549b6d8353c
+SHA512 (libansilove-1.1.2.tar.gz) = 2ca2ee85cdd8487d1f75a92f35bf96cac032b6d4712a565bbc59fe05f3431a2df0077c6d56fc841f26b065a3ad4805ff29c17891fdfc1e0e0b2ea66fe803ccf1
+Size (libansilove-1.1.2.tar.gz) = 54870 bytes