1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00
freebsd-ports/x11/libfm/Makefile
Rusmir Dusko d7b72c45f8 x11/libfm
- Update to 1.2.0
- Add dependency for textproc/p5-XML-Parser
- ADD USE_XZ=yes
- Add USES desktop-file-utils shared-mime-info
- Add USE_AUTOTOOLS=aclocal automake
- Strip executables and/or libraries
- Add DOCS and Option
- Add MAJORVER, VER and PLIST_SUB
- Change REINPLACE, remove obsolete and libfm-gtk3.pc [1]
- Remove obsolete pre-install
- Added executable and desktop for lxshortcut [1]
- Update WWW

x11-fm/pcmanfm

- Update to 1.2.0
- Remove dependency for x11/startup-notification [1]
- ADD USE_XZ=yes
- Add USES desktop-file-utils pathfix
- Add DEBUG and DOCS Options, add DOCS
- Add patch [1]
- Update WWW

deskutils/lxshortcut

- Add conflict with libfm-1.2.0
- Mark DEPRECATED, set EXPIRATION_DATE

x11/lxde-meta

- Bump PORTREVISION
- Remove dependency for deskutils/lxshortcut

Reported by:<-->Upstream (IRC) [1]
2014-02-23 22:08:03 +00:00

68 lines
1.7 KiB
Makefile

# Created by: Kris Moore <kmoore@FreeBSD.org>
# $FreeBSD$
PORTNAME= libfm
PORTVERSION= 1.2.0
CATEGORIES= x11
MASTER_SITES= SF/pcmanfm/PCManFM%20%2B%20Libfm%20%28tarball%20release%29/libfm%20%28required%20by%20PCManFM%29/
MAINTAINER= nemysis@FreeBSD.org
COMMENT= The libFM backend library to PCManFM
LICENSE= GPLv2
BUILD_DEPENDS= p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser \
valac:${PORTSDIR}/lang/vala
LIB_DEPENDS= libmenu-cache.so:${PORTSDIR}/x11/menu-cache \
libexif.so:${PORTSDIR}/graphics/libexif
USE_XZ= yes
USES= desktop-file-utils fam gmake pkgconfig shared-mime-info
USE_GNOME= gtk20
USE_AUTOTOOLS= aclocal automake libtool
CONFIGURE_ARGS+=--sysconfdir=${LOCALBASE}/etc
MAKE_ENV= INSTALL_STRIP_FLAG=${STRIP}
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PORTDOCS= AUTHORS NEWS README
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
NLS_USES= gettext
.include <bsd.port.options.mk>
PLIST_SUB+= MAJORVER=1.0
PLIST_SUB+= VER=4
post-patch:
@${REINPLACE_CMD} -e 's|-DG_DISABLE_DEPRECATED||' \
${WRKSRC}/src/Makefile.in
@${REINPLACE_CMD} -e \
's|-Wno-unused-but-set-variable||' \
${WRKSRC}/src/actions/Makefile.am \
${WRKSRC}/src/actions/Makefile.in
@${REINPLACE_CMD} -e '/^pkgconfigdir/s|$$(libdir)|$$(prefix)/libdata|; \
s|libfm-gtk3.pc||' \
${WRKSRC}/Makefile.am
@${REINPLACE_CMD} -e '/libfm.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/libfm
${INSTALL_DATA} ${WRKSRC}/data/libfm.conf \
${STAGEDIR}${PREFIX}/etc/xdg/libfm/libfm.conf.sample
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>