aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorOlivier Duchateau <olivierd@FreeBSD.org>2012-10-16 01:06:01 +0800
committerOlivier Duchateau <olivierd@FreeBSD.org>2012-10-16 01:06:01 +0800
commit50b18cfe5f12eda5b823f491336c5b0953ac2df9 (patch)
tree87618dc8fb3b0a5d9344ef701c069e0797205912 /graphics
parent3ab73c87bd98533f9d200feee3a9274f6f3f34f1 (diff)
downloadfreebsd-ports-gnome-50b18cfe5f12eda5b823f491336c5b0953ac2df9.tar.gz
freebsd-ports-gnome-50b18cfe5f12eda5b823f491336c5b0953ac2df9.tar.zst
freebsd-ports-gnome-50b18cfe5f12eda5b823f491336c5b0953ac2df9.zip
- Convert to OptionsNG
While here - Update maintainer address - Trim Makefile headers Approved by: rene, miwi (mentors) Feature safe: yes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/electrix/Makefile27
1 files changed, 12 insertions, 15 deletions
diff --git a/graphics/electrix/Makefile b/graphics/electrix/Makefile
index 61c812ef0a16..3e81ea0dc9f4 100644
--- a/graphics/electrix/Makefile
+++ b/graphics/electrix/Makefile
@@ -1,7 +1,3 @@
-# New ports collection makefile for: eLectrix
-# Date created: 2011-03-10
-# Whom: Olivier Duchateau <duchateau.olivier@gmail.com>
-#
# $FreeBSD$
#
@@ -11,31 +7,32 @@ PORTREVISION= 1
CATEGORIES= graphics print
MASTER_SITES= SF/${PORTNAME:L}/${PORTVERSION}
-MAINTAINER= duchateau.olivier@gmail.com
+MAINTAINER= olivierd@FreeBSD.org
COMMENT= An application to view PDF files
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-LIB_DEPENDS= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
- poppler-glib.8:${PORTSDIR}/graphics/poppler-glib
+LIB_DEPENDS= dbus-glib-1:${PORTSDIR}/devel/dbus-glib \
+ poppler-glib:${PORTSDIR}/graphics/poppler-glib
USE_BZIP2= yes
-USE_GNOME= gtk20 desktopfileutils intltool intlhack pkgconfig
+USE_GNOME= gtk20 desktopfileutils intltool intlhack
USE_PYTHON= yes
USE_GETTEXT= yes
+USE_PKGCONFIG= build
-CFLAGS= "-I${LOCALBASE}/include"
-LFLAGS= "-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --prefix=${PREFIX}
-OPTIONS= PS "Enable PostScript support" off
+OPTIONS_DEFINE= PS
+
+PS_DESC= PostScript support
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if !defined(WITHOUT_PS)
-LIB_DEPENDS+= spectre.1:${PORTSDIR}/print/libspectre
+.if ${PORT_OPTIONS:MPS}
+LIB_DEPENDS+= spectre:${PORTSDIR}/print/libspectre
.else
CONFIGURE_ARGS+= --disable-ps
.endif
@@ -53,4 +50,4 @@ do-install:
post-install:
@-update-desktop-database
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>