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