aboutsummaryrefslogtreecommitdiffstats
path: root/security/gringotts/Makefile
blob: 5f19ce3ea5c51a9973e4b64f1593286885bf0764 (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
44
# New ports collection makefile for:    gringotts
# Date created:             02 July 2002
# Whom:                 Anders Nordby <anders@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   gringotts
PORTVERSION=    1.2.10
PORTREVISION=   3
CATEGORIES= security
MASTER_SITES=   BERLIOS

MAINTAINER= ports@FreeBSD.org
COMMENT=    GTK application to securely store sensitive data

LIB_DEPENDS=    popt.0:${PORTSDIR}/devel/popt \
        gringotts.2:${PORTSDIR}/security/libgringotts

USE_GNOME=  gtk20
GNU_CONFIGURE=  yes

CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

post-patch:
    @${REINPLACE_CMD} -e \
        '/^install-data-am:/s|install-DsktpDATA|| ; \
         /^install-data-am:/s|install-docDATA|| ; \
         s|@md5sum|@md5|' ${WRKSRC}/Makefile.in
    @${REINPLACE_CMD} -e \
        '/^install-exec-am:/s|install-exec-local||' ${WRKSRC}/src/Makefile.in

post-install:
    @${MKDIR} ${PREFIX}/share/applications
    ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${PREFIX}/share/applications
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for file in AUTHORS BUGS ChangeLog FAQ NEWS README TODO
    ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>