diff options
author | Rusmir Dusko <nemysis@FreeBSD.org> | 2013-10-04 23:10:53 +0000 |
---|---|---|
committer | Rusmir Dusko <nemysis@FreeBSD.org> | 2013-10-04 23:10:53 +0000 |
commit | 9dc40549710264894060714fbade3a4e27958865 (patch) | |
tree | b433d9d5dbd88d12c6a27bc9c3d7ba8b753d5b13 /x11-fm | |
parent | 9888b66a3c47814a05e96913c5850c82828b983a (diff) | |
download | ports-9dc40549710264894060714fbade3a4e27958865.tar.gz ports-9dc40549710264894060714fbade3a4e27958865.zip |
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-fm')
-rw-r--r-- | x11-fm/pcmanfm/Makefile | 10 | ||||
-rw-r--r-- | x11-fm/pcmanfm/pkg-plist | 5 |
2 files changed, 11 insertions, 4 deletions
diff --git a/x11-fm/pcmanfm/Makefile b/x11-fm/pcmanfm/Makefile index ecf52806f50c..70f1e7c90c8f 100644 --- a/x11-fm/pcmanfm/Makefile +++ b/x11-fm/pcmanfm/Makefile @@ -3,6 +3,7 @@ PORTNAME= pcmanfm PORTVERSION= 1.1.2 +PORTREVISION= 1 CATEGORIES= x11-fm MASTER_SITES= SF/${PORTNAME}/PCManFM%20%2B%20Libfm%20%28tarball%20release%29/PCManFM/ @@ -21,20 +22,23 @@ USE_FAM= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -MAN1= pcmanfm.1 - OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext -NO_STAGE= yes .include <bsd.port.options.mk> post-patch: + @${REINPLACE_CMD} -e '/pcmanfm.conf/ d' ${WRKSRC}/data/Makefile.in .if ! ${PORT_OPTIONS:MNLS} @${REINPLACE_CMD} -e 's|src po|src|' \ ${WRKSRC}/Makefile.in .endif +post-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/etc/xdg/pcmanfm/default/ + ${INSTALL_DATA} ${WRKSRC}/data/pcmanfm.conf \ + ${STAGEDIR}${PREFIX}/etc/xdg/pcmanfm/default/pcmanfm.conf.sample + .include <bsd.port.mk> diff --git a/x11-fm/pcmanfm/pkg-plist b/x11-fm/pcmanfm/pkg-plist index 13cae0a8c215..ba02f145115d 100644 --- a/x11-fm/pcmanfm/pkg-plist +++ b/x11-fm/pcmanfm/pkg-plist @@ -1,5 +1,8 @@ bin/pcmanfm -etc/xdg/pcmanfm/default/pcmanfm.conf +@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 +man/man1/pcmanfm.1.gz share/applications/pcmanfm-desktop-pref.desktop share/applications/pcmanfm.desktop %%NLS%%share/locale/ar/LC_MESSAGES/pcmanfm.mo |