aboutsummaryrefslogtreecommitdiffstats
path: root/security/seahorse/Makefile
blob: 44fde7d6350db182757c2dc0c0a14e529304387f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# New ports collection makefile for:    Seahorse
# Date created:     08 March 2000
# Whom:         Dave McKay <dave@mu.org>
#
# $FreeBSD$
#

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

MAINTAINER= asa@gascom.ru
COMMENT=    A front end for GnuPG

RUN_DEPENDS=    gpg:${PORTSDIR}/security/gnupg
LIB_DEPENDS=    gpgme.9:${PORTSDIR}/security/gpgme

USE_BZIP2=  yes
USE_X_PREFIX=   yes
USE_GMAKE=  yes
USE_GNOME=  gnomehack gnomeprefix eel2
USE_LIBTOOL=    yes
USE_REINPLACE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LIBS="-L${LOCALBASE}/lib"

post-patch:
    @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
        s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
    @${CP} ${WRKSRC}/data/seahorse.schemas.in ${WRKSRC}/data/seahorse.schemas

.include <bsd.port.mk>