mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-06 01:57:40 +00:00
50b18cfe5f
While here - Update maintainer address - Trim Makefile headers Approved by: rene, miwi (mentors) Feature safe: yes
54 lines
1.0 KiB
Makefile
54 lines
1.0 KiB
Makefile
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= electrix
|
|
PORTVERSION= 0.2.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= graphics print
|
|
MASTER_SITES= SF/${PORTNAME:L}/${PORTVERSION}
|
|
|
|
MAINTAINER= olivierd@FreeBSD.org
|
|
COMMENT= An application to view PDF files
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= dbus-glib-1:${PORTSDIR}/devel/dbus-glib \
|
|
poppler-glib:${PORTSDIR}/graphics/poppler-glib
|
|
|
|
USE_BZIP2= yes
|
|
USE_GNOME= gtk20 desktopfileutils intltool intlhack
|
|
USE_PYTHON= yes
|
|
USE_GETTEXT= yes
|
|
USE_PKGCONFIG= build
|
|
|
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX}
|
|
|
|
OPTIONS_DEFINE= PS
|
|
|
|
PS_DESC= PostScript support
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MPS}
|
|
LIB_DEPENDS+= spectre:${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.mk>
|