aboutsummaryrefslogtreecommitdiffstats
path: root/security/mypasswordsafe/Makefile
blob: b330c8e1bced7f6c8c46ccca8b5665be0aff5196 (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
# New ports collection makefile for:    mypasswordsafe
# Date created:             2006-11-26
# Whom:                 alepulver
#
# $FreeBSD$
#

PORTNAME=   MyPasswordSafe
PORTVERSION=    20061216
PORTREVISION=   2
CATEGORIES= security
MASTER_SITES=   http://www.semanticgap.com/myps/release/
EXTRACT_SUFX=   .src.tgz

MAINTAINER= alepulver@FreeBSD.org
COMMENT=    Easy-to-use password manager compatible with Password Safe

BUILD_DEPENDS=  qmake:${PORTSDIR}/devel/qmake

USE_GMAKE=  yes
USE_QT_VER= 3
MAKE_ENV=   QTDIR="${QT_PREFIX}" \
        QMAKESPEC="${LOCALBASE}/share/qt/mkspecs/freebsd-g++"

post-patch:
    @${REINPLACE_CMD} -Ee 's|(USER=)\$$\(USER\)|\1$$(shell whoami)|' \
        ${WRKSRC}/${MAKEFILE}
.if defined(NOPORTDOCS)
    @${REINPLACE_CMD} -e '63s|\\||; 64d; 67,68d' ${WRKSRC}/${MAKEFILE}
.endif

.include <bsd.port.mk>