1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/security/seahorse-plugins/Makefile
Baptiste Daroussin 27df4afa35 Support stage
Switch to USES=libtool
2014-04-25 23:31:44 +00:00

81 lines
2.0 KiB
Makefile

# Created by: Dave McKay <dave@mu.org>
# $FreeBSD$
# $MCom: ports/security/seahorse-plugins/Makefile,v 1.28 2011/07/03 11:57:45 kwm Exp $
PORTNAME= seahorse-plugins
PORTVERSION= 2.30.1
PORTREVISION= 9
CATEGORIES= security gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= Plug-ins for the Seahorse key and password management application
LIB_DEPENDS= libcryptui.so:${PORTSDIR}/security/seahorse \
libgcrypt.so:${PORTSDIR}/security/libgcrypt
USES= pathfix gettext gmake libtool pkgconfig tar:bzip2 \
desktop-file-utils shared-mime-info
USE_GNOME= intlhack gnomeprefix gconf2 gnomedocutils
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
INSTALLS_OMF= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
CONFIGURE_ARGS= --disable-update-mime-database
OPTIONS_DEFINE= NAUTILUS GEDIT APPLET NOTIFY
OPTIONS_DEFAULT=NAUTILUS GEDIT APPLET NOTIFY
NAUTILUS_DESC= Nautilus component
GEDIT_DESC= GEdit plug-in support
APPLET_DESC= Clipboard encryption applet
GCONF_SCHEMAS= seahorse-plugins.schemas
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MGEDIT}
BUILD_DEPENDS+= gedit:${PORTSDIR}/editors/gedit
RUN_DEPENDS+= gedit:${PORTSDIR}/editors/gedit
PLIST_SUB+= GEDIT=""
GCONF_SCHEMAS+= seahorse-gedit.schemas
.else
PLIST_SUB+= GEDIT="@comment "
CONFIGURE_ARGS+=--disable-gedit
.endif
.if ${PORT_OPTIONS:MNAUTILUS}
USE_GNOME+= nautilus2
PLIST_SUB+= NAUTILUS=""
.else
PLIST_SUB+= NAUTILUS="@comment "
CONFIGURE_ARGS+=--disable-nautilus
.endif
CONFIGURE_ARGS+=--disable-epiphany
PLIST_SUB+= EPHY="@comment "
.if ${PORT_OPTIONS:MAPPLET}
USE_GNOME+= gnomepanel
PLIST_SUB+= APPLET=""
.else
CONFIGURE_ARGS+=--disable-applet
PLIST_SUB+= APPLET="@comment "
.endif
.if ${PORT_OPTIONS:MNOTIFY}
LIB_DEPENDS+= libnotify.so:${PORTSDIR}/devel/libnotify
.else
CONFIGURE_ARGS+=--disable-libnotify
.endif
post-patch:
@${REINPLACE_CMD} -e 's|" == "|" = "|g' \
-e 's|epiphany-2.24|epiphany-2.26|g' \
-e 's|2.24|2.26|g' \
${WRKSRC}/configure
.include <bsd.port.mk>