freebsd-ports/x11-fm/gnome-commander2/Makefile

56 lines
1.5 KiB
Makefile
Raw Normal View History

2013-01-08 19:47:03 +01:00
# Created by: Edgardo Garcia Hoeffler <edybsd@yahoo.com.ar>
# $FreeBSD$
PORTNAME= gnome-commander
2015-06-17 00:21:25 +02:00
PORTVERSION= 1.4.7
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= x11-fm gnome
2014-06-17 17:48:23 +02:00
MASTER_SITES= GNOME/sources/gnome-commander/1.4
PKGNAMESUFFIX= 2
DIST_SUBDIR= gnome2
MAINTAINER= danilo@FreeBSD.org
COMMENT= File manager for Gnome2
2011-12-09 01:22:39 +01:00
LICENSE= GPLv2
2014-06-17 17:48:23 +02:00
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
2014-06-17 17:48:23 +02:00
INSTALL_TARGET= install-strip
INSTALLS_OMF= yes
2014-06-17 17:48:23 +02:00
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
2014-06-17 17:48:23 +02:00
CONFLICTS= gnome-commander-[0-9]*
2014-06-17 17:48:23 +02:00
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>