diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2011-11-19 18:14:53 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2011-11-19 18:14:53 +0000 |
commit | 1db1e4f8a4a58e4866e09efcb0513ae41738cc86 (patch) | |
tree | cd40d99bbe25ffbb09f8e2c209c5d9cc29103869 | |
parent | 89a7c0fc19b9b7f11819ed68ca96e3c7a55c6f80 (diff) | |
download | ports-1db1e4f8a4a58e4866e09efcb0513ae41738cc86.tar.gz ports-1db1e4f8a4a58e4866e09efcb0513ae41738cc86.zip |
Notes
-rw-r--r-- | graphics/Makefile | 1 | ||||
-rw-r--r-- | graphics/electrix/Makefile | 55 | ||||
-rw-r--r-- | graphics/electrix/distinfo | 2 | ||||
-rw-r--r-- | graphics/electrix/pkg-descr | 9 | ||||
-rw-r--r-- | graphics/electrix/pkg-plist | 7 |
5 files changed, 74 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile index 36a4c54f2c9d..ac6c7844bbc8 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -132,6 +132,7 @@ SUBDIR += edje SUBDIR += edje_viewer SUBDIR += electriceyes + SUBDIR += electrix SUBDIR += enblend SUBDIR += enfle SUBDIR += eog diff --git a/graphics/electrix/Makefile b/graphics/electrix/Makefile new file mode 100644 index 000000000000..bb6d87cd2090 --- /dev/null +++ b/graphics/electrix/Makefile @@ -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> diff --git a/graphics/electrix/distinfo b/graphics/electrix/distinfo new file mode 100644 index 000000000000..dfe09abeaddc --- /dev/null +++ b/graphics/electrix/distinfo @@ -0,0 +1,2 @@ +SHA256 (electrix-0.2.0.tar.bz2) = ba8065a10ff603fbbfba48acedc72776b3110f652ac2bf4c2d5fba23f8ac7b8d +SIZE (electrix-0.2.0.tar.bz2) = 134220 diff --git a/graphics/electrix/pkg-descr b/graphics/electrix/pkg-descr new file mode 100644 index 000000000000..83c6c9f72034 --- /dev/null +++ b/graphics/electrix/pkg-descr @@ -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/ diff --git a/graphics/electrix/pkg-plist b/graphics/electrix/pkg-plist new file mode 100644 index 000000000000..b1f8670c2dd7 --- /dev/null +++ b/graphics/electrix/pkg-plist @@ -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 |