mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
cf649469f2
Add patches to py-poppler [2] and rubygem-poppler [3] to fix the build of these ports with poppler 0.39+. PR: 206293 [1] Submitted by: olivierd@ [1] Obtained from: ubuntu [2], rubygem-poppler upstream [3]
41 lines
937 B
Makefile
41 lines
937 B
Makefile
# $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>
|