aboutsummaryrefslogtreecommitdiff
path: root/x11-fm/pcmanfm
diff options
context:
space:
mode:
authorOlivier Duchateau <olivierd@FreeBSD.org>2015-04-10 17:19:52 +0000
committerOlivier Duchateau <olivierd@FreeBSD.org>2015-04-10 17:19:52 +0000
commit403b37bfefb1378f409b56a7b3cae1186e94a33e (patch)
treee04b8b8d9bee7df0707a844a1060f9638719e519 /x11-fm/pcmanfm
parent9e0b4328d2bb0a6d44a5610b08650a8a317b2645 (diff)
downloadports-403b37bfefb1378f409b56a7b3cae1186e94a33e.tar.gz
ports-403b37bfefb1378f409b56a7b3cae1186e94a33e.zip
Notes
Diffstat (limited to 'x11-fm/pcmanfm')
-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 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