freebsd-ports/security/seahorse/Makefile
Joe Marcus Clarke e9e581f048 Use a LIB_DEPENDS to bring in the libsoup dependency. This will be changed
into a GNOME component after 5.4 is released.
2005-05-08 00:56:05 +00:00

77 lines
1.7 KiB
Makefile

# New ports collection makefile for: Seahorse
# Date created: 08 March 2000
# Whom: Dave McKay <dave@mu.org>
#
# $FreeBSD$
#
PORTNAME= seahorse
PORTVERSION= 0.7.8
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR=sources/${PORTNAME}/0.7
DIST_SUBDIR= gnome2
MAINTAINER= gnome@freebsd.org
COMMENT= A front end for GnuPG
BUILD_DEPENDS= gpg:${PORTSDIR}/security/gnupg
RUN_DEPENDS= ${BUILD_DEPENDS}
LIB_DEPENDS= gpgme.14:${PORTSDIR}/security/gpgme
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GNOME= gnomehack intlhack gnomeprefix libgnomeui
USE_LIBTOOL_VER=15
USE_REINPLACE= yes
INSTALLS_OMF= yes
INSTALLS_SHLIB= yes
CONFIGURE_ARGS= --disable-gpg-check
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
GCONF_SCHEMAS= seahorse.schemas
OPTIONS= GEDIT "Enable the gedit plug-in" on \
NAUTILUS "Enable the Nautilus component" on \
LDAP "Enable LDAP support" on \
HKP "Enable HKP keyserver interface" on
.include <bsd.port.pre.mk>
.if defined(WITH_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(WITH_NAUTILUS)
USE_GNOME+= nautilus2
PLIST_SUB+= NAUTILUS=""
.else
PLIST_SUB+= NAUTILUS="@comment "
CONFIGURE_ARGS+=--disable-nautilus
.endif
.if !defined(WITHOUT_LDAP)
USE_OPENLDAP= yes
.else
CONFIGURE_ARGS+=--disable-ldap
.endif
.if !defined(WITHOUT_HKP)
LIB_DEPENDS+= soup-2.2.7:${PORTSDIR}/devel/libsoup
.else
CONFIGURE_ARGS+=--disable-hkp
.endif
post-install:
-@update-desktop-database
.include <bsd.port.post.mk>