From owner-svn-ports-head@FreeBSD.ORG Sat Jun 15 12:16:04 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 00107AE5; Sat, 15 Jun 2013 12:16:03 +0000 (UTC) (envelope-from pawel@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id E5C4915F2; Sat, 15 Jun 2013 12:16:03 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r5FCG3Lr063439; Sat, 15 Jun 2013 12:16:03 GMT (envelope-from pawel@svn.freebsd.org) Received: (from pawel@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r5FCG3L4063437; Sat, 15 Jun 2013 12:16:03 GMT (envelope-from pawel@svn.freebsd.org) Message-Id: <201306151216.r5FCG3L4063437@svn.freebsd.org> From: Pawel Pekala Date: Sat, 15 Jun 2013 12:16:03 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r320992 - head/finance/homebank X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Jun 2013 12:16:04 -0000 Author: pawel Date: Sat Jun 15 12:16:03 2013 New Revision: 320992 URL: http://svnweb.freebsd.org/changeset/ports/320992 Log: - Remove dependencies, most are pulled by gtk20 - Switch to PORTDOCS, USES=desktop-file-utils to make plist smaller - Use OPTIONS macros for better readability Modified: head/finance/homebank/Makefile head/finance/homebank/pkg-plist (contents, props changed) Modified: head/finance/homebank/Makefile ============================================================================== --- head/finance/homebank/Makefile Sat Jun 15 12:00:14 2013 (r320991) +++ head/finance/homebank/Makefile Sat Jun 15 12:16:03 2013 (r320992) @@ -2,6 +2,7 @@ PORTNAME= homebank PORTVERSION= 4.5 +PORTREVISION= 1 CATEGORIES= finance MASTER_SITES= http://homebank.free.fr/public/ @@ -10,38 +11,27 @@ COMMENT= Free, easy, personal accounting LICENSE= GPLv2 -LIB_DEPENDS= pthread-stubs:${PORTSDIR}/devel/libpthread-stubs \ - pcre:${PORTSDIR}/devel/pcre \ - cairo:${PORTSDIR}/graphics/cairo \ - png15:${PORTSDIR}/graphics/png \ - freetype:${PORTSDIR}/print/freetype2 \ - expat:${PORTSDIR}/textproc/expat2 \ - osp:${PORTSDIR}/textproc/opensp \ - fontconfig:${PORTSDIR}/x11-fonts/fontconfig +LIB_DEPENDS= osp:${PORTSDIR}/textproc/opensp GNU_CONFIGURE= yes USE_GMAKE= yes -USES= gettext iconv -USE_XORG= pixman x11 xau xcb xcomposite xcursor xdamage xdmcp xext \ - xfixes xi xinerama xrandr xrender -USE_GNOME= desktopfileutils gnomehier gtk20 +USES= desktop-file-utils +USE_GNOME= gnomehier gtk20 INSTALLS_ICONS= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -pthread -OPTIONS_DEFINE= OFX -OFX_DESC= Enable libOFX support +PORTDOCS= AUTHORS ChangeLog NEWS README + +OPTIONS_DEFINE= DOCS OFX +OFX_DESC= OFX file format support OPTIONS_DEFAULT=OFX -.include +OFX_LIB_DEPENDS= ofx:${PORTSDIR}/finance/libofx +OFX_CONFIGURE_OFF= --without-ofx -.if ${PORT_OPTIONS:MOFX} -LIB_DEPENDS+= ofx:${PORTSDIR}/finance/libofx -CONFIGURE_ARGS+=--with-ofx -.else -CONFIGURE_ARGS+=--without-ofx -.endif +.include post-extract: @${CHMOD} ${BINMODE} ${WRKSRC}/install-sh @@ -49,11 +39,7 @@ post-extract: post-install: .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} -.for file in AUTHORS ChangeLog NEWS README - ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} -.endfor + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} .endif - @-update-desktop-database - @-update-mime-database ${PREFIX}/share/mime .include Modified: head/finance/homebank/pkg-plist ============================================================================== --- head/finance/homebank/pkg-plist Sat Jun 15 12:00:14 2013 (r320991) +++ head/finance/homebank/pkg-plist Sat Jun 15 12:16:03 2013 (r320992) @@ -1,10 +1,6 @@ bin/homebank share/application-registry/homebank.applications share/applications/homebank.desktop -%%PORTDOCS%%%%DOCSDIR%%/AUTHORS -%%PORTDOCS%%%%DOCSDIR%%/ChangeLog -%%PORTDOCS%%%%DOCSDIR%%/NEWS -%%PORTDOCS%%%%DOCSDIR%%/README %%DATADIR%%/datas/example.xhb %%DATADIR%%/datas/hb-categories-de.csv %%DATADIR%%/datas/hb-categories-en.csv @@ -327,9 +323,4 @@ share/mime/packages/homebank.xml @dirrm %%DATADIR%%/help @dirrm %%DATADIR%%/datas @dirrm %%DATADIR%% -%%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrmtry share/applications -@exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime -@unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime -@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true -@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true