aboutsummaryrefslogtreecommitdiffstats
path: root/security/gpass/Makefile
blob: ada98217f6a834a8e84eb2a28fba8aa0d2efbdc5 (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
37
38
39
40
41
42
43
# New ports collection makefile for:    gpass
# Date created:     2006-07-24
# Whom:         ports@c0decafe.net <ports@c0decafe.net>
#
# $FreeBSD$
#

PORTNAME=   gpass
PORTVERSION=    0.5.1
PORTREVISION=   2
CATEGORIES= security gnome
MASTER_SITES=   http://projects.netlab.jp/gpass/release/

MAINTAINER= ports@c0decafe.net
COMMENT=    A password manager for GNOME2

LIB_DEPENDS=    mcrypt:${PORTSDIR}/security/mcrypt \
        mhash:${PORTSDIR}/security/mhash

USE_XLIB=   yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  LDFLAGS="-L${LOCALBASE}/lib -export-dynamic"
USE_GMAKE=  yes

MAN1=       gpass.1 gpass.ja.1 gpass-convert.1 gpass-convert.ja.1

USE_GNOME=  gnomehack gnomeprefix gtk20 libgnomeui intltool libglade2
GCONF_SCHEMAS=  gpass.schemas

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
BROKEN=     Does not compile
.endif

post-patch:
    @${REINPLACE_CMD} -e 's|{packageprefix}/share|{datadir}|g' \
        ${WRKSRC}/configure

post-install:
    @-update-desktop-database

.include <bsd.port.post.mk>