summaryrefslogtreecommitdiff
path: root/x11/libfm
diff options
context:
space:
mode:
authorRusmir Dusko <nemysis@FreeBSD.org>2013-10-04 23:10:53 +0000
committerRusmir Dusko <nemysis@FreeBSD.org>2013-10-04 23:10:53 +0000
commit9dc40549710264894060714fbade3a4e27958865 (patch)
treeb433d9d5dbd88d12c6a27bc9c3d7ba8b753d5b13 /x11/libfm
parent- Change maintainer email to @FreeBSD.org (diff)
x11/menu-cache
- Update to 0.5.0 - Change maintainer email to @FreeBSD.org - Remove not needed patches x11/lxde-meta - Bump PORTREVISION - Change maintainer email to @FreeBSD.org - Add dependency for deskutils/lxshortcut - Add NO_MTREE=yes x11/libfm - Bump PORTREVISION - Support STAGEDIR - Preserve original *.conf files with stage x11-fm/pcmanfm - Bump PORTREVISION - Support STAGEDIR - Preserve original *.conf files x11/lxpanel - Bump PORTREVISION Approved by: wg/pawel (mentors)
Notes
Notes: svn path=/head/; revision=329402
Diffstat (limited to 'x11/libfm')
-rw-r--r--x11/libfm/Makefile17
-rw-r--r--x11/libfm/pkg-plist7
2 files changed, 11 insertions, 13 deletions
diff --git a/x11/libfm/Makefile b/x11/libfm/Makefile
index 29182a5a1607..f40f100fe56a 100644
--- a/x11/libfm/Makefile
+++ b/x11/libfm/Makefile
@@ -3,6 +3,7 @@
PORTNAME= libfm
PORTVERSION= 1.1.2.2
+PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= SF/pcmanfm/PCManFM%20%2B%20Libfm%20%28tarball%20release%29/libfm%20%28required%20by%20PCManFM%29/
@@ -25,14 +26,11 @@ USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-MAN1= libfm-pref-apps.1
-
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_USES= gettext
-NO_STAGE= yes
.include <bsd.port.options.mk>
post-patch:
@@ -52,11 +50,10 @@ pre-install:
@(cd ${WRKDIR}/libfm-${PORTVERSION} && ${CHMOD} 755 install-sh)
post-install:
- @${MKDIR} ${PREFIX}/etc/xdg/libfm
- ${INSTALL_DATA} ${WRKSRC}/data/libfm.conf ${PREFIX}/etc/xdg/libfm/libfm.conf.sample
- ${INSTALL_DATA} ${WRKSRC}/data/pref-apps.conf ${PREFIX}/etc/xdg/libfm/pref-apps.conf.sample
- @[ -f ${PREFIX}/etc/xdg/libfm/libfm.conf ] || \
- ${INSTALL_DATA} ${WRKSRC}/data/libfm.conf ${PREFIX}/etc/xdg/libfm/libfm.conf
- @[ -f ${PREFIX}/etc/xdg/libfm/pref-apps.conf ] || \
- ${INSTALL_DATA} ${WRKSRC}/data/pref-apps.conf ${PREFIX}/etc/xdg/libfm/pref-apps.conf
+ @${MKDIR} ${STAGEDIR}${PREFIX}/etc/xdg/libfm
+ ${INSTALL_DATA} ${WRKSRC}/data/libfm.conf \
+ ${STAGEDIR}${PREFIX}/etc/xdg/libfm/libfm.conf.sample
+ ${INSTALL_DATA} ${WRKSRC}/data/pref-apps.conf \
+ ${STAGEDIR}${PREFIX}/etc/xdg/libfm/pref-apps.conf.sample
+
.include <bsd.port.mk>
diff --git a/x11/libfm/pkg-plist b/x11/libfm/pkg-plist
index 794e95dc795d..b10e9688275a 100644
--- a/x11/libfm/pkg-plist
+++ b/x11/libfm/pkg-plist
@@ -1,11 +1,11 @@
bin/libfm-pref-apps
-include/libfm
@unexec if cmp -s %D/etc/xdg/libfm/libfm.conf %D/etc/xdg/libfm/libfm.conf.sample; then rm -f %D/etc/xdg/libfm/libfm.conf; fi
etc/xdg/libfm/libfm.conf.sample
@exec if [ ! -f %D/etc/xdg/libfm/libfm.conf ] ; then cp -p %D/%F %B/libfm.conf; fi
@unexec if cmp -s %D/etc/xdg/libfm/pref-apps.conf %D/etc/xdg/libfm/pref-apps.conf.sample; then rm -f %D/etc/xdg/libfm/pref-apps.conf; fi
etc/xdg/libfm/pref-apps.conf.sample
@exec if [ ! -f %D/etc/xdg/libfm/pref-apps.conf ] ; then cp -p %D/%F %B/pref-apps.conf; fi
+include/libfm
include/libfm-1.0/fm-actions.h
include/libfm-1.0/fm-app-chooser-combo-box.h
include/libfm-1.0/fm-app-chooser-dlg.h
@@ -76,6 +76,7 @@ lib/libfm.so.4
libdata/pkgconfig/libfm-gtk.pc
libdata/pkgconfig/libfm-gtk3.pc
libdata/pkgconfig/libfm.pc
+man/man1/libfm-pref-apps.1.gz
share/applications/libfm-pref-apps.desktop
%%DATADIR%%/archivers.list
%%DATADIR%%/ui/app-chooser.ui
@@ -143,8 +144,6 @@ share/applications/libfm-pref-apps.desktop
%%NLS%%share/locale/zh_CN/LC_MESSAGES/libfm.mo
%%NLS%%share/locale/zh_TW/LC_MESSAGES/libfm.mo
share/mime/packages/libfm.xml
-@dirrmtry etc/xdg/libfm
-@dirrmtry etc/xdg
@dirrmtry share/mime/packages
@dirrmtry share/mime
%%NLS%%@dirrmtry share/locale/ur_PK/LC_MESSAGES
@@ -157,3 +156,5 @@ share/mime/packages/libfm.xml
@dirrm %%DATADIR%%
@dirrmtry share/applications
@dirrm include/libfm-1.0
+@dirrmtry etc/xdg/libfm
+@dirrmtry etc/xdg