2013-09-21 01:43:19 +02:00
|
|
|
# Created by: Kris Moore <kmoore@FreeBSD.org>
|
2010-09-30 16:22:59 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= libfm
|
2016-03-28 16:59:34 +02:00
|
|
|
PORTVERSION= 1.2.4
|
2010-09-30 16:22:59 +02:00
|
|
|
CATEGORIES= x11
|
2015-04-10 19:08:00 +02:00
|
|
|
MASTER_SITES= SF/pcmanfm/PCManFM%20%2B%20Libfm%20%28tarball%20release%29/LibFM/
|
2010-09-30 16:22:59 +02:00
|
|
|
|
These ports are no longer used or cared for.
Horia Racoviceanu <horia@racoviceanu.com> wishes to maintain these ports
with my help.
misc/lxde-common
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
misc/xdg-menu
- Change Makefile header, use my name and @FreeBSD.org email
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
- Change Desktop entry file
- Add DOCS Option
- Break lines around 80 characters
- Change pkg-plist, remove mtree
sysutils/lxinput
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
sysutils/lxtask
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
- Remove TODO from DOCS
sysutils/lxterminal
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
- Change pkg-plist, add missing
x11/florence
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
- Use tar:bzip2 instead of USE_BZIP2=yes and not needed desktop-file-utils
- Remove not needed MAN1 from Makefile
x11/libfm
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
- Use tar:xz instead of USE_XZ=yes
- Change pkg-plist, remove mtree
x11/lxde-meta
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
x11/lxmenu-data
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
- Change pkg-plist, remove mtree
x11/lxpanel
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
- Strip libraries
- Change pkg-plist, add missing
x11/menu-cache
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
- USES pathfix instead of USE_GNOME gnomehack
- Strip library
x11-fm/pcmanfm
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
- Use tar:xz instead of USE_XZ=yes
- Change pkg-plist, remove mtree, add missing
x11-themes/lxde-icon-theme
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
- Use tar:bzip2 instead of USE_BZIP2=yes
- Change pkg-plist, remove mtree
x11-wm/lxmed
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
x11-wm/lxsession
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
- Change pkg-plist, add missing
x11-wm/obapps
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
- Add DOCS Option
- Change Desktop entry file
x11-wm/obmenu
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
- Change Desktop entry file
- Break lines around 80 characters
2014-04-21 22:27:38 +02:00
|
|
|
MAINTAINER= horia@racoviceanu.com
|
2015-08-01 12:15:50 +02:00
|
|
|
COMMENT?= Core library of PCManFM file manager
|
2010-09-30 16:22:59 +02:00
|
|
|
|
2015-04-10 19:08:00 +02:00
|
|
|
LICENSE= LGPL21
|
2013-01-08 17:22:40 +01:00
|
|
|
|
2015-08-01 12:15:50 +02:00
|
|
|
.if ! defined(EXTRA_ONLY)
|
2014-02-23 23:08:03 +01:00
|
|
|
BUILD_DEPENDS= p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser \
|
|
|
|
valac:${PORTSDIR}/lang/vala
|
2013-09-16 20:12:58 +02:00
|
|
|
LIB_DEPENDS= libmenu-cache.so:${PORTSDIR}/x11/menu-cache \
|
|
|
|
libexif.so:${PORTSDIR}/graphics/libexif
|
2015-08-01 12:15:50 +02:00
|
|
|
.endif
|
2010-09-30 16:22:59 +02:00
|
|
|
|
2015-08-01 12:15:50 +02:00
|
|
|
SLAVEDIRS= ${CATEGORIES}/${PORTNAME}-extra
|
|
|
|
|
|
|
|
USES= gettext-tools gmake libtool pathfix pkgconfig tar:xz
|
2015-08-02 22:23:55 +02:00
|
|
|
USE_GNOME= glib20 intltool
|
2010-09-30 16:22:59 +02:00
|
|
|
USE_LDCONFIG= yes
|
2014-09-06 12:37:55 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2015-08-01 12:15:50 +02:00
|
|
|
CONFIGURE_ARGS= --sysconfdir=${LOCALBASE}/etc --disable-static
|
2010-09-30 16:22:59 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2014-09-06 12:37:55 +02:00
|
|
|
LIBS+= -L${LOCALBASE}/lib
|
|
|
|
INSTALL_TARGET= install-strip
|
2010-09-30 16:22:59 +02:00
|
|
|
|
2015-08-01 12:15:50 +02:00
|
|
|
.if ! defined(EXTRA_ONLY)
|
|
|
|
USES+= desktop-file-utils shared-mime-info
|
|
|
|
USE_GNOME+= gtk20
|
|
|
|
CONFIGURE_ARGS+=--with-gtk=2
|
|
|
|
.else
|
|
|
|
USE_GNOME+= intltool intlhack
|
|
|
|
CONFIGURE_ARGS+=--with-extra-only
|
|
|
|
.endif
|
|
|
|
|
2016-03-28 16:59:34 +02:00
|
|
|
MICRO_VERSION= 0.4
|
2015-08-01 12:15:50 +02:00
|
|
|
ABI_VERSION= 4
|
|
|
|
PLIST_SUB+= MICRO_VERSION=${MICRO_VERSION} \
|
|
|
|
ABI_VERSION=${ABI_VERSION}
|
|
|
|
|
2014-02-23 23:08:03 +01:00
|
|
|
PORTDOCS= AUTHORS NEWS README
|
|
|
|
|
2015-04-10 19:08:00 +02:00
|
|
|
OPTIONS_DEFINE= DOCS NLS
|
2015-08-01 12:15:50 +02:00
|
|
|
OPTIONS_SUB= yes
|
|
|
|
|
2015-04-10 19:08:00 +02:00
|
|
|
NLS_USES= gettext-runtime
|
|
|
|
NLS_CONFIGURE_ENABLE= nls
|
2013-01-08 17:22:40 +01:00
|
|
|
|
2011-07-30 11:39:44 +02:00
|
|
|
post-patch:
|
2015-08-01 12:15:50 +02:00
|
|
|
${REINPLACE_CMD} -e 's|^[[:blank:]]\{5,\}USE_NLS=yes|#&|' \
|
|
|
|
${WRKSRC}/configure
|
|
|
|
|
|
|
|
${REINPLACE_CMD} -e '/^pkgincludedir/s|-@FMLIBVER@||; \
|
|
|
|
/@LN_S@ @PACKAGE@-@FMLIBVER@/d' \
|
|
|
|
${WRKSRC}/src/Makefile.in
|
|
|
|
|
|
|
|
.if ! defined(EXTRA_ONLY)
|
2015-04-10 19:08:00 +02:00
|
|
|
${REINPLACE_CMD} -e 's|DATA = libfm-extra.pc|DATA =|' \
|
|
|
|
${WRKSRC}/Makefile.in
|
2013-06-22 13:57:08 +02:00
|
|
|
|
2015-08-01 12:15:50 +02:00
|
|
|
${REINPLACE_CMD} -e '/^LIBFM_EXTRA_INCLUDES/,+4 s|^|@EXTRALIB_ONLY_TRUE@|; \
|
|
|
|
/FALSE@lib_LTLIBRARIES/s| libfm-extra.la||; \
|
|
|
|
s|libfm-extra.la \\|-lfm-extra \\|' \
|
|
|
|
${WRKSRC}/src/Makefile.in
|
|
|
|
|
|
|
|
${REINPLACE_CMD} -e 's|-@FMLIBVER@||' ${WRKSRC}/src/actions/Makefile.in
|
|
|
|
|
|
|
|
${REINPLACE_CMD} -e '/^vfs_menu_la_DEPENDENCIES/{s| \\||;n;d;}; \
|
|
|
|
/^vfs_menu_la_LIBADD/s|$$(top.*|-lfm-extra|' \
|
|
|
|
${WRKSRC}/src/modules/Makefile.in
|
|
|
|
|
2013-06-22 13:57:08 +02:00
|
|
|
post-install:
|
2015-08-01 12:15:50 +02:00
|
|
|
${MV} ${STAGEDIR}${PREFIX}/etc/xdg/${PORTNAME}/${PORTNAME}.conf \
|
|
|
|
${STAGEDIR}${PREFIX}/etc/xdg/${PORTNAME}/${PORTNAME}.conf.sample
|
|
|
|
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/src/actions/fm-actions.h \
|
|
|
|
${STAGEDIR}${PREFIX}/include/${PORTNAME}
|
|
|
|
|
2016-03-28 16:59:34 +02:00
|
|
|
post-install-DOCS-on:
|
2014-02-23 23:08:03 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
2015-08-01 12:15:50 +02:00
|
|
|
.endif
|
2013-10-05 01:10:53 +02:00
|
|
|
|
2013-01-08 17:22:40 +01:00
|
|
|
.include <bsd.port.mk>
|