blob: 602deeffffae9611f2c6b26dbec882925b9e5c42 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# $FreeBSD$
PORTNAME= electrix
PORTVERSION= 0.2.0
PORTREVISION= 7
CATEGORIES= graphics print
MASTER_SITES= SF/${PORTNAME:tl}/${PORTVERSION}
MAINTAINER= olivierd@FreeBSD.org
COMMENT= Application to view PDF files
LICENSE= GPLv2
USES= desktop-file-utils pkgconfig python:2 tar:bzip2 waf
USE_GNOME= gtk20 glib20 intltool intlhack
MAKE_ENV= DESTDIR="${STAGEDIR}" \
JOBS="${MAKE_JOBS_NUMBER}" \
LINKFLAGS="${LDFLAGS}"
OPTIONS_DEFINE= DBUS NLS PDF PS
OPTIONS_DEFAULT= DBUS PDF
OPTIONS_SUB= yes
DBUS_LIB_DEPENDS= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib
DBUS_CONFIGURE_OFF= --disable-dbus
NLS_USES= gettext
NLS_CONFIGURE_OFF= --disable-nls
PDF_LIB_DEPENDS= libpoppler-glib.so:${PORTSDIR}/graphics/poppler-glib
PDF_CONFIGURE_OFF= --disable-pdf
PS_LIB_DEPENDS= libspectre.so:${PORTSDIR}/print/libspectre
PS_CONFIGURE_OFF= --disable-ps
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/electrix
.include <bsd.port.mk>
|