Remove old files from previous zathura port - update Makefile to recurse

into core and plugins subdirs.
This commit is contained in:
landry 2014-09-02 13:33:39 +00:00
parent fffe826bc3
commit 204179f559
6 changed files with 5 additions and 97 deletions

View File

@ -1,49 +1,7 @@
# $OpenBSD: Makefile,v 1.18 2013/03/11 11:42:47 espie Exp $
# $OpenBSD: Makefile,v 1.19 2014/09/02 13:33:39 landry Exp $
COMMENT = pdf viewer with vi-like keybindings
DISTNAME = zathura-0.0.8.5
REVISION = 1
CATEGORIES = textproc x11
HOMEPAGE = http://pwmt.org/projects/zathura/
MAINTAINER = Abel Abraham Camarillo Ojeda <acamari@the00z.org>
MODULES = devel/gettext
# MIT
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += GL X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama
WANTLIB += Xrandr Xrender atk-1.0 c cairo expat fontconfig freetype
WANTLIB += gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0
WANTLIB += gobject-2.0 gthread-2.0 gtk-x11-2.0 m pango-1.0 pangocairo-1.0
WANTLIB += pangoft2-1.0 pixman-1 png poppler-glib pthread pthread-stubs
WANTLIB += xcb xcb-render xcb-shm z
MASTER_SITES = https://pwmt.org/download/
BUILD_DEPENDS = textproc/py-docutils
RUN_DEPENDS = devel/desktop-file-utils
LIB_DEPENDS = devel/atk \
graphics/gdk-pixbuf2 \
print/poppler \
x11/gtk+2
MAKE_FLAGS = MANPREFIX=${WRKINST}/${PREFIX}/man \
DESKTOPPREFIX=${WRKINST}/${PREFIX}/share/applications \
CC="${CC}" \
VERBOSE=1
FAKE_FLAGS = DESTDIR=''
USE_GMAKE = Yes
USE_GROFF = Yes
NO_TEST = Yes
pre-configure:
${SUBST_CMD} ${WRKSRC}/config.mk
.include <bsd.port.mk>
SUBDIR =
SUBDIR += core
SUBDIR += plugins
.include <bsd.port.subdir.mk>

View File

@ -1,5 +0,0 @@
MD5 (zathura-0.0.8.5.tar.gz) = UuDDs5F8f+rsupjP+ENbkA==
RMD160 (zathura-0.0.8.5.tar.gz) = XY3hNXEk4GfPjNN8dLIVkbqKkAc=
SHA1 (zathura-0.0.8.5.tar.gz) = jWW5ZPyA84DP7l6+Gn/L6/OM+/c=
SHA256 (zathura-0.0.8.5.tar.gz) = hHUbCeANldeJlXMjhmbfBBTKtys9IL0+XjbbBeSF8Lk=
SIZE (zathura-0.0.8.5.tar.gz) = 38092

View File

@ -1,21 +0,0 @@
$OpenBSD: patch-config_def_h,v 1.1 2012/02/19 20:55:33 edd Exp $
--- config.def.h.orig Fri Feb 17 11:57:19 2012
+++ config.def.h Fri Feb 17 11:57:24 2012
@@ -124,6 +124,8 @@ Shortcut shortcuts[] = {
{0, GDK_f, sc_follow, NORMAL, {0} },
{0, GDK_J, sc_navigate, NORMAL, { NEXT } },
{0, GDK_K, sc_navigate, NORMAL, { PREVIOUS } },
+ {0, GDK_Page_Down, sc_navigate, NORMAL, { NEXT } },
+ {0, GDK_Page_Up, sc_navigate, NORMAL, { PREVIOUS } },
{GDK_MOD1_MASK, GDK_Right, sc_navigate, NORMAL, { NEXT } },
{GDK_MOD1_MASK, GDK_Left, sc_navigate, NORMAL, { PREVIOUS } },
{0, GDK_Left, sc_navigate, FULLSCREEN, { PREVIOUS } },
@@ -133,6 +135,8 @@ Shortcut shortcuts[] = {
{0, GDK_space, sc_navigate, FULLSCREEN, { NEXT } },
{0, GDK_k, sc_navigate_index, INDEX, { UP } },
{0, GDK_j, sc_navigate_index, INDEX, { DOWN } },
+ {0, GDK_Up, sc_navigate_index, INDEX, { UP } },
+ {0, GDK_Down, sc_navigate_index, INDEX, { DOWN } },
{0, GDK_h, sc_navigate_index, INDEX, { COLLAPSE } },
{0, GDK_l, sc_navigate_index, INDEX, { EXPAND } },
{0, GDK_space, sc_navigate_index, INDEX, { SELECT } },

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-config_mk,v 1.3 2012/01/18 15:58:32 landry Exp $
--- config.mk.orig Wed Nov 9 16:52:47 2011
+++ config.mk Sun Jan 15 00:02:36 2012
@@ -12,7 +12,7 @@ DESKTOPPREFIX ?= ${PREFIX}/share/applications
GTK_INC = $(shell pkg-config --cflags gtk+-2.0 poppler-glib)
GTK_LIB = $(shell pkg-config --libs gtk+-2.0 gthread-2.0 poppler-glib)
-INCS = -I. -I/usr/include ${GTK_INC}
+INCS = -I. -I/usr/include ${GTK_INC} -I${LOCALBASE}/include
LIBS = -lc ${GTK_LIB} -lpthread -lm
# compiler flags

View File

@ -1,5 +0,0 @@
zathura is a highly customizable and functional PDF viewer based
on the poppler rendering library and the gtk+ toolkit. The idea
behind zathura is an application that provides a minimalistic and
space saving interface as well as an easy usage that mainly focuses
on keyboard interaction.

View File

@ -1,7 +0,0 @@
@comment $OpenBSD: PLIST,v 1.3 2012/02/21 22:34:19 sthen Exp $
@bin bin/zathura
@man man/man1/zathura.1
@man man/man5/zathurarc.5
share/applications/zathura.desktop
@exec %D/bin/update-desktop-database
@unexec-delete %D/bin/update-desktop-database