diff options
author | danilo <danilo@FreeBSD.org> | 2014-07-04 04:04:29 +0000 |
---|---|---|
committer | danilo <danilo@FreeBSD.org> | 2014-07-04 04:04:29 +0000 |
commit | 0aa9811cd03017728006f164689e53bba702954b (patch) | |
tree | 935bdcdb886c0ae0b33092de6276f57f20e6bcf3 | |
parent | 0a69f334417c9933a6345ec31501b8b6ecf320da (diff) | |
download | FreeBSD-ports-0aa9811cd03017728006f164689e53bba702954b.zip FreeBSD-ports-0aa9811cd03017728006f164689e53bba702954b.tar.gz |
- Update from 1.2.0 to 1.2.1 [1]
- Use options helpers [1]
- Use @sample in pkg-plist
PR: ports/191590
Submitted by: Horia Racoviceanu <horia@racoviceanu.com> [1]
-rw-r--r-- | x11-fm/pcmanfm/Makefile | 12 | ||||
-rw-r--r-- | x11-fm/pcmanfm/distinfo | 4 | ||||
-rw-r--r-- | x11-fm/pcmanfm/pkg-plist | 10 |
3 files changed, 9 insertions, 17 deletions
diff --git a/x11-fm/pcmanfm/Makefile b/x11-fm/pcmanfm/Makefile index 8401e00..c4f3da0 100644 --- a/x11-fm/pcmanfm/Makefile +++ b/x11-fm/pcmanfm/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= pcmanfm -PORTVERSION= 1.2.0 -PORTREVISION= 1 +PORTVERSION= 1.2.1 CATEGORIES= x11-fm MASTER_SITES= SF/${PORTNAME}/PCManFM%20%2B%20Libfm%20%28tarball%20release%29/PCManFM/ @@ -29,22 +28,15 @@ OPTIONS_SUB= yes DEBUG_CONFIGURE_ENABLE= debug NLS_USES= gettext - -.include <bsd.port.options.mk> +NLS_CONFIGURE_ENABLE= nls post-patch: @${REINPLACE_CMD} -e '/pcmanfm.conf/ d' ${WRKSRC}/data/Makefile.am -.if ! ${PORT_OPTIONS:MNLS} - @${REINPLACE_CMD} -e 's|src po|src|' \ - ${WRKSRC}/Makefile.am -.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 - @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} diff --git a/x11-fm/pcmanfm/distinfo b/x11-fm/pcmanfm/distinfo index 9c69e2d..f3ab006 100644 --- a/x11-fm/pcmanfm/distinfo +++ b/x11-fm/pcmanfm/distinfo @@ -1,2 +1,2 @@ -SHA256 (pcmanfm-1.2.0.tar.xz) = 52d0eec6ee3dc3dce801c24db506c6a6556d030c8c9d9f90cdf9c9db8e9cbab2 -SIZE (pcmanfm-1.2.0.tar.xz) = 399548 +SHA256 (pcmanfm-1.2.1.tar.xz) = e375eca3149e50980c9e89699f8cdbbc921c85f4795abc9fa281d3994d451bef +SIZE (pcmanfm-1.2.1.tar.xz) = 404472 diff --git a/x11-fm/pcmanfm/pkg-plist b/x11-fm/pcmanfm/pkg-plist index 585a577..193e65f 100644 --- a/x11-fm/pcmanfm/pkg-plist +++ b/x11-fm/pcmanfm/pkg-plist @@ -1,7 +1,5 @@ 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 +@sample etc/xdg/pcmanfm/default/pcmanfm.conf.sample include/pcmanfm-modules.h man/man1/pcmanfm.1.gz share/applications/pcmanfm-desktop-pref.desktop @@ -65,10 +63,12 @@ share/applications/pcmanfm.desktop %%DATADIR%%/ui/connect.ui %%DATADIR%%/ui/desktop-pref.ui %%DATADIR%%/ui/pref.ui +%%NLS%%@dirrmtry share/locale/lg/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/lg +%%NLS%%@dirrmtry share/locale/tt_RU/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/tt_RU @dirrmtry %%DATADIR%%/ui @dirrmtry %%DATADIR%% -%%NLS%%@dirrmtry share/locale/fo/LC_MESSAGES -%%NLS%%@dirrmtry share/locale/fo @dirrmtry lib/pcmanfm @dirrmtry etc/xdg/pcmanfm/default @dirrmtry etc/xdg/pcmanfm |