69553e4f7c
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
67 lines
1.8 KiB
Makefile
67 lines
1.8 KiB
Makefile
# Created by: Kris Moore <kmoore@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libfm
|
|
PORTVERSION= 1.2.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= x11
|
|
MASTER_SITES= SF/pcmanfm/PCManFM%20%2B%20Libfm%20%28tarball%20release%29/libfm%20%28required%20by%20PCManFM%29/
|
|
|
|
MAINTAINER= horia@racoviceanu.com
|
|
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
|
|
|
|
USES= desktop-file-utils fam gmake pkgconfig shared-mime-info tar:xz
|
|
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>
|