freebsd-ports/x11-fm/gnome-commander2/Makefile
Koop Mast d138701abc Part 2 of adding USE_GNOME=intltool to ports that require it.
The reason for this is that in the GNOME 3.16 update, USE_GNOME gtk20 and
gtk30 don't pull intltool in anymore.

PR:		201980
Exp-run by:	antoine@
2015-08-05 07:39:47 +00:00

55 lines
1.5 KiB
Makefile

# Created by: Edgardo Garcia Hoeffler <edybsd@yahoo.com.ar>
# $FreeBSD$
PORTNAME= gnome-commander
PORTVERSION= 1.4.7
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= x11-fm gnome
MASTER_SITES= GNOME/sources/gnome-commander/1.4
PKGNAMESUFFIX= 2
DIST_SUBDIR= gnome2
MAINTAINER= danilo@FreeBSD.org
COMMENT= File manager for Gnome2
LICENSE= GPLv2
LIB_DEPENDS= libunique-1.0.so:${PORTSDIR}/x11-toolkits/unique
RUN_DEPENDS= meld:${PORTSDIR}/textproc/meld \
yelp:${PORTSDIR}/x11/yelp
USES= gettext gmake libtool pathfix pkgconfig python tar:xz
USE_GNOME= gnomedocutils gnomeprefix gnomevfs2 intltool libgnomeui
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
INSTALLS_OMF= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFLICTS= gnome-commander-[0-9]*
OPTIONS_DEFINE= CHM EXIV2 GSF POPPLER TAGLIB
OPTIONS_DEFAULT= CHM EXIV2 GSF POPPLER TAGLIB
CHM_DESC= CHM support via chmlib
CHM_LIB_DEPENDS= libchm.so:${PORTSDIR}/misc/chmlib
CHM_CONFIGURE_WITH= libchm
EXIV2_LIB_DEPENDS= libexiv2.so:${PORTSDIR}/graphics/exiv2
EXIV2_CONFIGURE_WITH= exiv2
GSF_DESC= OLE and ODF support via libgsf
GSF_LIB_DEPENDS= libgsf-1.so:${PORTSDIR}/devel/libgsf
GSF_CONFIGURE_WITH= libgsf
POPPLER_LIB_DEPENDS= libpoppler-glib.so:${PORTSDIR}/graphics/poppler-glib
POPPLER_CONFIGURE_WITH= poppler
TAGLIB_DESC= Audio metadata support via taglib
TAGLIB_LIB_DEPENDS= libtag.so:${PORTSDIR}/audio/taglib
TAGLIB_CONFIGURE_WITH= taglib
post-patch:
@${REINPLACE_CMD} -e \
's|="-lpython|="-L$$PY_EXEC_PREFIX/lib -lpython|' \
${WRKSRC}/configure
.include <bsd.port.mk>