From owner-svn-ports-all@FreeBSD.ORG Fri Jun 6 10:09:06 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DEF866E5; Fri, 6 Jun 2014 10:09:05 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C09EB2DD1; Fri, 6 Jun 2014 10:09:05 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s56A95ad043682; Fri, 6 Jun 2014 10:09:05 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s56A95Ct043680; Fri, 6 Jun 2014 10:09:05 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201406061009.s56A95Ct043680@svn.freebsd.org> From: Baptiste Daroussin Date: Fri, 6 Jun 2014 10:09:05 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r356757 - head/graphics/epdfview X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jun 2014 10:09:06 -0000 Author: bapt Date: Fri Jun 6 10:09:05 2014 New Revision: 356757 URL: http://svnweb.freebsd.org/changeset/ports/356757 QAT: https://qat.redports.org/buildarchive/r356757/ Log: Support stage [1] While here: - USES=desktop-file-utils - Use options helpers PR: 189680 Submitted by: Matthieu Volat Modified: head/graphics/epdfview/Makefile head/graphics/epdfview/pkg-plist Modified: head/graphics/epdfview/Makefile ============================================================================== --- head/graphics/epdfview/Makefile Fri Jun 6 09:47:40 2014 (r356756) +++ head/graphics/epdfview/Makefile Fri Jun 6 10:09:05 2014 (r356757) @@ -3,50 +3,36 @@ PORTNAME= epdfview PORTVERSION= 0.1.8 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= graphics print gnome MASTER_SITES= http://trac.emma-soft.com/epdfview/chrome/site/releases/ \ http://mirror.slitaz.org/sources/packages/e/ MAINTAINER= sylvio@FreeBSD.org -COMMENT= A lightweight PDF document viewer +COMMENT= Lightweight PDF document viewer LICENSE= GPLv2 BUILD_DEPENDS= cppunit-config:${PORTSDIR}/devel/cppunit LIB_DEPENDS= libpoppler-glib.so:${PORTSDIR}/graphics/poppler-glib -USE_BZIP2= yes GNU_CONFIGURE= yes INSTALLS_ICONS= yes -USES= iconv gmake pkgconfig +USES= desktop-file-utils iconv gmake pkgconfig tar:bzip2 USE_GNOME= gtk20 intlhack CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= CUPS NLS +OPTIONS_SUB= yes -MAN1= epdfview.1 +CUPS_CONFIGURE_WITH= cups +CUPS_LIB_DEPENDS= libcups.so:${PORTSDIR}/print/cups-client -NO_STAGE= yes -.include - -.if ${PORT_OPTIONS:MCUPS} -CONFIGURE_ARGS+=--with-cups -LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-client -.else -CONFIGURE_ARGS+=--without-cups -.endif - -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -.else -CONFIGURE_ARGS+=--disable-nls -PLIST_SUB+= NLS="@comment " -.endif +NLS_USES= gettext +NLS_CPPFLAGS= -I${LOCALBASE}/include +NLS_LDFLAGS= -L${LOCALBASE}/lib +NLS_CONFIGURE_ENABLE= nls post-patch: @${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \ @@ -54,7 +40,6 @@ post-patch: post-install: ${REINPLACE_CMD} -e 's,Icon.*,Icon=${DATADIR}/pixmaps/icon_epdfview-48.png,' ${WRKSRC}/data/${PORTNAME}.desktop - ${INSTALL_DATA} ${WRKSRC}/data/${PORTNAME}.desktop ${PREFIX}/share/applications/ - @-update-desktop-database + ${INSTALL_DATA} ${WRKSRC}/data/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications/ .include Modified: head/graphics/epdfview/pkg-plist ============================================================================== --- head/graphics/epdfview/pkg-plist Fri Jun 6 09:47:40 2014 (r356756) +++ head/graphics/epdfview/pkg-plist Fri Jun 6 10:09:05 2014 (r356757) @@ -1,4 +1,5 @@ bin/epdfview +man/man1/epdfview.1.gz %%NLS%%share/locale/ar/LC_MESSAGES/epdfview.mo %%NLS%%share/locale/ca/LC_MESSAGES/epdfview.mo %%NLS%%share/locale/cs/LC_MESSAGES/epdfview.mo