aboutsummaryrefslogblamecommitdiff
path: root/security/seahorse/Makefile
blob: f879683460d7fc72c972c265720bfe99861c74c4 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                




                                                
 
                        
                     
                 
                        


                                          
 
                             
                                     
 

                                              
                                                   
 
                   
                   
                   

                                                   
                   
                   
                                   
                                                   
                                            
 
                                
 




                                                   

                                               
                        



                                                         




                                 


                                 
                           
# New ports collection makefile for:	Seahorse
# Date created:		08 March 2000
# Whom:			Dave McKay <dave@mu.org>
#
# $FreeBSD$
#

PORTNAME=	seahorse
PORTVERSION=	0.7.6
PORTREVISION=	1
CATEGORIES=	security
MASTER_SITES=	${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR=sources/${PORTNAME}/0.7
DIST_SUBDIR=	gnome2

MAINTAINER=	asa@agava.com
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 eel2
USE_LIBTOOL_VER=15
USE_REINPLACE=	yes
INSTALLS_OMF=	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

.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
post-patch:
	@${REINPLACE_CMD} -e "s|gedit-2.8|gedit-2.10|g" \
		${WRKSRC}/configure
.else
PLIST_SUB+=	GEDIT="@comment "
CONFIGURE_ARGS+=--disable-gedit
.endif

post-install:
	-@update-desktop-database

.include <bsd.port.post.mk>