summaryrefslogtreecommitdiffstats
path: root/graphics/epdfview
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2008-03-24 22:24:59 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2008-03-24 22:24:59 +0800
commite99e7fe1f1854c5ed9e3e7c9e3af24a33142f18b (patch)
tree10f9776e1c0522b69eb92e8e8fe77c1dcc8cc6fe /graphics/epdfview
parent333a42158ad3a4afa17c090546a0e486c83f3edc (diff)
downloadmarcuscom-ports-e99e7fe1f1854c5ed9e3e7c9e3af24a33142f18b.tar
marcuscom-ports-e99e7fe1f1854c5ed9e3e7c9e3af24a33142f18b.tar.gz
marcuscom-ports-e99e7fe1f1854c5ed9e3e7c9e3af24a33142f18b.tar.bz2
marcuscom-ports-e99e7fe1f1854c5ed9e3e7c9e3af24a33142f18b.tar.lz
marcuscom-ports-e99e7fe1f1854c5ed9e3e7c9e3af24a33142f18b.tar.xz
marcuscom-ports-e99e7fe1f1854c5ed9e3e7c9e3af24a33142f18b.tar.zst
marcuscom-ports-e99e7fe1f1854c5ed9e3e7c9e3af24a33142f18b.zip
Chase poppler
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10826 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'graphics/epdfview')
-rw-r--r--graphics/epdfview/Makefile46
-rw-r--r--graphics/epdfview/distinfo3
-rw-r--r--graphics/epdfview/pkg-descr7
-rw-r--r--graphics/epdfview/pkg-plist25
4 files changed, 81 insertions, 0 deletions
diff --git a/graphics/epdfview/Makefile b/graphics/epdfview/Makefile
new file mode 100644
index 000000000..95273f9f2
--- /dev/null
+++ b/graphics/epdfview/Makefile
@@ -0,0 +1,46 @@
+# New ports collection makefile for: epdfview
+# Date created: 2006/06/01
+# Whom: chinsan <chinsan.tw@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= epdfview
+PORTVERSION= 0.1.6
+PORTREVISION= 4
+CATEGORIES= graphics print gnome
+MASTER_SITES= http://trac.emma-soft.com/epdfview/chrome/site/releases/ \
+ LOCAL/chinsan
+
+MAINTAINER= chinsan@FreeBSD.org
+COMMENT= A lightweight PDF document viewer
+
+BUILD_DEPENDS= DllPlugInTester:${PORTSDIR}/devel/cppunit
+LIB_DEPENDS= poppler-glib.3:${PORTSDIR}/graphics/poppler-gtk
+
+USE_BZIP2= yes
+GNU_CONFIGURE= yes
+INSTALLS_ICONS= yes
+USE_ICONV= yes
+USE_GMAKE= yes
+USE_GNOME= gtk20 intlhack
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
+
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+.else
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+= NLS="@comment "
+.endif
+
+post-install:
+ ${MKDIR} ${PREFIX}/share/applications
+ ${INSTALL_DATA} ${WRKSRC}/data/${PORTNAME}.desktop ${PREFIX}/share/applications/
+ @-update-desktop-database
+
+.include <bsd.port.mk>
diff --git a/graphics/epdfview/distinfo b/graphics/epdfview/distinfo
new file mode 100644
index 000000000..8485b77dd
--- /dev/null
+++ b/graphics/epdfview/distinfo
@@ -0,0 +1,3 @@
+MD5 (epdfview-0.1.6.tar.bz2) = cce9edb41b4a8308e0ef0eea24b5a1ab
+SHA256 (epdfview-0.1.6.tar.bz2) = 61d041afc953e0570ddae934179e92edf800f69f043d78058073806504e4137f
+SIZE (epdfview-0.1.6.tar.bz2) = 406037
diff --git a/graphics/epdfview/pkg-descr b/graphics/epdfview/pkg-descr
new file mode 100644
index 000000000..8f6a402a7
--- /dev/null
+++ b/graphics/epdfview/pkg-descr
@@ -0,0 +1,7 @@
+ePDFView is a free lightweight PDF document viewer using Poppler and GTK+
+libraries.
+
+The aim of ePDFView is to make a simple PDF document viewer, in the lines of
+Evince but without using the Gnome libraries.
+
+WWW: http://www.emma-soft.com/projects/epdfview/
diff --git a/graphics/epdfview/pkg-plist b/graphics/epdfview/pkg-plist
new file mode 100644
index 000000000..f31c126a0
--- /dev/null
+++ b/graphics/epdfview/pkg-plist
@@ -0,0 +1,25 @@
+bin/epdfview
+%%NLS%%share/locale/ca/LC_MESSAGES/epdfview.mo
+%%NLS%%share/locale/de/LC_MESSAGES/epdfview.mo
+%%NLS%%share/locale/el/LC_MESSAGES/epdfview.mo
+%%NLS%%share/locale/es/LC_MESSAGES/epdfview.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/epdfview.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/epdfview.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/epdfview.mo
+%%NLS%%share/locale/vi/LC_MESSAGES/epdfview.mo
+%%NLS%%share/locale/zh_TW/LC_MESSAGES/epdfview.mo
+share/applications/epdfview.desktop
+%%DATADIR%%/pixmaps/icon_epdfview-24.png
+%%DATADIR%%/pixmaps/icon_epdfview-32.png
+%%DATADIR%%/pixmaps/icon_epdfview-48.png
+%%DATADIR%%/pixmaps/stock_find_next_24.png
+%%DATADIR%%/pixmaps/stock_find_previous_24.png
+%%DATADIR%%/pixmaps/stock_rotate-90.png
+%%DATADIR%%/pixmaps/stock_rotate-270.png
+%%DATADIR%%/pixmaps/stock_zoom-page-width.png
+%%DATADIR%%/ui/epdfview-ui-print.xml
+%%DATADIR%%/ui/epdfview-ui.xml
+@dirrmtry share/applications
+@dirrmtry %%DATADIR%%/pixmaps
+@dirrmtry %%DATADIR%%/ui
+@dirrmtry %%DATADIR%%