From 403b37bfefb1378f409b56a7b3cae1186e94a33e Mon Sep 17 00:00:00 2001 From: Olivier Duchateau Date: Fri, 10 Apr 2015 17:19:52 +0000 Subject: - Update to 1.2.3 - Adjust dependencies - Remove DEBUG option - Fix USES= gettext-* when NLS option is not set PR: 198774 Submitted by: myself Approved by: maintainer (timeout, 3 weeks) --- x11-fm/pcmanfm/Makefile | 25 ++++++++++++++----------- x11-fm/pcmanfm/distinfo | 4 ++-- 2 files changed, 16 insertions(+), 13 deletions(-) (limited to 'x11-fm/pcmanfm') diff --git a/x11-fm/pcmanfm/Makefile b/x11-fm/pcmanfm/Makefile index c00852f20873..d321e46a7713 100644 --- a/x11-fm/pcmanfm/Makefile +++ b/x11-fm/pcmanfm/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= pcmanfm -PORTVERSION= 1.2.2 +PORTVERSION= 1.2.3 CATEGORIES= x11-fm MASTER_SITES= SF/${PORTNAME}/PCManFM%20%2B%20Libfm%20%28tarball%20release%29/PCManFM/ @@ -13,26 +13,29 @@ LICENSE= GPLv2 LIB_DEPENDS= libfm-gtk.so:${PORTSDIR}/x11/libfm -USES= desktop-file-utils fam gmake pathfix pkgconfig tar:xz libtool -USE_GNOME= gtk20 -USE_AUTOTOOLS= aclocal automake +USES= desktop-file-utils gmake pkgconfig gettext-tools libtool \ + autoreconf tar:xz +GNU_CONFIGURE= yes +USE_GNOME= glib20 gtk20 intltool intlhack +USE_XORG= x11 -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib +CONFIGURE_ARGS=--with-gtk=2 PORTDOCS= AUTHORS NEWS -OPTIONS_DEFINE= DEBUG DOCS NLS +OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes - -DEBUG_CONFIGURE_ENABLE= debug - -NLS_USES= gettext +NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls post-patch: @${REINPLACE_CMD} -e '/pcmanfm.conf/ d' ${WRKSRC}/data/Makefile.am +post-configure: +# Replace locales files in right place + ${REINPLACE_CMD} -e 's|[$$][(]DATADIRNAME[)]|share|' \ + ${WRKSRC}/po/Makefile + post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/xdg/pcmanfm/default/ ${INSTALL_DATA} ${WRKSRC}/data/pcmanfm.conf \ diff --git a/x11-fm/pcmanfm/distinfo b/x11-fm/pcmanfm/distinfo index 4d49b6e12764..46b00e14a5fb 100644 --- a/x11-fm/pcmanfm/distinfo +++ b/x11-fm/pcmanfm/distinfo @@ -1,2 +1,2 @@ -SHA256 (pcmanfm-1.2.2.tar.xz) = f620019ac0203b2d0e6eb8aa5a6a46e2bee15a43b4bdd9580db367b6325e9503 -SIZE (pcmanfm-1.2.2.tar.xz) = 406584 +SHA256 (pcmanfm-1.2.3.tar.xz) = cfa8d82fc63be147045174bef074807e1e32ce8c6bf4dbd8fad49e260bcf6380 +SIZE (pcmanfm-1.2.3.tar.xz) = 406756 -- cgit v1.2.3