2000-03-09 20:22:54 -05:00
|
|
|
# New ports collection makefile for: Seahorse
|
|
|
|
# Date created: 08 March 2000
|
|
|
|
# Whom: Dave McKay <dave@mu.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-09 14:34:06 -04:00
|
|
|
PORTNAME= seahorse
|
2005-05-07 16:30:20 -04:00
|
|
|
PORTVERSION= 0.7.8
|
2000-04-09 14:34:06 -04:00
|
|
|
CATEGORIES= security
|
2003-04-15 11:58:03 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
|
|
|
MASTER_SITE_SUBDIR=sources/${PORTNAME}/0.7
|
|
|
|
DIST_SUBDIR= gnome2
|
2000-03-09 20:22:54 -05:00
|
|
|
|
2005-05-04 09:36:51 -04:00
|
|
|
MAINTAINER= gnome@freebsd.org
|
2003-02-21 08:28:59 -05:00
|
|
|
COMMENT= A front end for GnuPG
|
2000-03-09 20:22:54 -05:00
|
|
|
|
2004-05-10 05:30:36 -04:00
|
|
|
BUILD_DEPENDS= gpg:${PORTSDIR}/security/gnupg
|
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
2004-12-21 19:06:01 -05:00
|
|
|
LIB_DEPENDS= gpgme.14:${PORTSDIR}/security/gpgme
|
2000-04-27 06:31:40 -04:00
|
|
|
|
2003-04-15 21:27:28 -04:00
|
|
|
USE_BZIP2= yes
|
2000-10-05 03:17:31 -04:00
|
|
|
USE_X_PREFIX= yes
|
2003-03-15 13:21:04 -05:00
|
|
|
USE_GMAKE= yes
|
2005-05-07 16:30:20 -04:00
|
|
|
USE_GNOME= gnomehack intlhack gnomeprefix libgnomeui
|
2004-12-21 19:06:01 -05:00
|
|
|
USE_LIBTOOL_VER=15
|
2003-11-17 07:03:17 -05:00
|
|
|
USE_REINPLACE= yes
|
2004-12-21 19:06:01 -05:00
|
|
|
INSTALLS_OMF= yes
|
2005-05-04 09:36:51 -04:00
|
|
|
INSTALLS_SHLIB= yes
|
2005-01-01 16:55:48 -05:00
|
|
|
CONFIGURE_ARGS= --disable-gpg-check
|
2000-10-05 03:17:31 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2004-12-21 19:06:01 -05:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2000-10-05 03:17:31 -04:00
|
|
|
|
2004-12-21 19:06:01 -05:00
|
|
|
GCONF_SCHEMAS= seahorse.schemas
|
2000-03-09 20:22:54 -05:00
|
|
|
|
2005-05-04 09:36:51 -04:00
|
|
|
OPTIONS= GEDIT "Enable the gedit plug-in" on \
|
|
|
|
NAUTILUS "Enable the Nautilus component" on \
|
2005-05-07 16:30:20 -04:00
|
|
|
LDAP "Enable LDAP support" on \
|
|
|
|
HKP "Enable HKP keyserver interface" on
|
2004-12-21 19:06:01 -05:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(WITH_GEDIT)
|
2005-01-24 18:36:14 -05:00
|
|
|
BUILD_DEPENDS+= gedit:${PORTSDIR}/editors/gedit
|
|
|
|
RUN_DEPENDS+= gedit:${PORTSDIR}/editors/gedit
|
2004-12-21 19:06:01 -05:00
|
|
|
PLIST_SUB+= GEDIT=""
|
2005-03-12 06:09:11 -05:00
|
|
|
GCONF_SCHEMAS+= seahorse-gedit.schemas
|
2004-12-21 19:06:01 -05:00
|
|
|
.else
|
|
|
|
PLIST_SUB+= GEDIT="@comment "
|
|
|
|
CONFIGURE_ARGS+=--disable-gedit
|
|
|
|
.endif
|
|
|
|
|
2005-05-04 09:36:51 -04:00
|
|
|
.if defined(WITH_NAUTILUS)
|
|
|
|
USE_GNOME+= nautilus2
|
|
|
|
PLIST_SUB+= NAUTILUS=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= NAUTILUS="@comment "
|
|
|
|
CONFIGURE_ARGS+=--disable-nautilus
|
|
|
|
.endif
|
|
|
|
|
2005-05-07 16:30:20 -04:00
|
|
|
.if !defined(WITHOUT_LDAP)
|
2005-05-04 09:36:51 -04:00
|
|
|
USE_OPENLDAP= yes
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-ldap
|
|
|
|
.endif
|
|
|
|
|
2005-05-07 16:30:20 -04:00
|
|
|
.if !defined(WITHOUT_HKP)
|
2005-05-07 20:56:05 -04:00
|
|
|
LIB_DEPENDS+= soup-2.2.7:${PORTSDIR}/devel/libsoup
|
2005-05-07 16:30:20 -04:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-hkp
|
|
|
|
.endif
|
|
|
|
|
2005-03-12 06:09:11 -05:00
|
|
|
post-install:
|
|
|
|
-@update-desktop-database
|
|
|
|
|
2004-12-21 19:06:01 -05:00
|
|
|
.include <bsd.port.post.mk>
|