aboutsummaryrefslogtreecommitdiff
path: root/x11-fm
diff options
context:
space:
mode:
authorRusmir Dusko <nemysis@FreeBSD.org>2014-02-23 22:08:03 +0000
committerRusmir Dusko <nemysis@FreeBSD.org>2014-02-23 22:08:03 +0000
commitd7b72c45f80a35d4e42ed45f4fec90bfc72a6dce (patch)
tree2b48669eb97eaa9ba43a3444ef0dfe9cc0f1b1ea /x11-fm
parentedcd6bbfbc4e30f7d10ce278314bcc0ba839a015 (diff)
downloadports-d7b72c45f80a35d4e42ed45f4fec90bfc72a6dce.tar.gz
ports-d7b72c45f80a35d4e42ed45f4fec90bfc72a6dce.zip
Notes
Diffstat (limited to 'x11-fm')
-rw-r--r--x11-fm/pcmanfm/Makefile26
-rw-r--r--x11-fm/pcmanfm/distinfo4
-rw-r--r--x11-fm/pcmanfm/files/patch-src__Makefile.am13
-rw-r--r--x11-fm/pcmanfm/pkg-descr2
-rw-r--r--x11-fm/pcmanfm/pkg-plist12
5 files changed, 43 insertions, 14 deletions
diff --git a/x11-fm/pcmanfm/Makefile b/x11-fm/pcmanfm/Makefile
index 4e0f28941d7e..218d6422bfa6 100644
--- a/x11-fm/pcmanfm/Makefile
+++ b/x11-fm/pcmanfm/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= pcmanfm
-PORTVERSION= 1.1.2
-PORTREVISION= 1
+PORTVERSION= 1.2.0
CATEGORIES= x11-fm
MASTER_SITES= SF/${PORTNAME}/PCManFM%20%2B%20Libfm%20%28tarball%20release%29/PCManFM/
@@ -12,27 +11,33 @@ COMMENT= PCMan File Manager
LICENSE= GPLv2
-LIB_DEPENDS= libstartup-notification-1.so:${PORTSDIR}/x11/startup-notification \
- libfm-gtk.so.4:${PORTSDIR}/x11/libfm
+LIB_DEPENDS= libfm-gtk.so:${PORTSDIR}/x11/libfm
-USES= fam gmake pkgconfig
+USE_XZ= yes
+USES= desktop-file-utils fam gmake pathfix pkgconfig
USE_GNOME= gtk20
-USE_AUTOTOOLS= libtool
+USE_AUTOTOOLS= aclocal automake libtool
+
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-OPTIONS_DEFINE= NLS
+PORTDOCS= AUTHORS NEWS
+
+OPTIONS_DEFINE= DEBUG DOCS NLS
OPTIONS_SUB= yes
+DEBUG_CONFIGURE_ENABLE= debug
+
NLS_USES= gettext
.include <bsd.port.options.mk>
post-patch:
- @${REINPLACE_CMD} -e '/pcmanfm.conf/ d' ${WRKSRC}/data/Makefile.in
+ @${REINPLACE_CMD} -e '/pcmanfm.conf/ d' ${WRKSRC}/data/Makefile.am
+
.if ! ${PORT_OPTIONS:MNLS}
@${REINPLACE_CMD} -e 's|src po|src|' \
- ${WRKSRC}/Makefile.in
+ ${WRKSRC}/Makefile.am
.endif
post-install:
@@ -40,4 +45,7 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/data/pcmanfm.conf \
${STAGEDIR}${PREFIX}/etc/xdg/pcmanfm/default/pcmanfm.conf.sample
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
.include <bsd.port.mk>
diff --git a/x11-fm/pcmanfm/distinfo b/x11-fm/pcmanfm/distinfo
index f1880f45adc3..9c69e2dd6e62 100644
--- a/x11-fm/pcmanfm/distinfo
+++ b/x11-fm/pcmanfm/distinfo
@@ -1,2 +1,2 @@
-SHA256 (pcmanfm-1.1.2.tar.gz) = 23ee33b34066ac83ce9a98bc9930049e69839438fb60489bd453bec8c2068950
-SIZE (pcmanfm-1.1.2.tar.gz) = 434785
+SHA256 (pcmanfm-1.2.0.tar.xz) = 52d0eec6ee3dc3dce801c24db506c6a6556d030c8c9d9f90cdf9c9db8e9cbab2
+SIZE (pcmanfm-1.2.0.tar.xz) = 399548
diff --git a/x11-fm/pcmanfm/files/patch-src__Makefile.am b/x11-fm/pcmanfm/files/patch-src__Makefile.am
new file mode 100644
index 000000000000..0fabe6ab93ee
--- /dev/null
+++ b/x11-fm/pcmanfm/files/patch-src__Makefile.am
@@ -0,0 +1,13 @@
+--- ./src/Makefile.am.orig 2014-01-06 23:55:25.000000000 +0000
++++ ./src/Makefile.am 2014-02-23 09:58:26.669238176 +0000
+@@ -49,3 +49,10 @@
+ $(XLIB_LIBS) \
+ $(FM_LIBS) \
+ $(NULL)
++
++# create plugins' directory anyway
++install-exec-hook:
++ $(MKDIR_P) $(DESTDIR)$(libdir)/pcmanfm
++
++uninstall-hook:
++ -rmdir $(DESTDIR)$(libdir)/pcmanfm
diff --git a/x11-fm/pcmanfm/pkg-descr b/x11-fm/pcmanfm/pkg-descr
index 9150d3e39aed..7d31d04bde1c 100644
--- a/x11-fm/pcmanfm/pkg-descr
+++ b/x11-fm/pcmanfm/pkg-descr
@@ -17,4 +17,4 @@ o Provide icon view and detailed list view
o Standard compliant (Follows FreeDesktop.org)
o Clean and user-friendly interface (GTK+ 2)
-WWW: http://pcmanfm.sourceforge.net/
+WWW: http://wiki.lxde.org/en/PCManFM
diff --git a/x11-fm/pcmanfm/pkg-plist b/x11-fm/pcmanfm/pkg-plist
index f3aa2d4ed5b6..e2de4ada95e8 100644
--- a/x11-fm/pcmanfm/pkg-plist
+++ b/x11-fm/pcmanfm/pkg-plist
@@ -2,6 +2,7 @@ bin/pcmanfm
@unexec if cmp -s %D/etc/xdg/pcmanfm/default/pcmanfm.conf %D/etc/xdg/pcmanfm/default/pcmanfm.conf.sample; then rm -f %D/etc/xdg/pcmanfm/default/pcmanfm.conf; fi
etc/xdg/pcmanfm/default/pcmanfm.conf.sample
@exec if [ ! -f %D/etc/xdg/pcmanfm/default/pcmanfm.conf ] ; then cp -p %D/%F %B/pcmanfm.conf; fi
+include/pcmanfm-modules.h
man/man1/pcmanfm.1.gz
share/applications/pcmanfm-desktop-pref.desktop
share/applications/pcmanfm.desktop
@@ -27,6 +28,7 @@ share/applications/pcmanfm.desktop
%%NLS%%share/locale/hr/LC_MESSAGES/pcmanfm.mo
%%NLS%%share/locale/hu/LC_MESSAGES/pcmanfm.mo
%%NLS%%share/locale/id/LC_MESSAGES/pcmanfm.mo
+%%NLS%%share/locale/is/LC_MESSAGES/pcmanfm.mo
%%NLS%%share/locale/it/LC_MESSAGES/pcmanfm.mo
%%NLS%%share/locale/ja/LC_MESSAGES/pcmanfm.mo
%%NLS%%share/locale/kk/LC_MESSAGES/pcmanfm.mo
@@ -60,10 +62,16 @@ share/applications/pcmanfm.desktop
%%NLS%%share/locale/zh_TW/LC_MESSAGES/pcmanfm.mo
%%DATADIR%%/ui/about.ui
%%DATADIR%%/ui/autorun.ui
+%%DATADIR%%/ui/connect.ui
%%DATADIR%%/ui/desktop-pref.ui
%%DATADIR%%/ui/pref.ui
-@dirrm %%DATADIR%%/ui
-@dirrm %%DATADIR%%
+@dirrmtry %%DATADIR%%/ui
+@dirrmtry %%DATADIR%%
+%%NLS%%@dirrmtry share/locale/tt_RU/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/tt_RU
+%%NLS%%@dirrmtry share/locale/lg/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/lg
+@dirrmtry lib/pcmanfm
@dirrmtry etc/xdg/pcmanfm/default
@dirrmtry etc/xdg/pcmanfm
@dirrmtry etc/xdg