From 1f9d8d7084ffd9d26df9408c5a3cf8f6e2a8c873 Mon Sep 17 00:00:00 2001 From: landry Date: Sun, 7 Jun 2009 09:01:39 +0000 Subject: [PATCH] Import xkcd-viewer, now that we have a recent enough p5-Gtk2: Using this program you can easily enjoy xkcd comics by Randall Munroe without any browser, simply using this graphical front-end. Totally useless and slacking-compliant, so we need it in the portstree. --- misc/xkcd-viewer/Makefile | 26 ++++++++++++++++++++++++++ misc/xkcd-viewer/distinfo | 5 +++++ misc/xkcd-viewer/pkg/DESCR | 3 +++ misc/xkcd-viewer/pkg/PLIST | 6 ++++++ 4 files changed, 40 insertions(+) create mode 100644 misc/xkcd-viewer/Makefile create mode 100644 misc/xkcd-viewer/distinfo create mode 100644 misc/xkcd-viewer/pkg/DESCR create mode 100644 misc/xkcd-viewer/pkg/PLIST diff --git a/misc/xkcd-viewer/Makefile b/misc/xkcd-viewer/Makefile new file mode 100644 index 00000000000..3bc2db269b1 --- /dev/null +++ b/misc/xkcd-viewer/Makefile @@ -0,0 +1,26 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2009/06/07 09:01:39 landry Exp $ + +COMMENT= XKCD comic viewer + +DISTNAME= XKCD_viewer-0.1 +PKGNAME= ${DISTNAME:L:S/_/-/} +CATEGORIES= misc + +MASTER_SITES= http://www.autistici.org/fox/files/XKCD_viewer/ + +# GPLv3 +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +WRKSRC= ${WRKDIR}/XKCD_viewer +MODULES= perl + +CONFIGURE_STYLE=perl + +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= ::x11/p5-Gtk2 \ + ::www/p5-libwww + +.include diff --git a/misc/xkcd-viewer/distinfo b/misc/xkcd-viewer/distinfo new file mode 100644 index 00000000000..cd8f8c69305 --- /dev/null +++ b/misc/xkcd-viewer/distinfo @@ -0,0 +1,5 @@ +MD5 (XKCD_viewer-0.1.tar.gz) = RGtFo208MLapsUf9SdbA3Q== +RMD160 (XKCD_viewer-0.1.tar.gz) = IXLFkune1E2C8q4FBl1xiASqm9w= +SHA1 (XKCD_viewer-0.1.tar.gz) = 1MarKLX1oB8AuoW6CVMTYscJlww= +SHA256 (XKCD_viewer-0.1.tar.gz) = SGNXDT3PcDPQs99a4saQ6wg0Gyw3E5W4URt3ojNZh5o= +SIZE (XKCD_viewer-0.1.tar.gz) = 8027 diff --git a/misc/xkcd-viewer/pkg/DESCR b/misc/xkcd-viewer/pkg/DESCR new file mode 100644 index 00000000000..68c16d0279d --- /dev/null +++ b/misc/xkcd-viewer/pkg/DESCR @@ -0,0 +1,3 @@ +Using this program you can easily enjoy xkcd comics by +Randall Munroe without any browser, simply using this +graphical front-end. diff --git a/misc/xkcd-viewer/pkg/PLIST b/misc/xkcd-viewer/pkg/PLIST new file mode 100644 index 00000000000..f96985e247f --- /dev/null +++ b/misc/xkcd-viewer/pkg/PLIST @@ -0,0 +1,6 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2009/06/07 09:01:39 landry Exp $ +bin/xkcd_viewer.pl +${P5SITE}/XKCD/ +${P5SITE}/XKCD/Core.pm +@man man/man1/xkcd_viewer.pl.1 +@man man/man3p/XKCD::Core.3p