eLectrix is an application to view Portable Document Format (PDF) files.

Features:
- zoom an rotation
- basic text search
- basic navigation history
- fullscreen mode
- tabs

WWW:	http://electrix.sourceforge.net/

PR:		ports/162525
Submitted by:	Olivier Duchateau <duchateau.olivier@gmail.com>
Feature safe: yes
This commit is contained in:
Martin Wilke 2011-11-19 18:14:53 +00:00
parent 89a7c0fc19
commit 1db1e4f8a4
5 changed files with 74 additions and 0 deletions

View file

@ -132,6 +132,7 @@
SUBDIR += edje
SUBDIR += edje_viewer
SUBDIR += electriceyes
SUBDIR += electrix
SUBDIR += enblend
SUBDIR += enfle
SUBDIR += eog

View file

@ -0,0 +1,55 @@
# New ports collection makefile for: eLectrix
# Date created: 2011-03-10
# Whom: Olivier Duchateau <duchateau.olivier@gmail.com>
#
# $FreeBSD$
#
PORTNAME= electrix
PORTVERSION= 0.2.0
CATEGORIES= graphics print
MASTER_SITES= SF/${PORTNAME:L}/${PORTVERSION}
MAINTAINER= duchateau.olivier@gmail.com
COMMENT= An application to view PDF files
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
poppler-glib.8:${PORTSDIR}/graphics/poppler-glib
USE_BZIP2= yes
USE_GNOME= gtk20 desktopfileutils intltool intlhack pkgconfig
USE_PYTHON= yes
USE_GETTEXT= yes
CFLAGS= "-I${LOCALBASE}/include"
LFLAGS= "-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --prefix=${PREFIX}
OPTIONS= PS "Enable PostScript support" off
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_PS)
LIB_DEPENDS+= spectre.1:${PORTSDIR}/print/libspectre
.else
CONFIGURE_ARGS+= --disable-ps
.endif
do-configure:
@cd ${WRKSRC} && ${SETENV} ${PYTHON_CMD} waf configure \
${CONFIGURE_ARGS} && ${TRUE}
do-build:
@cd ${WRKSRC} && ${SETENV} ${PYTHON_CMD} waf build && ${TRUE}
do-install:
@cd ${WRKSRC} && ${SETENV} ${PYTHON_CMD} waf install && ${TRUE}
post-install:
@-update-desktop-database
.include <bsd.port.post.mk>

View file

@ -0,0 +1,2 @@
SHA256 (electrix-0.2.0.tar.bz2) = ba8065a10ff603fbbfba48acedc72776b3110f652ac2bf4c2d5fba23f8ac7b8d
SIZE (electrix-0.2.0.tar.bz2) = 134220

View file

@ -0,0 +1,9 @@
eLectrix is an application to view Portable Document Format (PDF) files.
Features:
- zoom an rotation
- basic text search
- basic navigation history
- fullscreen mode
- tabs
WWW: http://electrix.sourceforge.net/

View file

@ -0,0 +1,7 @@
bin/electrix
share/applications/electrix.desktop
share/locale/ru/LC_MESSAGES/electrix.mo
share/locale/sv/LC_MESSAGES/electrix.mo
share/locale/tr/LC_MESSAGES/electrix.mo
@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true