freebsd-ports/x11-fm/librfm/Makefile
Baptiste Daroussin 2c672a4de9 INSTALLS_ICONS: retire the macro and rework the related dependencies
While here, make sure gtk-update-icon-cache is only on run dependency
where added as a dependency
Enforce gtk3 to depend on gtk-update-icon-cache (previously it was
inheriting the dependency)
2021-10-10 21:44:42 +02:00

44 lines
991 B
Makefile

# Created by: Rodrigo Osorio <rodrigo@freebsd.org>
PORTNAME= librfm
PORTVERSION= 5.3.16.4
PORTREVISION= 1
CATEGORIES= x11-fm
MASTER_SITES= SF/xffm/5.3.16.3
DISTNAME= ${PORTNAME}5-${PORTVERSION}
MAINTAINER= rodrigo@FreeBSD.org
COMMENT= Basic library used by some rfm applications
LICENSE= GPLv3
BUILD_DEPENDS= gawk:lang/gawk
LIB_DEPENDS= libtubo.so:x11-fm/libtubo \
libdbh.so:databases/dbh \
libzip.so:archivers/libzip \
libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2
OPTIONS_DEFINE= NLS
CONFIGURE_ARGS+=--with-pkglibdata
USES= autoreconf gettext gnome gmake libtool:keepla pkgconfig \
tar:bzip2 xorg
GNU_CONFIGURE= yes
USE_GNOME= gtk20 intltool cairo libxml2 librsvg2
USE_XORG+= x11
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
WRKSRC= ${WRKDIR}/${PORTNAME}5-${PORTVERSION}
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
PLIST_SUB+= NLS=""
.else
PLIST_SUB+= NLS="@comment "
CONFIGURE_ARGS+=--disable-nls
.endif
.include <bsd.port.mk>