aboutsummaryrefslogtreecommitdiffstats
path: root/security/gtkpasman/Makefile
blob: 5003adac89a51ebc9a6d046e516da1b2c5b82956 (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:    gtkpasman
# Date created:             25 Aug 2004
# Whom:                 Philippe Rocques
#
# $FreeBSD$
#

PORTNAME=   gtkpasman
PORTVERSION=    0.5
PORTREVISION=   1
CATEGORIES= security
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= phil@teaser.fr
COMMENT=    A GTK+ passwords manager for system and network administrators

DOCS=       README src/gpasman4.sample

RUN_DEPENDS+=   gpg:${PORTSDIR}/security/gnupg
BUILD_DEPENDS+= gdk-pixbuf-config:${PORTSDIR}/graphics/gdk-pixbuf

USE_X_PREFIX=   yes
USE_GMAKE=  yes
USE_GNOME=  gtk12
GNU_CONFIGURE=  yes

PKGMESSAGE= ${WRKDIR}/pkg-message

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/src/gtkpasman ${PREFIX}/bin
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_MAN} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif

.for text in pkg-message
    @${SED} -e 's,%%PREFIX%%,${PREFIX},g' \
    ${PKGDIR}/${text} >${WRKDIR}/${text}
.endfor

    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>