summaryrefslogtreecommitdiff
path: root/x11-fm
diff options
context:
space:
mode:
authorOlivier Duchateau <olivierd@FreeBSD.org>2016-12-21 18:41:37 +0000
committerOlivier Duchateau <olivierd@FreeBSD.org>2016-12-21 18:41:37 +0000
commit19629d02164b76bf379b627f223eb41556381be6 (patch)
tree5302229c32bb942bb2c4afac3eb7b10df47a529e /x11-fm
parentdevel/git-cinnabar: update to 0.4.0.r2.5 (diff)
- Update to 1.2.5
- Remove DOCS option, and unneeded patch - Cleanup Makefile - Adjust dependencies (reported by QA script) - Switch to USES= localbase
Notes
Notes: svn path=/head/; revision=429109
Diffstat (limited to 'x11-fm')
-rw-r--r--x11-fm/pcmanfm/Makefile38
-rw-r--r--x11-fm/pcmanfm/distinfo5
-rw-r--r--x11-fm/pcmanfm/files/patch-src__Makefile.am16
3 files changed, 17 insertions, 42 deletions
diff --git a/x11-fm/pcmanfm/Makefile b/x11-fm/pcmanfm/Makefile
index 00d87ed4ff1c..1da29624f27c 100644
--- a/x11-fm/pcmanfm/Makefile
+++ b/x11-fm/pcmanfm/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= pcmanfm
-PORTVERSION= 1.2.4
+PORTVERSION= 1.2.5
CATEGORIES= x11-fm
MASTER_SITES= SF/${PORTNAME}/PCManFM%20%2B%20Libfm%20%28tarball%20release%29/PCManFM/
@@ -11,39 +11,29 @@ COMMENT= PCMan File Manager
LICENSE= GPLv2
-LIB_DEPENDS= libfm-gtk.so:x11/libfm
+LIB_DEPENDS= libfm-gtk.so:x11/libfm \
+ libfontconfig.so:x11-fonts/fontconfig \
+ libfreetype.so:print/freetype2
-USES= autoreconf desktop-file-utils gettext gmake libtool pkgconfig \
+USES= desktop-file-utils gettext gmake libtool localbase pkgconfig \
tar:xz
GNU_CONFIGURE= yes
-USE_GNOME= glib20 gtk20 intltool intlhack
+USE_GNOME= glib20 gtk20 cairo pango gdkpixbuf2 intltool intlhack
USE_XORG= x11
CONFIGURE_ARGS=--with-gtk=2
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-PORTDOCS= AUTHORS NEWS
-
-OPTIONS_DEFINE= DOCS NLS
+OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_CONFIGURE_ENABLE= nls
+NLS_USES_OFF= gettext-tools
-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-extract:
+ ${MV} ${WRKSRC}/data/pcmanfm.conf \
+ ${WRKSRC}/data/pcmanfm.conf.sample
-post-install:
- @${MKDIR} ${STAGEDIR}${PREFIX}/etc/xdg/pcmanfm/default/
- ${INSTALL_DATA} ${WRKSRC}/data/pcmanfm.conf \
- ${STAGEDIR}${PREFIX}/etc/xdg/pcmanfm/default/pcmanfm.conf.sample
-
-post-install-DOCS-on:
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+post-patch:
+ ${REINPLACE_CMD} -e 's|pcmanfm.conf|pcmanfm.conf.sample|' \
+ ${WRKSRC}/data/Makefile.in
.include <bsd.port.mk>
diff --git a/x11-fm/pcmanfm/distinfo b/x11-fm/pcmanfm/distinfo
index 99fb514a85b9..c28de98ecbef 100644
--- a/x11-fm/pcmanfm/distinfo
+++ b/x11-fm/pcmanfm/distinfo
@@ -1,2 +1,3 @@
-SHA256 (pcmanfm-1.2.4.tar.xz) = 38cdbb5f01d24483b41b8e6846e4aa66a5751bb3982a8618899e88a853dbe313
-SIZE (pcmanfm-1.2.4.tar.xz) = 417316
+TIMESTAMP = 1482343112
+SHA256 (pcmanfm-1.2.5.tar.xz) = 0c86cac028b705ff314c7464d814c2cf7ff604c17491c20aa204b1ef1a80ad67
+SIZE (pcmanfm-1.2.5.tar.xz) = 417808
diff --git a/x11-fm/pcmanfm/files/patch-src__Makefile.am b/x11-fm/pcmanfm/files/patch-src__Makefile.am
deleted file mode 100644
index 3e45bf5d11d5..000000000000
--- a/x11-fm/pcmanfm/files/patch-src__Makefile.am
+++ /dev/null
@@ -1,16 +0,0 @@
---- src/Makefile.am.orig 2014-05-16 16:51:21 UTC
-+++ src/Makefile.am
-@@ -50,6 +50,13 @@ pcmanfm_LDADD = \
- $(FM_LIBS) \
- $(NULL)
-
-+# create plugins' directory anyway
-+install-exec-hook:
-+ $(MKDIR_P) $(DESTDIR)$(libdir)/pcmanfm
-+
-+uninstall-hook:
-+ -rmdir $(DESTDIR)$(libdir)/pcmanfm
-+
- # prepare modules directory
- install-exec-local:
- $(MKDIR_P) "$(DESTDIR)$(libdir)/pcmanfm"