Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
While at it, fix dependencies.
- Loading branch information
Showing
1 changed file
with
28 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,44 @@ | ||
# $OpenBSD: | ||
# $OpenBSD$ | ||
|
||
COMMENT = ncurses file manager with vi keybindings | ||
COMMENT = ncurses file manager with vi keybindings | ||
|
||
DISTNAME = vifm-0.8.1 | ||
DISTNAME = vifm-0.8.1 | ||
|
||
CATEGORIES = sysutils | ||
CATEGORIES = sysutils | ||
|
||
HOMEPAGE = https://vifm.info/ | ||
HOMEPAGE = https://vifm.info/ | ||
|
||
MAINTAINER = Rafael Sadowski <rafael@sizeofvoid.org> | ||
MAINTAINER = Rafael Sadowski <rafael@sizeofvoid.org> | ||
|
||
# GPLv2+ | ||
PERMIT_PACKAGE_CDROM = Yes | ||
|
||
WANTLIB += X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama | ||
WANTLIB += Xrandr Xrender atk-1.0 c cairo fontconfig freetype | ||
WANTLIB += gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gobject-2.0 | ||
WANTLIB += gtk-x11-2.0 intl ncursesw pango-1.0 pangocairo-1.0 | ||
WANTLIB += pangoft2-1.0 pthread z | ||
WANTLIB += c ncursesw pthread | ||
|
||
MASTER_SITES = http://prdownloads.sourceforge.net/vifm/ | ||
EXTRACT_SUFX = .tar.bz2 | ||
MASTER_SITES = http://prdownloads.sourceforge.net/vifm/ | ||
EXTRACT_SUFX = .tar.bz2 | ||
|
||
MODULES = devel/gettext | ||
FLAVOR ?= | ||
FLAVORS = no_x11 | ||
|
||
LIB_DEPENDS = devel/pango \ | ||
devel/glib2 \ | ||
devel/atk \ | ||
x11/gtk+2 \ | ||
graphics/gdk-pixbuf2 | ||
CONFIGURE_STYLE = gnu | ||
|
||
RUN_DEPENDS = devel/desktop-file-utils | ||
RUN_DEPENDS = devel/desktop-file-utils | ||
|
||
CONFIGURE_STYLE = gnu | ||
.if ${FLAVOR:Mno_x11} | ||
WANTLIB += X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama | ||
WANTLIB += Xrandr Xrender atk-1.0 cairo fontconfig freetype gdk-x11-2.0 | ||
WANTLIB += gdk_pixbuf-2.0 gio-2.0 glib-2.0 gobject-2.0 gtk-x11-2.0 | ||
WANTLIB += pango-1.0 pangocairo-1.0 pangoft2-1.0 z | ||
|
||
CONFIGURE_ARGS += --without-libmagic \ | ||
--without-dyn-x11 | ||
MODULES = devel/gettext | ||
LIB_DEPENDS += x11/gtk+2 | ||
.else | ||
LIB_DEPENDS += devel/libmagic | ||
CONFIGURE_ARGS += --without-gtk \ | ||
--without-X11 | ||
.endif | ||
|
||
.include <bsd.port.mk> |