1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-06 01:57:40 +00:00
freebsd-ports/graphics/electrix/Makefile
Olivier Duchateau 50b18cfe5f - Convert to OptionsNG
While here
- Update maintainer address
- Trim Makefile headers

Approved by:	rene, miwi (mentors)
Feature safe:	yes
2012-10-15 17:06:01 +00:00

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>