2011-11-19 19:14:53 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= electrix
|
|
|
|
PORTVERSION= 0.2.0
|
2015-08-02 18:06:16 +02:00
|
|
|
PORTREVISION= 6
|
2011-11-19 19:14:53 +01:00
|
|
|
CATEGORIES= graphics print
|
2014-05-05 11:45:36 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME:tl}/${PORTVERSION}
|
2011-11-19 19:14:53 +01:00
|
|
|
|
2012-10-15 19:06:01 +02:00
|
|
|
MAINTAINER= olivierd@FreeBSD.org
|
2014-01-27 18:14:55 +01:00
|
|
|
COMMENT= Application to view PDF files
|
2011-11-19 19:14:53 +01:00
|
|
|
|
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2015-04-08 17:05:48 +02:00
|
|
|
USES= desktop-file-utils pkgconfig python:2 tar:bzip2 waf
|
2014-01-27 18:14:55 +01:00
|
|
|
USE_GNOME= gtk20 glib20 intltool intlhack
|
2011-11-19 19:14:53 +01:00
|
|
|
|
2014-10-28 00:36:31 +01:00
|
|
|
MAKE_ENV= DESTDIR="${STAGEDIR}" \
|
|
|
|
JOBS="${MAKE_JOBS_NUMBER}" \
|
|
|
|
LINKFLAGS="${LDFLAGS}"
|
2011-11-19 19:14:53 +01:00
|
|
|
|
2014-10-28 00:36:31 +01:00
|
|
|
OPTIONS_DEFINE= DBUS NLS PDF PS
|
2012-12-21 00:13:44 +01:00
|
|
|
OPTIONS_DEFAULT= DBUS PDF
|
2014-10-28 00:36:31 +01:00
|
|
|
OPTIONS_SUB= yes
|
2012-10-15 19:06:01 +02:00
|
|
|
|
2014-10-28 00:36:31 +01:00
|
|
|
DBUS_LIB_DEPENDS= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib
|
|
|
|
DBUS_CONFIGURE_OFF= --disable-dbus
|
2011-11-19 19:14:53 +01:00
|
|
|
|
2014-10-28 00:36:31 +01:00
|
|
|
NLS_USES= gettext
|
|
|
|
NLS_CONFIGURE_OFF= --disable-nls
|
2011-11-19 19:14:53 +01:00
|
|
|
|
2014-10-28 00:36:31 +01:00
|
|
|
PDF_LIB_DEPENDS= libpoppler-glib.so:${PORTSDIR}/graphics/poppler-glib
|
|
|
|
PDF_CONFIGURE_OFF= --disable-pdf
|
2012-12-21 00:13:44 +01:00
|
|
|
|
2014-10-28 00:36:31 +01:00
|
|
|
PS_LIB_DEPENDS= libspectre.so:${PORTSDIR}/print/libspectre
|
|
|
|
PS_CONFIGURE_OFF= --disable-ps
|
2011-11-19 19:14:53 +01:00
|
|
|
|
2015-04-08 17:05:48 +02:00
|
|
|
post-install:
|
2014-10-28 00:36:31 +01:00
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/electrix
|
2011-11-19 19:14:53 +01:00
|
|
|
|
2012-10-15 19:06:01 +02:00
|
|
|
.include <bsd.port.mk>
|