freebsd-ports/security/seahorse-plugins/Makefile
Beat Gaetzi 734349b51e - Move libxul 1.9.2 to www/libxul19
- Update www/libxul to 10.0.7
- Update all dependent ports to use www/libxul19 (no functional changes)
- Bump PORTREVISION on ports where libxul is a run dependency as the
  resulting package will change.

Submitted by:	Jan Beich <jbeich@tormail.org>
With hat:	gecko
2012-09-10 19:19:32 +00:00

101 lines
2.4 KiB
Makefile

# New ports collection makefile for: seahorse-plugins
# Date created: 06 August 2008
# Whom: 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= 7
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= cryptui.0:${PORTSDIR}/security/seahorse \
gcrypt.18:${PORTSDIR}/security/libgcrypt
USE_BZIP2= yes
USE_GETTEXT= yes
USE_GMAKE= yes
#USE_GECKO= libxul19
USE_GNOME= gnomehack intlhack gnomeprefix gconf2 gnomedocutils
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
INSTALLS_OMF= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS= NAUTILUS "Enable the Nautilus component" on \
GEDIT "Enable GEdit plug-in support" on \
APPLET "Enable clipboard encryption applet" on \
NOTIFY "Enable libnotify support" on
#EPIPHANY "Enable Epiphany plug-in support" on
GCONF_SCHEMAS= seahorse-plugins.schemas
MAN1= seahorse-agent.1 seahorse-tool.1
.include <bsd.port.pre.mk>
#.if ${GECKO}=="libxul"
#CONFIGURE_ARGS+=--with-gecko=libxul-unstable
#.else
#CONFIGURE_ARGS+=--with-gecko=${GECKO:S/19//}
#.endif
.if !defined(WITHOUT_GEDIT)
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 !defined(WITHOUT_NAUTILUS)
USE_GNOME+= nautilus2
PLIST_SUB+= NAUTILUS=""
.else
PLIST_SUB+= NAUTILUS="@comment "
CONFIGURE_ARGS+=--disable-nautilus
.endif
#.if !defined(WITHOUT_EPIPHANY)
#BUILD_DEPENDS+= epiphany:${PORTSDIR}/www/epiphany
#RUN_DEPENDS+= epiphany:${PORTSDIR}/www/epiphany
#PLIST_SUB+= EPIPHANY="" EPHY_VERSION="2.26"
#.else
CONFIGURE_ARGS+=--disable-epiphany
PLIST_SUB+= EPHY="@comment "
#.endif
.if !defined(WITHOUT_APPLET)
USE_GNOME+= gnomepanel
PLIST_SUB+= APPLET=""
.else
CONFIGURE_ARGS+=--disable-applet
PLIST_SUB+= APPLET="@comment "
.endif
.if !defined(WITHOUT_NOTIFY)
LIB_DEPENDS+= notify.4:${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
post-install:
@-update-desktop-database
@-update-mime-database ${PREFIX}/share/mime
.include <bsd.port.post.mk>