9dc4054971
- Update to 0.5.0 - Change maintainer email to @FreeBSD.org - Remove not needed patches x11/lxde-meta - Bump PORTREVISION - Change maintainer email to @FreeBSD.org - Add dependency for deskutils/lxshortcut - Add NO_MTREE=yes x11/libfm - Bump PORTREVISION - Support STAGEDIR - Preserve original *.conf files with stage x11-fm/pcmanfm - Bump PORTREVISION - Support STAGEDIR - Preserve original *.conf files x11/lxpanel - Bump PORTREVISION Approved by: wg/pawel (mentors)
59 lines
1.5 KiB
Makefile
59 lines
1.5 KiB
Makefile
# Created by: Kris Moore <kmoore@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libfm
|
|
PORTVERSION= 1.1.2.2
|
|
PORTREVISION= 1
|
|
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= valac:${PORTSDIR}/lang/vala
|
|
LIB_DEPENDS= libmenu-cache.so:${PORTSDIR}/x11/menu-cache \
|
|
libexif.so:${PORTSDIR}/graphics/libexif
|
|
|
|
USES= gmake pkgconfig
|
|
USE_GNOME= gnomehack gtk20
|
|
USE_AUTOTOOLS= libtool
|
|
CONFIGURE_ARGS+=--sysconfdir=${LOCALBASE}/etc
|
|
USE_FAM= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
OPTIONS_DEFINE= NLS
|
|
OPTIONS_SUB= yes
|
|
|
|
NLS_USES= gettext
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|-DG_DISABLE_DEPRECATED||g' \
|
|
${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 '/libfm.conf/,/pref-apps.conf/ d' ${WRKSRC}/data/Makefile.in
|
|
|
|
.if ! ${PORT_OPTIONS:MNLS}
|
|
@${REINPLACE_CMD} -e 's|src po|src|' \
|
|
${WRKSRC}/Makefile.in
|
|
.endif
|
|
|
|
pre-install:
|
|
@(cd ${WRKDIR}/libfm-${PORTVERSION} && ${CHMOD} 755 install-sh)
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/xdg/libfm
|
|
${INSTALL_DATA} ${WRKSRC}/data/libfm.conf \
|
|
${STAGEDIR}${PREFIX}/etc/xdg/libfm/libfm.conf.sample
|
|
${INSTALL_DATA} ${WRKSRC}/data/pref-apps.conf \
|
|
${STAGEDIR}${PREFIX}/etc/xdg/libfm/pref-apps.conf.sample
|
|
|
|
.include <bsd.port.mk>
|