aboutsummaryrefslogtreecommitdiffstats
path: root/security/fpm/Makefile
blob: 55b9f735fd79d2a8dc5f386440e9cde96370ce8d (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
45
# New ports collection makefile for:    fpm
# Date created:             10 June 2001
# Whom:                 Anders Nordby <anders@fix.no>
#
# $FreeBSD$
#

PORTNAME=   fpm
PORTVERSION=    0.60
CATEGORIES= security
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= anders@FreeBSD.org
COMMENT=    Figaro's Password Manager, an app to securely store your passwords

USE_GNOME=  gnomeprefix gnomehack gnomelibs
USE_X_PREFIX=   yes
USE_REINPLACE=  yes
GNU_CONFIGURE=  yes
#CONFIGURE_ARGS+=   --without-included-gettext
CONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

MAN1=       fpm.1
PORTDOCS=   AUTHORS ChangeLog README TODO
PLIST_FILES=    bin/fpm share/gnome/pixmaps/fpm/logo.xpm
PLIST_DIRS= share/gnome/pixmaps/fpm

pre-build:
    ${REINPLACE_CMD} -E -e "s@encrypt\(@bfishencrypt\(@g" ${WRKSRC}/src/blowfish.c

post-install:
.if !defined(NOPORTDOCS)
    ${INSTALL} -d -o root -g wheel -m 0755 ${PREFIX}/share/doc/fpm
.for f in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/fpm
.endfor
.endif
    @${ECHO} "========================================================================="
    @${ECHO} "Make sure you set up a few IRQ's for random generation with rndcontrol before"
    @${ECHO} "expecting password generation to work well."
    @${ECHO} "========================================================================="

.include <bsd.port.mk>