summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorolivierd <olivierd@FreeBSD.org>2015-04-10 17:19:52 +0000
committerolivierd <olivierd@FreeBSD.org>2015-04-10 17:19:52 +0000
commit3ab9b2c3e8c891b4759680bf4227d524400da409 (patch)
treee04b8b8d9bee7df0707a844a1060f9638719e519
parent753e167dc893d14b6527b590ec5b3cb9bc7becb8 (diff)
downloadFreeBSD-ports-3ab9b2c3e8c891b4759680bf4227d524400da409.zip
FreeBSD-ports-3ab9b2c3e8c891b4759680bf4227d524400da409.tar.gz
- 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)
-rw-r--r--x11-fm/pcmanfm/Makefile25
-rw-r--r--x11-fm/pcmanfm/distinfo4
2 files changed, 16 insertions, 13 deletions
diff --git a/x11-fm/pcmanfm/Makefile b/x11-fm/pcmanfm/Makefile
index c00852f..d321e46 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 4d49b6e..46b00e1 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
OpenPOWER on IntegriCloud