Import podbrowser 0.12 :
PodBrowser is a graphical documentation browser for Perl. You can view the documentation for Perl's builtin functions, its "perldoc" pages, pragmatic modules and the default and user-installed modules.
This commit is contained in:
parent
d25573b42f
commit
34993535fd
24
x11/podbrowser/Makefile
Normal file
24
x11/podbrowser/Makefile
Normal file
@ -0,0 +1,24 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2009/09/05 08:44:15 landry Exp $
|
||||
|
||||
COMMENT = graphical documentation browser for Perl
|
||||
|
||||
DISTNAME = podbrowser-0.12
|
||||
CATEGORIES = devel x11
|
||||
|
||||
HOMEPAGE = http://jodrell.net/projects/podbrowser
|
||||
MASTER_SITES = http://jodrell.net/files/podbrowser/
|
||||
|
||||
# GPLv2
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
PERMIT_PACKAGE_FTP = Yes
|
||||
PERMIT_DISTFILES_CDROM = Yes
|
||||
PERMIT_DISTFILES_FTP = Yes
|
||||
|
||||
RUN_DEPENDS = ::x11/p5-Gtk2-GladeXML \
|
||||
::devel/p5-Locale-gettext \
|
||||
::x11/p5-Gtk2-Ex-PodViewer \
|
||||
::www/p5-HTML-Parser \
|
||||
::devel/desktop-file-utils \
|
||||
::devel/xdg-utils
|
||||
|
||||
.include <bsd.port.mk>
|
5
x11/podbrowser/distinfo
Normal file
5
x11/podbrowser/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (podbrowser-0.12.tar.gz) = JiDtS9j8LR/LxDL+5pTIyA==
|
||||
RMD160 (podbrowser-0.12.tar.gz) = bc1ogcwrTE4P9RVWzxKx0QxmwWk=
|
||||
SHA1 (podbrowser-0.12.tar.gz) = QoxxZ9B/MIT7mfzvu6mzGbBwJpQ=
|
||||
SHA256 (podbrowser-0.12.tar.gz) = 1J32R5MFxu9dF8aXOg1e/uk1N3FFek68UQ3Ujyr2B/U=
|
||||
SIZE (podbrowser-0.12.tar.gz) = 81394
|
34
x11/podbrowser/patches/patch-Makefile
Normal file
34
x11/podbrowser/patches/patch-Makefile
Normal file
@ -0,0 +1,34 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2009/09/05 08:44:15 landry Exp $
|
||||
--- Makefile.orig Mon Sep 17 19:36:17 2007
|
||||
+++ Makefile Fri Sep 4 04:04:45 2009
|
||||
@@ -1,10 +1,10 @@
|
||||
# $Id: patch-Makefile,v 1.1.1.1 2009/09/05 08:44:15 landry Exp $
|
||||
NAME=podbrowser
|
||||
-PREFIX=/usr/local
|
||||
+PREFIX?=/usr/local
|
||||
BINDIR=$(PREFIX)/bin
|
||||
DATADIR=$(PREFIX)/share
|
||||
ICONDIR=$(DATADIR)/icons/hicolor/48x48/apps
|
||||
-MANDIR=$(DATADIR)/man/man1
|
||||
+MANDIR=$(PREFIX)/man/man1
|
||||
|
||||
all: podbrowser
|
||||
|
||||
@@ -12,7 +12,7 @@ podbrowser:
|
||||
@mkdir -p build
|
||||
|
||||
perl -ne 's!\@PREFIX\@!$(PREFIX)!g ; s!\@LIBDIR\@!$(LIBDIR)!g ; print' < $(NAME).pl > build/$(NAME)
|
||||
- pod2man $(NAME).pl | gzip -c > build/$(NAME).1.gz
|
||||
+ pod2man $(NAME).pl > build/$(NAME).1
|
||||
|
||||
install:
|
||||
mkdir -p $(BINDIR) \
|
||||
@@ -23,7 +23,7 @@ install:
|
||||
install -m 0644 $(NAME).glade $(DATADIR)/$(NAME)/
|
||||
install -m 0644 $(NAME).png $(ICONDIR)/
|
||||
install -m 0644 $(NAME).desktop $(DATADIR)/applications/
|
||||
- install -m 0644 build/$(NAME).1.gz $(MANDIR)/
|
||||
+ install -m 0644 build/$(NAME).1 $(MANDIR)/
|
||||
install -m 0755 build/$(NAME) $(BINDIR)/$(NAME)
|
||||
install -m 0755 html2ps-$(NAME) $(BINDIR)/html2ps-$(NAME)
|
||||
|
12
x11/podbrowser/patches/patch-podbrowser_pl
Normal file
12
x11/podbrowser/patches/patch-podbrowser_pl
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-podbrowser_pl,v 1.1.1.1 2009/09/05 08:44:15 landry Exp $
|
||||
--- podbrowser.pl.orig Fri Sep 4 04:15:06 2009
|
||||
+++ podbrowser.pl Fri Sep 4 04:15:13 2009
|
||||
@@ -56,7 +56,7 @@ textdomain(lc($NAME));
|
||||
}
|
||||
|
||||
### bits we'll be reusing:
|
||||
-chomp(my $OPENER = `which gnome-open 2> /dev/null`);
|
||||
+chomp(my $OPENER = `which xdg-open 2> /dev/null`);
|
||||
my $APP = Gtk2::GladeXML->new($GLADE_FILE);
|
||||
my $THEME = get_an_icon_theme();
|
||||
my $TIPS = Gtk2::Tooltips->new;
|
3
x11/podbrowser/pkg/DESCR
Normal file
3
x11/podbrowser/pkg/DESCR
Normal file
@ -0,0 +1,3 @@
|
||||
PodBrowser is a documentation browser for Perl. You can view the
|
||||
documentation for Perl's builtin functions, its "perldoc" pages,
|
||||
pragmatic modules and the default and user-installed modules.
|
16
x11/podbrowser/pkg/PLIST
Normal file
16
x11/podbrowser/pkg/PLIST
Normal file
@ -0,0 +1,16 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/09/05 08:44:15 landry Exp $
|
||||
bin/html2ps-podbrowser
|
||||
bin/podbrowser
|
||||
@man man/man1/podbrowser.1
|
||||
share/applications/podbrowser.desktop
|
||||
share/icons/
|
||||
share/icons/hicolor/
|
||||
share/icons/hicolor/48x48/
|
||||
share/icons/hicolor/48x48/apps/
|
||||
share/icons/hicolor/48x48/apps/podbrowser.png
|
||||
share/podbrowser/
|
||||
share/podbrowser/podbrowser.glade
|
||||
@exec %D/bin/gtk-update-icon-cache -q -f -t %D/share/icons/hicolor 2> /dev/null || true
|
||||
@unexec %D/bin/gtk-update-icon-cache -q -f -t %D/share/icons/hicolor 2> /dev/null || true
|
||||
@exec %D/bin/update-desktop-database
|
||||
@unexec %D/bin/update-desktop-database
|
Loading…
x
Reference in New Issue
Block a user