diff options
author | Olivier Duchateau <olivierd@FreeBSD.org> | 2016-12-11 17:53:52 +0000 |
---|---|---|
committer | Olivier Duchateau <olivierd@FreeBSD.org> | 2016-12-11 17:53:52 +0000 |
commit | bea6d782fcf22774203a15a593ee83174492d868 (patch) | |
tree | 371dc19d3fc880890430f7d3811e508568f1ac3c /x11/libfm | |
parent | 19aff4855cb9eb3e61fccfcdc0704a831df99579 (diff) | |
download | ports-bea6d782fcf22774203a15a593ee83174492d868.tar.gz ports-bea6d782fcf22774203a15a593ee83174492d868.zip |
Notes
Diffstat (limited to 'x11/libfm')
-rw-r--r-- | x11/libfm/Makefile | 42 | ||||
-rw-r--r-- | x11/libfm/distinfo | 5 | ||||
-rw-r--r-- | x11/libfm/pkg-plist | 8 |
3 files changed, 26 insertions, 29 deletions
diff --git a/x11/libfm/Makefile b/x11/libfm/Makefile index 3d872abedc29..6edb5c64c94d 100644 --- a/x11/libfm/Makefile +++ b/x11/libfm/Makefile @@ -2,11 +2,11 @@ # $FreeBSD$ PORTNAME= libfm -PORTVERSION= 1.2.4 +PORTVERSION= 1.2.5 CATEGORIES= x11 MASTER_SITES= SF/pcmanfm/PCManFM%20%2B%20Libfm%20%28tarball%20release%29/LibFM/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= olivierd@FreeBSD.org COMMENT?= Core library of PCManFM file manager LICENSE= LGPL21 @@ -15,42 +15,42 @@ LICENSE= LGPL21 BUILD_DEPENDS= p5-XML-Parser>=0:textproc/p5-XML-Parser \ valac:lang/vala LIB_DEPENDS= libmenu-cache.so:x11/menu-cache \ - libexif.so:graphics/libexif + libexif.so:graphics/libexif \ + libfontconfig.so:x11-fonts/fontconfig \ + libfreetype.so:print/freetype2 \ + libfm-extra.so:x11/libfm-extra .endif SLAVEDIRS= ${CATEGORIES}/${PORTNAME}-extra -USES= gettext-tools gmake libtool pathfix pkgconfig tar:xz +USES= gettext-tools gmake libtool localbase pathfix pkgconfig tar:xz USE_GNOME= glib20 intltool USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --sysconfdir=${LOCALBASE}/etc --disable-static -CPPFLAGS+= -I${LOCALBASE}/include -LIBS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip .if ! defined(EXTRA_ONLY) USES+= desktop-file-utils shared-mime-info -USE_GNOME+= gtk20 +USE_GNOME+= gtk20 cairo gdkpixbuf2 CONFIGURE_ARGS+=--with-gtk=2 .else USE_GNOME+= intltool intlhack CONFIGURE_ARGS+=--with-extra-only .endif -MICRO_VERSION= 0.4 -ABI_VERSION= 4 -PLIST_SUB+= MICRO_VERSION=${MICRO_VERSION} \ - ABI_VERSION=${ABI_VERSION} - -PORTDOCS= AUTHORS NEWS README - -OPTIONS_DEFINE= DOCS NLS +OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls +post-extract: +.if !defined(EXTRA_ONLY) + ${MV} ${WRKSRC}/data/libfm.conf \ + ${WRKSRC}/data/libfm.conf.sample +.endif + post-patch: ${REINPLACE_CMD} -e 's|^[[:blank:]]\{5,\}USE_NLS=yes|#&|' \ ${WRKSRC}/configure @@ -59,7 +59,7 @@ post-patch: /@LN_S@ @PACKAGE@-@FMLIBVER@/d' \ ${WRKSRC}/src/Makefile.in -.if ! defined(EXTRA_ONLY) +.if !defined(EXTRA_ONLY) ${REINPLACE_CMD} -e 's|DATA = libfm-extra.pc|DATA =|' \ ${WRKSRC}/Makefile.in @@ -74,16 +74,12 @@ post-patch: /^vfs_menu_la_LIBADD/s|$$(top.*|-lfm-extra|' \ ${WRKSRC}/src/modules/Makefile.in -post-install: - ${MV} ${STAGEDIR}${PREFIX}/etc/xdg/${PORTNAME}/${PORTNAME}.conf \ - ${STAGEDIR}${PREFIX}/etc/xdg/${PORTNAME}/${PORTNAME}.conf.sample + ${REINPLACE_CMD} -e 's|libfm.conf|libfm.conf.sample|' \ + ${WRKSRC}/data/Makefile.in +post-install: ${INSTALL_DATA} ${WRKSRC}/src/actions/fm-actions.h \ ${STAGEDIR}${PREFIX}/include/${PORTNAME} - -post-install-DOCS-on: - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .endif .include <bsd.port.mk> diff --git a/x11/libfm/distinfo b/x11/libfm/distinfo index 62d08cc04d62..50ed1b124a67 100644 --- a/x11/libfm/distinfo +++ b/x11/libfm/distinfo @@ -1,2 +1,3 @@ -SHA256 (libfm-1.2.4.tar.xz) = 7804f6f28cb3d1bc8ffb3151ab7ff0c063b27c5f9b06c682eb903e01cf25502f -SIZE (libfm-1.2.4.tar.xz) = 912164 +TIMESTAMP = 1481474043 +SHA256 (libfm-1.2.5.tar.xz) = c706bb1020cf5f2d6f5a9226f692ce1985947134dcf2bde64278bd0420779b5a +SIZE (libfm-1.2.5.tar.xz) = 912740 diff --git a/x11/libfm/pkg-plist b/x11/libfm/pkg-plist index 1479a531c144..bb3447203ca9 100644 --- a/x11/libfm/pkg-plist +++ b/x11/libfm/pkg-plist @@ -68,11 +68,11 @@ include/libfm/fm-thumbnailer.h include/libfm/fm-utils.h include/libfm/fm.h lib/libfm-gtk.so -lib/libfm-gtk.so.%%ABI_VERSION%% -lib/libfm-gtk.so.%%ABI_VERSION%%.%%MICRO_VERSION%% +lib/libfm-gtk.so.4 +lib/libfm-gtk.so.4.0.5 lib/libfm.so -lib/libfm.so.%%ABI_VERSION%% -lib/libfm.so.%%ABI_VERSION%%.%%MICRO_VERSION%% +lib/libfm.so.4 +lib/libfm.so.4.0.5 lib/libfm/modules/gtk-fileprop-x-desktop.so lib/libfm/modules/gtk-fileprop-x-shortcut.so lib/libfm/modules/gtk-menu-actions.so |